The Computer Language
Benchmarks Game

Go versus Node js fastest programs

by faster benchmark performance

pidigits
source secs mem gz cpu cpu load
Go 2.04 8,380 603 2.04 2% 1% 1% 100%
Node js 14.27 63,108 530 14.34 65% 1% 1% 36%
k-nucleotide
source secs mem gz cpu cpu load
Go 12.58 148,112 1590 47.16 95% 90% 95% 96%
Node js 64.78 1,822,300 935 137.52 95% 70% 78% 69%
fannkuch-redux
source secs mem gz cpu cpu load
Go 17.82 1,472 900 71.02 100% 100% 100% 100%
Node js 80.72 30,912 473 80.70 49% 0% 1% 51%
fasta
source secs mem gz cpu cpu load
Go 2.07 2,620 1358 5.86 84% 84% 61% 57%
Node js 9.24 36,192 1785 9.28 0% 0% 1% 100%
reverse-complement
source secs mem gz cpu cpu load
Go 4.00 826,728 611 4.16 86% 1% 14% 6%
Node js 16.41 709,792 1103 17.86 34% 8% 38% 29%
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,788 381 15.80 0% 1% 100% 0%
mandelbrot
source secs mem gz cpu cpu load
Go 5.47 31,004 905 21.73 100% 99% 99% 99%
Node js 18.18 632,008 748 65.32 88% 94% 95% 83%
n-body
source secs mem gz cpu cpu load
Go 21.00 1,536 1200 21.00 0% 100% 0% 1%
Node js 26.28 33,292 1297 26.28 0% 0% 100% 0%
binary-trees
source secs mem gz cpu cpu load
Go 28.82 463,464 654 109.73 97% 95% 95% 94%
Node js 23.78 346,456 431 39.43 46% 35% 28% 58%
regex-redux
source secs mem gz cpu cpu load
Go 28.99 338,504 802 60.81 54% 48% 68% 40%
Node js 11.98 849,192 408 12.82 17% 37% 3% 52%
Go

go version go1.11 linux/amd64

Node js

v11.3.0