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.02 9,256 603 2.02 0% 0% 100% 0%
Node js 14.47 62,316 530 14.53 13% 1% 1% 87%
fannkuch-redux
source secs mem gz cpu cpu load
Go 14.72 1,540 900 58.65 100% 100% 99% 100%
Node js 80.78 31,176 473 80.76 0% 0% 1% 100%
k-nucleotide
source secs mem gz cpu cpu load
Go 12.77 148,052 1722 47.35 87% 97% 94% 95%
Node js 62.94 1,858,960 935 133.33 84% 76% 78% 70%
fasta
source secs mem gz cpu cpu load
Go 2.08 3,640 1358 5.69 84% 66% 70% 56%
Node js 9.43 36,744 1785 9.48 93% 8% 0% 0%
reverse-complement
source secs mem gz cpu cpu load
Go 4.00 824,356 611 4.16 1% 35% 68% 2%
Node js 16.92 707,536 1103 18.45 19% 41% 5% 45%
spectral-norm
source secs mem gz cpu cpu load
Go 3.94 2,344 548 15.71 100% 100% 100% 100%
Node js 15.80 31,296 381 15.80 1% 0% 0% 100%
mandelbrot
source secs mem gz cpu cpu load
Go 5.48 30,912 905 21.79 99% 99% 99% 100%
Node js 18.04 612,540 748 64.71 98% 84% 97% 80%
n-body
source secs mem gz cpu cpu load
Go 21.37 1,536 1310 21.38 0% 0% 100% 0%
Node js 26.35 33,228 1297 26.35 1% 0% 100% 0%
binary-trees
source secs mem gz cpu cpu load
Go 28.80 434,632 654 109.58 94% 95% 95% 97%
Node js 23.78 360,508 431 39.61 32% 46% 60% 30%
regex-redux
source secs mem gz cpu cpu load
Go 28.43 353,880 802 59.89 49% 44% 69% 49%
Node js 11.85 884,848 408 12.70 71% 23% 12% 3%
Go

go version go1.10 linux/amd64

Node js

v10.7.0