The Computer Language
Benchmarks Game

Go versus Node js fastest programs

by faster benchmark performance

k-nucleotide
source secs mem gz cpu cpu load
Go 12.09 158,320 1607 45.00 94% 92% 95% 92%
Node js 64.56 1,819,728 935 137.90 69% 74% 92% 76%
fannkuch-redux
source secs mem gz cpu cpu load
Go 17.82 1,472 900 71.02 100% 100% 100% 100%
Node js 80.97 30,924 473 80.95 0% 100% 1% 0%
fasta
source secs mem gz cpu cpu load
Go 2.07 2,620 1358 5.86 84% 84% 61% 57%
Node js 9.15 37,052 1785 9.20 27% 0% 1% 74%
reverse-complement
source secs mem gz cpu cpu load
Go 4.00 826,728 611 4.16 86% 1% 14% 6%
Node js 16.61 708,876 1103 18.16 11% 54% 14% 31%
spectral-norm
source secs mem gz cpu cpu load
Go 3.98 2,656 548 15.72 99% 99% 99% 99%
Node js 15.81 31,780 381 15.81 2% 100% 1% 2%
mandelbrot
source secs mem gz cpu cpu load
Go 5.47 31,004 905 21.73 100% 99% 99% 99%
Node js 18.21 605,668 748 65.22 84% 82% 96% 97%
n-body
source secs mem gz cpu cpu load
Go 21.00 1,536 1200 21.00 0% 100% 0% 1%
Node js 26.31 33,476 1297 26.30 0% 0% 1% 100%
binary-trees
source secs mem gz cpu cpu load
Go 28.82 463,464 654 109.73 97% 95% 95% 94%
Node js 23.87 355,268 431 39.40 36% 30% 72% 35%
regex-redux
source secs mem gz cpu cpu load
Go 28.99 338,504 802 60.81 54% 48% 68% 40%
Node js 12.05 854,584 408 12.87 29% 47% 21% 12%
pidigits
source secs mem gz cpu cpu load
Go 0.44 ? 733 ? 80% 71% 5% 0%
Node js   Bad Output
Go

go version go1.11 linux/amd64

Node js

v11.9.0