The Q6600
Benchmarks Game

Node js versus C++ g++ fastest programs

Always look at the source code.

These are only the fastest programs. Look at the other programs. They may seem more-like a fair comparison to you.

pidigits
source secs mem gz busy cpu load
Node js 2.58 36,368 599 2.97 100% 6% 7% 2%
C++ g++ 1.82 4,312 513 1.87 1% 1% 2% 100%
fannkuch-redux
source secs mem gz busy cpu load
Node js 19.48 58,152 1313 77.05 99% 99% 99% 99%
C++ g++ 10.71 1,708 980 42.33 100% 96% 100% 100%
reverse-complement
source secs mem gz busy cpu load
Node js 4.10 1,340,368 1480 8.58 52% 56% 73% 28%
C++ g++ 1.89 499,672 2093 1.94 100% 2% 1% 1%
spectral-norm
source secs mem gz busy cpu load
Node js 4.40 61,768 999 16.63 93% 97% 95% 93%
C++ g++ 1.99 2,408 1044 7.89 99% 99% 99% 99%
fasta
source secs mem gz busy cpu load
Node js 3.62 67,488 2047 10.61 72% 75% 72% 74%
C++ g++ 1.46 2,024 2711 4.40 75% 76% 75% 76%
n-body
source secs mem gz busy cpu load
Node js 26.28 35,412 1268 28.03 2% 0% 4% 100%
C++ g++ 7.70 1,612 1879 7.81 100% 0% 1% 1%
mandelbrot
source secs mem gz busy cpu load
Node js 6.84 88,016 1122 26.99 98% 98% 99% 98%
C++ g++ 1.51 26,256 1791 6.01 100% 99% 99% 99%
binary-trees
source secs mem gz busy cpu load
Node js 19.22 1,000,628 711 61.94 80% 82% 82% 79%
C++ g++ 3.96 113,236 809 12.86 74% 84% 98% 69%
regex-redux
source secs mem gz busy cpu load
Node js 9.53 756,856 668 12.74 71% 24% 13% 26%
C++ g++ 1.86 203,856 1315 4.49 99% 50% 48% 44%
k-nucleotide
source secs mem gz busy cpu load
Node js 26.32 397,472 1812 77.28 74% 71% 62% 87%
C++ g++ 3.88 156,164 1631 12.09 72% 92% 71% 77%
Node js

v14.2.0

C++ g++

g++ (Ubuntu 9.3.0-10ubuntu2) 9.3.0