The Computer Language
Benchmarks Game

Erlang HiPE programs versus Java

by benchmark task performance

binary-trees
source secs KB gz cpu cpu load
Erlang HiPE 35.77 558,720 441 35.72 0% 1% 1% 100%
Java 16.53 511,692 584 16.51 1% 1% 0% 100%
regex-dna
source secs KB gz cpu cpu load
Erlang HiPE 34.63 205,816 1058 34.61 0% 1% 1% 100%
Java 11.41 699,176 1085 11.39 1% 1% 0% 100%
pidigits
source secs KB gz cpu cpu load
Erlang HiPE 16.56 20,624 512 16.54 0% 1% 1% 100%
Java 4.14 25,988 938 4.13 1% 1% 0% 100%
spectral-norm
source secs KB gz cpu cpu load
Erlang HiPE 77.55 17,376 747 77.51 0% 1% 1% 100%
Java 16.30 23,872 950 16.29 1% 0% 1% 100%
fannkuch-redux
source secs KB gz cpu cpu load
Erlang HiPE 388.21 12,064 1038 388.03 1% 1% 1% 100%
Java 67.02 23,380 1257 67.00 0% 1% 1% 100%
k-nucleotide
source secs KB gz cpu cpu load
Erlang HiPE 308.86 884,748 932 305.58 1% 1% 1% 100%
Java 36.57 512,948 1802 36.54 1% 0% 0% 100%
n-body
source secs KB gz cpu cpu load
Erlang HiPE 228.66 12,580 1399 228.57 1% 1% 1% 100%
Java 24.07 23,184 1430 24.06 1% 1% 1% 100%
fasta
source secs KB gz cpu cpu load
Erlang HiPE 56.95 13,060 1164 56.92 1% 1% 1% 100%
Java 4.77 23,400 1507 4.76 1% 1% 1% 100%
reverse-complement
source secs KB gz cpu cpu load
Erlang HiPE 25.34 556,864 1302 25.31 1% 1% 1% 100%
Java 1.79 521,988 745 1.78 1% 2% 2% 100%
mandelbrot
source secs KB gz cpu cpu load
Erlang HiPE 749.52 704,700 613 749.17 1% 1% 1% 100%
Java 27.41 55,556 796 27.40 1% 0% 1% 100%
Erlang HiPE

Erlang/OTP 19 [erts-8.0] [source] [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) Server VM (build 25.92-b14, mixed mode)