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,976 603 2.04 1% 0% 100% 0%
Node js 14.47 62,316 530 14.53 13% 1% 1% 87%
fasta
source secs mem gz cpu cpu load
Go 2.07 3,168 1358 5.87 39% 83% 84% 79%
Node js 9.43 36,744 1785 9.48 93% 8% 0% 0%
fannkuch-redux
source secs mem gz cpu cpu load
Go 17.82 1,472 900 71.03 100% 100% 100% 100%
Node js 80.78 31,176 473 80.76 0% 0% 1% 100%
reverse-complement
source secs mem gz cpu cpu load
Go 4.00 824,412 611 4.15 86% 14% 5% 1%
Node js 16.92 707,536 1103 18.45 19% 41% 5% 45%
k-nucleotide
source secs mem gz cpu cpu load
Go 15.36 148,056 1722 54.61 77% 96% 95% 88%
Node js 62.94 1,858,960 935 133.33 84% 76% 78% 70%
spectral-norm
source secs mem gz cpu cpu load
Go 3.95 2,412 548 15.70 100% 99% 99% 99%
Node js 15.80 31,296 381 15.80 1% 0% 0% 100%
mandelbrot
source secs mem gz cpu cpu load
Go 5.47 31,280 905 21.73 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.00 1,532 1200 21.00 1% 0% 0% 100%
Node js 26.35 33,228 1297 26.35 1% 0% 100% 0%
binary-trees
source secs mem gz cpu cpu load
Go 28.90 471,068 654 110.50 96% 95% 95% 97%
Node js 23.46 355,612 431 39.77 68% 33% 37% 33%
regex-redux
source secs mem gz cpu cpu load
Go 28.69 407,444 802 60.43 46% 51% 68% 46%
Node js 11.85 884,848 408 12.70 71% 23% 12% 3%
Go

go version go1.11 linux/amd64

Node js

v10.7.0