The Computer Language
Benchmarks Game

Erlang HiPE programs versus Java

by benchmark task performance

regex-dna
source secs KB gz cpu cpu load
Erlang HiPE 10.42 383,644 1058 35.91 88% 82% 90% 85%
Java 8.23 753,008 929 24.56 71% 78% 81% 70%
binary-trees
source secs KB gz cpu cpu load
Erlang HiPE 18.93 1,013,732 499 69.05 97% 90% 90% 90%
Java 11.51 622,328 889 40.10 86% 86% 92% 87%
spectral-norm
source secs KB gz cpu cpu load
Erlang HiPE 18.39 28,684 747 71.12 96% 97% 97% 97%
Java 4.26 32,244 950 16.41 96% 98% 95% 97%
pidigits
source secs KB gz cpu cpu load
Erlang HiPE 15.89 36,164 512 17.32 82% 14% 8% 7%
Java 3.11 33,364 938 3.20 99% 2% 2% 2%
n-body
source secs KB gz cpu cpu load
Erlang HiPE 193.33 19,396 1399 193.28 1% 1% 1% 100%
Java 22.53 28,212 1430 22.54 100% 7% 1% 1%
fannkuch-redux
source secs KB gz cpu cpu load
Erlang HiPE 119.29 20,340 1038 470.74 100% 99% 98% 99%
Java 13.65 31,996 1282 53.64 99% 98% 99% 98%
reverse-complement
source secs KB gz cpu cpu load
Erlang HiPE 10.83 859,300 1302 21.16 33% 92% 30% 42%
Java 1.17 345,940 1661 2.42 41% 43% 57% 72%
k-nucleotide
source secs KB gz cpu cpu load
Erlang HiPE 152.52 1,126,548 932 398.80 59% 79% 57% 69%
Java 12.87 462,488 1602 44.44 98% 81% 85% 82%
fasta
source secs KB gz cpu cpu load
Erlang HiPE 32.99 21,684 1164 34.59 84% 14% 2% 6%
Java 2.20 37,072 2457 6.37 81% 68% 72% 72%
mandelbrot
source secs KB gz cpu cpu load
Erlang HiPE 131.96 1,370,444 613 501.64 95% 95% 96% 95%
Java 7.14 88,236 796 27.93 97% 98% 98% 99%
fasta-redux
source secs KB gz cpu cpu load
  No program contribute your program
Java 0.17 ? 1443 0.19 17% 12% 78% 0%
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_92"
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode)