The Computer Language
Benchmarks Game

Free Pascal versus Java fastest programs

by faster benchmark performance

regex-redux
source secs mem gz cpu cpu load
Free Pascal 3.81 102,432 1503 5.24 19% 90% 15% 14%
Java 10.52 637,380 929 31.89 75% 80% 77% 72%
pidigits
source secs mem gz cpu cpu load
Free Pascal 1.73 2,428 530 1.72 0% 2% 100% 1%
Java 3.13 37,324 938 3.35 98% 5% 3% 3%
spectral-norm
source secs mem gz cpu cpu load
Free Pascal 3.98 1,980 542 15.81 99% 99% 99% 99%
Java 4.27 32,960 950 16.41 95% 97% 98% 96%
fannkuch-redux
source secs mem gz cpu cpu load
Free Pascal 17.90 1,984 1050 71.35 100% 100% 100% 100%
Java 17.91 31,560 1282 70.25 99% 98% 99% 97%
n-body
source secs mem gz cpu cpu load
Free Pascal 22.36 8 1325 22.35 100% 1% 2% 1%
Java 22.00 32,496 1489 22.07 1% 100% 0% 1%
mandelbrot
source secs mem gz cpu cpu load
Free Pascal 14.62 30,016 845 58.40 100% 100% 100% 100%
Java 6.96 76,748 796 27.07 98% 98% 96% 98%
reverse-complement
source secs mem gz cpu cpu load
Free Pascal 8.32 509,364 771 8.31 100% 0% 0% 0%
Java 3.31 626,956 2183 7.44 56% 60% 83% 45%
binary-trees
source secs mem gz cpu cpu load
Free Pascal 36.36 262,180 715 36.33 9% 1% 1% 94%
Java 8.28 982,224 835 27.19 79% 86% 83% 83%
fasta
source secs mem gz cpu cpu load
Free Pascal 10.85 8 1140 10.85 100% 0% 1% 0%
Java 2.32 42,556 2473 6.24 73% 85% 49% 63%
k-nucleotide
source secs mem gz cpu cpu load
  No program contribute your program
Java 0.69 48,448 1812 1.50 66% 51% 73% 44%
Free Pascal

Free Pascal Compiler version 3.0.4 [2017/10/03] for x86_64

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)