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 4.95 290,556 473 15.10 75% 74% 80% 78%
Java 8.34 893,008 835 28.20 87% 79% 96% 81%
spectral-norm
source secs mem gz cpu cpu load
Erlang HiPE 15.75 30,428 747 61.95 99% 99% 99% 98%
Java 4.23 34,472 950 16.27 96% 97% 97% 96%
pidigits
source secs mem gz cpu cpu load
Erlang HiPE 14.65 46,412 512 17.61 12% 27% 5% 77%
Java 3.12 36,788 938 3.31 6% 3% 4% 96%
fannkuch-redux
source secs mem gz cpu cpu load
Erlang HiPE 103.25 20,880 1038 398.40 97% 94% 100% 99%
Java 17.26 32,116 1282 67.75 98% 99% 97% 99%
n-body
source secs mem gz cpu cpu load
Erlang HiPE 187.50 21,696 1399 187.50 45% 56% 0% 0%
Java 22.10 33,136 1429 22.20 31% 1% 1% 70%
reverse-complement
source secs mem gz cpu cpu load
Erlang HiPE 11.34 955,484 1302 27.14 48% 62% 77% 54%
Java 1.03 191,064 2183 2.31 52% 57% 43% 74%
fasta
source secs mem gz cpu cpu load
Erlang HiPE 27.90 21,756 1164 29.15 2% 1% 47% 54%
Java 2.33 43,924 2473 6.07 53% 71% 63% 74%
k-nucleotide
source secs mem gz cpu cpu load
Erlang HiPE 113.83 798,548 937 323.77 83% 67% 69% 70%
Java 8.70 375,568 1812 27.17 80% 72% 74% 88%
mandelbrot
source secs mem gz cpu cpu load
Erlang HiPE 119.91 749,356 613 475.39 99% 99% 99% 99%
Java 6.04 76,528 796 23.34 98% 97% 97% 97%
regex-redux
source secs mem gz cpu cpu load
Erlang HiPE   Bad Output
Java 0.62 45,052 929 1.84 86% 66% 72% 75%
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]

Java

java 9.0.1
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)