The Computer Language
Benchmarks Game

Java versus Java AOT fastest programs

by faster benchmark performance

pidigits
source secs mem gz cpu cpu load
Java 3.13 37,324 938 3.35 98% 5% 3% 3%
Java AOT 30.26 269,940 800 30.22 1% 30% 71% 1%
regex-redux
source secs mem gz cpu cpu load
Java 10.52 637,380 929 31.89 75% 80% 77% 72%
Java AOT 28.19 1,248,228 868 45.43 21% 21% 21% 100%
binary-trees
source secs mem gz cpu cpu load
Java 8.28 982,224 835 27.19 79% 86% 83% 83%
Java AOT 20.69 656,812 540 20.67 0% 0% 1% 100%
k-nucleotide
source secs mem gz cpu cpu load
Java 8.66 385,768 1812 26.52 76% 81% 74% 76%
Java AOT 19.82 590,540 1607 64.87 77% 98% 77% 77%
fannkuch-redux
source secs mem gz cpu cpu load
Java 17.91 31,560 1282 70.25 99% 98% 99% 97%
Java AOT 26.72 5,664 1282 105.93 98% 100% 99% 100%
reverse-complement
source secs mem gz cpu cpu load
Java 3.31 626,956 2183 7.44 56% 60% 83% 45%
Java AOT 4.60 1,023,192 1722 9.88 85% 47% 39% 46%
spectral-norm
source secs mem gz cpu cpu load
Java 4.27 32,960 950 16.41 95% 97% 98% 96%
Java AOT 5.47 6,396 950 21.77 100% 100% 100% 100%
n-body
source secs mem gz cpu cpu load
Java 22.00 32,496 1489 22.07 1% 100% 0% 1%
Java AOT 26.69 5,516 1430 26.68 0% 1% 100% 0%
fasta
source secs mem gz cpu cpu load
Java 2.32 42,556 2473 6.24 73% 85% 49% 63%
Java AOT 2.81 11,052 2473 7.26 99% 78% 78% 6%
mandelbrot
source secs mem gz cpu cpu load
Java 6.96 76,748 796 27.07 98% 98% 96% 98%
Java AOT 8.12 38,412 796 32.28 99% 100% 100% 99%
Java

openjdk 11 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)

Java AOT

openjdk version "1.8.0_171"
OpenJDK Runtime Environment (build 1.8.0_171-11)
GraalVM 1.0.0-rc2 (build 25.71-b01-internal-jvmci-0.43, mixed mode)