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.87 103,288 1503 5.28 16% 13% 19% 90%
Java 10.50 571,736 929 31.63 71% 73% 66% 92%
pidigits
source secs mem gz cpu cpu load
Free Pascal 1.73 2,364 530 1.73 1% 100% 1% 1%
Java 3.13 37,376 938 3.35 1% 98% 4% 6%
spectral-norm
source secs mem gz cpu cpu load
Free Pascal 3.98 1,844 542 15.82 99% 99% 99% 99%
Java 4.26 33,572 950 16.39 96% 96% 98% 95%
fannkuch-redux
source secs mem gz cpu cpu load
Free Pascal 17.39 1,956 1050 69.33 100% 100% 100% 100%
Java 17.98 31,180 1282 70.57 97% 99% 97% 99%
n-body
source secs mem gz cpu cpu load
Free Pascal 22.36 8 1325 22.35 1% 0% 0% 100%
Java 22.00 32,272 1489 22.07 1% 0% 0% 100%
mandelbrot
source secs mem gz cpu cpu load
Free Pascal 14.67 29,524 845 58.61 100% 100% 100% 100%
Java 6.96 76,316 796 27.06 97% 97% 97% 97%
reverse-complement
source secs mem gz cpu cpu load
Free Pascal 8.18 520,456 771 8.17 1% 100% 0% 0%
Java 3.32 609,712 2183 7.54 64% 44% 44% 76%
binary-trees
source secs mem gz cpu cpu load
Free Pascal 36.76 262,180 715 36.73 0% 1% 1% 100%
Java 8.39 960,056 835 27.39 81% 85% 74% 90%
fasta
source secs mem gz cpu cpu load
Free Pascal 11.02 8 1140 11.01 1% 0% 100% 0%
Java 2.32 42,212 2473 6.30 65% 85% 47% 76%
k-nucleotide
source secs mem gz cpu cpu load
  No program contribute your program
Java 2.85 46,900 1812 1.60 39% 55% 31% 21%
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)