The Computer Language
Benchmarks Game

Node.js programs versus Python 3

by benchmark task performance

spectral-norm
source secs mem gz cpu cpu load
Node.js 15.79 24,392 413 15.78 0% 1% 0% 100%
Python 3 1,105.41 7,120 328 1,105.02 1% 0% 0% 100%
fannkuch-redux
source secs mem gz cpu cpu load
Node.js 78.68 22,304 473 78.65 0% 1% 1% 100%
Python 3 2,464.08 44,564 944 2,463.20 1% 0% 0% 100%
n-body
source secs mem gz cpu cpu load
Node.js 38.34 22,660 1297 38.32 1% 4% 1% 100%
Python 3 1,024.87 6,324 1228 1,024.54 1% 0% 1% 100%
binary-trees
source secs mem gz cpu cpu load
Node.js 47.30 479,436 477 47.21 0% 1% 1% 100%
Python 3 497.80 482,656 596 497.40 1% 1% 1% 100%
mandelbrot
source secs mem gz cpu cpu load
Node.js 122.11 815,576 778 122.00 1% 1% 1% 100%
Python 3 1,209.01 40,500 686 1,208.52 1% 0% 1% 100%
fasta
source secs mem gz cpu cpu load
Node.js 14.30 26,108 1101 14.29 1% 1% 0% 100%
Python 3 122.25 6,508 977 122.19 1% 1% 1% 100%
k-nucleotide
source secs mem gz cpu cpu load
Node.js 194.10 1,570,816 904 140.97 1% 1% 1% 100%
Python 3 317.42 219,028 1937 317.16 0% 1% 1% 100%
reverse-complement
source secs mem gz cpu cpu load
Node.js 3.92 280,384 1088 3.91 1% 1% 1% 100%
Python 3 5.54 262,360 800 5.53 1% 1% 1% 100%
pidigits
source secs mem gz cpu cpu load
Node.js   Bad Output
Python 3 0.58 ? 382 ? 0% 100% 0% 100%
Node.js

v6.9.0

Python 3

Python 3.5.0 (default, Sep 14 2015, 09:36:50) [GCC 4.9.2] on linux