The Computer Language
Benchmarks Game

Go versus Node js fastest programs

by faster benchmark performance

fannkuch-redux
source secs mem gz cpu cpu load
Go 14.72 1,540 900 58.65 100% 100% 99% 100%
Node js 80.68 31,488 473 80.66 0% 57% 43% 0%
k-nucleotide
source secs mem gz cpu cpu load
Go 12.77 148,052 1722 47.35 87% 97% 94% 95%
Node js 66.72 1,790,732 935 148.98 71% 98% 80% 73%
fasta
source secs mem gz cpu cpu load
Go 2.08 3,640 1358 5.69 84% 66% 70% 56%
Node js 9.28 37,104 1785 9.33 0% 100% 1% 0%
reverse-complement
source secs mem gz cpu cpu load
Go 4.00 824,356 611 4.16 1% 35% 68% 2%
Node js 17.37 708,968 1103 18.90 23% 24% 56% 7%
spectral-norm
source secs mem gz cpu cpu load
Go 3.94 2,344 548 15.71 100% 100% 100% 100%
Node js 15.81 31,964 381 15.81 100% 1% 0% 0%
mandelbrot
source secs mem gz cpu cpu load
Go 5.48 30,912 905 21.79 99% 99% 99% 100%
Node js 17.88 620,584 748 64.33 99% 98% 82% 82%
binary-trees
source secs mem gz cpu cpu load
Go 28.80 434,632 654 109.58 94% 95% 95% 97%
Node js 45.41 663,104 440 95.93 43% 80% 45% 45%
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 34,068 1297 26.35 100% 0% 0% 0%
regex-redux
source secs mem gz cpu cpu load
Go 28.21 323,820 802 59.87 69% 46% 50% 48%
Node js 11.18 847,584 408 11.90 11% 9% 76% 12%
pidigits
source secs mem gz cpu cpu load
Go 0.13 ? 603 0.13 0% 7% 0% 93%
Node js   Failed
Go

go version go1.10 linux/amd64

Node js

v10.0.0