The Computer Language
Benchmarks Game

Erlang HiPE versus Java fastest programs

by faster benchmark performance

binary-trees
source secs mem gz cpu cpu load
Erlang HiPE 7.92 443,688 478 23.27 75% 76% 67% 77%
Java 8.29 930,040 835 28.13 78% 94% 85% 86%
spectral-norm
source secs mem gz cpu cpu load
Erlang HiPE 17.78 31,840 747 63.77 93% 89% 89% 88%
Java 4.41 35,028 950 16.79 96% 97% 98% 95%
pidigits
source secs mem gz cpu cpu load
Erlang HiPE 13.79 46,228 562 16.86 13% 25% 6% 79%
Java 3.14 37,080 938 3.35 4% 4% 1% 98%
fannkuch-redux
source secs mem gz cpu cpu load
Erlang HiPE 80.09 23,912 1038 315.04 97% 100% 97% 99%
Java 17.74 31,900 1282 69.78 99% 98% 99% 98%
n-body
source secs mem gz cpu cpu load
Erlang HiPE 188.59 23,660 1399 188.61 53% 0% 1% 48%
Java 22.19 33,272 1489 22.28 35% 2% 66% 1%
fasta
source secs mem gz cpu cpu load
Erlang HiPE 29.08 24,468 1164 30.93 75% 27% 4% 2%
Java 2.29 43,724 2473 6.16 67% 76% 59% 70%
k-nucleotide
source secs mem gz cpu cpu load
Erlang HiPE 116.31 799,336 937 328.73 62% 63% 98% 60%
Java 8.66 384,756 1812 26.91 69% 88% 81% 75%
reverse-complement
source secs mem gz cpu cpu load
Erlang HiPE 47.62 1,864,772 1302 109.20 52% 49% 79% 51%
Java 3.18 672,272 2183 7.17 67% 46% 43% 77%
mandelbrot
source secs mem gz cpu cpu load
Erlang HiPE 115.08 49,176 806 459.19 100% 100% 100% 100%
Java 6.13 76,876 796 23.60 96% 96% 96% 97%
regex-redux
source secs mem gz cpu cpu load
Erlang HiPE   Bad Output
Java 0.65 45,356 929 2.01 73% 88% 77% 75%
Erlang HiPE

Erlang/OTP 21 [erts-10.0] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]

Java

java version "10.0.1" 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)