The Computer Language
Benchmarks Game

Erlang HiPE programs versus Java

by benchmark task performance

binary-trees
source secs mem gz cpu cpu load
Erlang HiPE 8.05 571,444 478 27.34 96% 81% 81% 84%
Java 11.26 593,156 835 39.02 85% 88% 90% 88%
spectral-norm
source secs mem gz cpu cpu load
Erlang HiPE 18.00 35,760 747 70.43 98% 98% 98% 98%
Java 4.29 29,884 950 16.56 96% 97% 99% 95%
pidigits
source secs mem gz cpu cpu load
Erlang HiPE 16.00 38,356 512 18.67 3% 36% 4% 76%
Java 3.06 31,760 938 3.16 6% 3% 97% 1%
fannkuch-redux
source secs mem gz cpu cpu load
Erlang HiPE 117.45 22,708 1038 460.48 98% 100% 97% 97%
Java 13.74 30,368 1282 54.12 100% 98% 98% 99%
n-body
source secs mem gz cpu cpu load
Erlang HiPE 205.63 24,960 1399 205.62 13% 87% 0% 1%
Java 21.54 27,092 1489 21.56 1% 1% 100% 1%
reverse-complement
source secs mem gz cpu cpu load
Erlang HiPE 10.86 855,552 1302 27.02 59% 63% 79% 50%
Java 1.10 345,352 1661 2.40 33% 82% 53% 54%
fasta
source secs mem gz cpu cpu load
Erlang HiPE 32.24 29,896 1164 33.77 3% 72% 30% 1%
Java 2.13 36,036 2457 5.66 94% 58% 59% 60%
mandelbrot
source secs mem gz cpu cpu load
Erlang HiPE 127.17 1,303,564 613 500.64 98% 99% 99% 99%
Java 7.10 90,588 796 27.92 99% 99% 98% 98%
k-nucleotide
source secs mem gz cpu cpu load
Erlang HiPE 163.56 1,077,148 932 438.08 51% 57% 99% 64%
Java 7.93 465,372 1802 25.11 75% 75% 75% 93%
regex-redux
source secs mem gz cpu cpu load
Erlang HiPE   Bad Output
Java 0.56 39,104 929 1.57 72% 71% 75% 71%
Erlang HiPE

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

Java

java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)