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 20.32 968,816 499 64.90 71% 77% 82% 92%
Java 11.52 643,924 889 40.54 89% 92% 85% 89%
spectral-norm
source secs mem gz cpu cpu load
Erlang HiPE 18.00 35,760 747 70.43 98% 98% 98% 98%
Java 4.29 31,428 950 16.56 97% 96% 98% 97%
pidigits
source secs mem gz cpu cpu load
Erlang HiPE 16.00 38,356 512 18.67 3% 36% 4% 76%
Java 3.06 31,088 938 3.16 0% 3% 9% 92%
fannkuch-redux
source secs mem gz cpu cpu load
Erlang HiPE 117.45 22,708 1038 460.48 98% 100% 97% 97%
Java 17.74 30,048 1282 69.90 98% 98% 100% 99%
n-body
source secs mem gz cpu cpu load
Erlang HiPE 205.63 24,960 1399 205.62 13% 87% 0% 1%
Java 21.50 27,240 1489 21.52 1% 1% 100% 0%
reverse-complement
source secs mem gz cpu cpu load
Erlang HiPE 10.86 855,552 1302 27.02 59% 63% 79% 50%
Java 1.11 345,308 1661 2.44 33% 58% 54% 80%
fasta
source secs mem gz cpu cpu load
Erlang HiPE 32.24 29,896 1164 33.77 3% 72% 30% 1%
Java 2.14 36,192 2457 5.68 71% 58% 62% 77%
k-nucleotide
source secs mem gz cpu cpu load
Erlang HiPE 163.56 1,077,148 932 438.08 51% 57% 99% 64%
Java 8.02 467,004 1802 25.57 76% 98% 73% 74%
mandelbrot
source secs mem gz cpu cpu load
Erlang HiPE 127.17 1,303,564 613 500.64 98% 99% 99% 99%
Java 5.89 89,504 796 23.08 98% 98% 98% 99%
regex-redux
source secs mem gz cpu cpu load
  No program contribute your program
Java 0.69 46,096 929 1.58 85% 67% 53% 53%
Erlang HiPE

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

Java

java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)