The Computer Language
Benchmarks Game

Erlang HiPE programs versus Java

by benchmark task performance

regex-dna
secs KB gz cpu cpu load
Erlang HiPE 10.42 383,644 1058 35.91 88% 82% 90% 85%
Java 8.24 761,724 929 24.70 68% 73% 77% 83%
binary-trees
secs KB gz cpu cpu load
Erlang HiPE 18.93 1,013,732 499 69.05 97% 90% 90% 90%
Java 6.20 524,828 926 20.90 87% 91% 82% 80%
spectral-norm
secs KB gz cpu cpu load
Erlang HiPE 18.39 28,684 747 71.12 96% 97% 97% 97%
Java 4.28 32,696 950 16.53 96% 96% 96% 99%
pidigits
secs KB gz cpu cpu load
Erlang HiPE 15.89 36,164 512 17.32 82% 14% 8% 7%
Java 3.12 33,528 938 3.22 3% 2% 80% 21%
fannkuch-redux
secs KB gz cpu cpu load
Erlang HiPE 119.29 20,340 1038 470.74 100% 99% 98% 99%
Java 17.41 33,032 1282 68.64 98% 98% 99% 99%
reverse-complement
secs KB gz cpu cpu load
Erlang HiPE 10.83 859,300 1302 21.16 33% 92% 30% 42%
Java 1.27 315,296 1661 2.68 41% 48% 34% 92%
n-body
secs KB gz cpu cpu load
Erlang HiPE 193.33 19,396 1399 193.28 1% 1% 1% 100%
Java 22.66 30,036 1424 22.68 97% 3% 0% 1%
k-nucleotide
secs KB gz cpu cpu load
Erlang HiPE 152.52 1,126,548 932 398.80 59% 79% 57% 69%
Java 11.29 1,118,288 1844 38.66 83% 97% 82% 82%
fasta
secs KB gz cpu cpu load
Erlang HiPE 32.99 21,684 1164 34.59 84% 14% 2% 6%
Java 2.19 39,368 2457 5.60 58% 72% 66% 61%
mandelbrot
secs KB gz cpu cpu load
Erlang HiPE 131.96 1,370,444 613 501.64 95% 95% 96% 95%
Java 6.27 88,992 796 24.24 96% 97% 97% 98%
fasta-redux
secs KB gz cpu cpu load
  No program contribute your program
Java 0.19 ? 1443 0.22 95% 10% 10% 10%
Erlang HiPE

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

Java

java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)