The Computer Language
Benchmarks Game

Erlang HiPE programs versus Node.js

by benchmark task performance

binary-trees
source secs mem gz cpu cpu load
Erlang HiPE 7.63 399,604 478 23.32 71% 77% 85% 73%
Node.js 45.39 658,324 440 81.91 37% 39% 59% 46%
spectral-norm
source secs mem gz cpu cpu load
Erlang HiPE 15.75 30,428 747 61.95 99% 99% 99% 98%
Node.js 15.79 31,900 381 15.79 100% 1% 0% 0%
fannkuch-redux
source secs mem gz cpu cpu load
Erlang HiPE 103.25 20,880 1038 398.40 97% 94% 100% 99%
Node.js 89.63 30,960 473 89.61 0% 100% 0% 1%
k-nucleotide
source secs mem gz cpu cpu load
Erlang HiPE 113.83 798,548 937 323.77 83% 67% 69% 70%
Node.js 61.24 1,739,992 935 137.09 80% 75% 95% 71%
reverse-complement
source secs mem gz cpu cpu load
Erlang HiPE 11.34 955,484 1302 27.14 48% 62% 77% 54%
Node.js 4.14 243,736 1103 4.40 26% 21% 7% 53%
fasta
source secs mem gz cpu cpu load
Erlang HiPE 27.90 21,756 1164 29.15 2% 1% 47% 54%
Node.js 9.80 34,804 1785 9.82 100% 1% 0% 0%
mandelbrot
source secs mem gz cpu cpu load
Erlang HiPE 119.91 749,356 613 475.39 99% 99% 99% 99%
Node.js 17.72 613,608 748 63.70 85% 94% 99% 83%
n-body
source secs mem gz cpu cpu load
Erlang HiPE 187.50 21,696 1399 187.50 45% 56% 0% 0%
Node.js 26.61 33,152 1297 26.61 100% 0% 0% 1%
regex-redux
source secs mem gz cpu cpu load
Erlang HiPE   Bad Output
Node.js 0.13 ? 432 0.13 100% 7% 0% 0%
pidigits
source secs mem gz cpu cpu load
Erlang HiPE 0.60 21,520 512 0.86 83% 30% 13% 22%
Node.js   Bad Output
Erlang HiPE

Erlang/OTP 20 [erts-9.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false]

Node.js

v9.4.0