The Computer Language
Benchmarks Game

Erlang HiPE programs versus Java

by benchmark task performance

regex-dna
secs KB gz cpu cpu load
Erlang HiPE 35.94 177,080 1058 35.92 0% 1% 1% 100%
Java 20.80 567,404 1284 20.79 0% 0% 1% 100%
binary-trees
secs KB gz cpu cpu load
Erlang HiPE 37.36 532,976 441 37.30 1% 2% 1% 100%
Java 16.35 526,588 584 16.33 1% 1% 0% 100%
pidigits
secs KB gz cpu cpu load
Erlang HiPE 16.24 20,268 512 16.22 0% 1% 1% 100%
Java 4.14 26,616 938 4.14 2% 0% 1% 100%
spectral-norm
secs KB gz cpu cpu load
Erlang HiPE 85.63 15,668 747 85.59 1% 1% 0% 100%
Java 16.37 26,876 950 16.36 1% 1% 0% 100%
fannkuch-redux
secs KB gz cpu cpu load
Erlang HiPE 395.69 11,408 1038 395.55 1% 0% 0% 100%
Java 67.66 26,644 1282 67.63 1% 1% 0% 100%
n-body
secs KB gz cpu cpu load
Erlang HiPE 267.36 10,364 1399 267.27 0% 1% 1% 100%
Java 24.33 24,036 1424 24.32 1% 0% 0% 100%
reverse-complement
secs KB gz cpu cpu load
Erlang HiPE 20.81 599,172 1302 20.79 0% 0% 1% 100%
Java 1.80 522,620 745 1.80 3% 1% 1% 99%
fasta
secs KB gz cpu cpu load
Erlang HiPE 55.87 11,360 1164 55.84 1% 0% 0% 100%
Java 4.81 24,836 1507 4.80 1% 1% 0% 100%
k-nucleotide
secs KB gz cpu cpu load
Erlang HiPE 298.15 932,124 932 295.01 0% 1% 1% 100%
Java 23.60 257,300 2568 23.58 0% 0% 1% 100%
mandelbrot
secs KB gz cpu cpu load
Erlang HiPE 829.68 702,444 613 829.38 1% 1% 1% 100%
Java 27.19 88,448 796 27.18 1% 0% 1% 100%
fasta-redux
secs KB gz cpu cpu load
  No program contribute your program
Java 0.22 476 1443 0.21 0% 5% 0% 100%
Erlang HiPE

Erlang/OTP 18 [erts-7.0] [source] [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)