The Computer Language
Benchmarks Game

Erlang HiPE programs versus Java

by benchmark task performance

regex-dna
secs KB gz cpu cpu load
Erlang HiPE 11.35 250,640 1058 37.30 86% 88% 78% 79%
Java 8.80 729,244 929 25.79 77% 80% 72% 66%
binary-trees
secs KB gz cpu cpu load
Erlang HiPE 13.33 534,160 499 48.51 93% 90% 95% 88%
Java 5.88 513,180 926 19.64 95% 79% 87% 76%
pidigits
secs KB gz cpu cpu load
Erlang HiPE 15.83 28,596 512 16.84 14% 77% 2% 16%
Java 4.07 26,324 938 4.17 3% 3% 4% 96%
spectral-norm
secs KB gz cpu cpu load
Erlang HiPE 24.29 20,116 747 83.03 85% 85% 86% 86%
Java 4.30 26,476 950 16.53 99% 96% 95% 96%
fannkuch-redux
secs KB gz cpu cpu load
Erlang HiPE 110.30 14,676 1038 428.93 99% 98% 99% 98%
Java 17.13 25,804 1282 67.56 100% 98% 99% 98%
reverse-complement
secs KB gz cpu cpu load
Erlang HiPE 11.46 854,592 1302 22.12 49% 45% 69% 37%
Java 1.44 308,060 1661 2.91 47% 31% 85% 43%
n-body
secs KB gz cpu cpu load
Erlang HiPE 269.30 27,776 1399 269.21 53% 1% 1% 47%
Java 24.31 24,156 1424 24.34 1% 1% 1% 100%
k-nucleotide
secs KB gz cpu cpu load
Erlang HiPE 129.78 868,000 932 376.32 62% 69% 93% 68%
Java 10.61 1,199,184 1844 35.27 79% 78% 90% 88%
mandelbrot
secs KB gz cpu cpu load
Erlang HiPE 215.67 632,224 613 842.16 98% 98% 98% 98%
Java 7.12 87,832 796 27.79 97% 99% 97% 97%
fasta
secs KB gz cpu cpu load
Erlang HiPE 56.26 30,364 1164 58.35 33% 54% 1% 18%
Java 1.82 31,600 2457 5.90 80% 83% 80% 82%
fasta-redux
secs KB gz cpu cpu load
  No program contribute your program
Java 0.20 ? 1443 0.22 0% 10% 90% 11%
Erlang HiPE

Erlang/OTP 18 [erts-7.0] [source] [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) Server VM (build 25.45-b02, mixed mode)