The Computer Language
Benchmarks Game

Free Pascal programs versus Java

by benchmark task 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.51 573,972 929 31.30 70% 73% 70% 86%
pidigits
source secs mem gz cpu cpu load
Free Pascal 1.73 2,428 530 1.72 0% 2% 100% 1%
Java 3.13 36,984 938 3.36 4% 4% 99% 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.38 35,388 950 16.80 96% 96% 95% 97%
fannkuch-redux
source secs mem gz cpu cpu load
Free Pascal 17.90 1,984 1050 71.35 100% 100% 100% 100%
Java 18.27 31,820 1282 72.06 99% 99% 98% 98%
n-body
source secs mem gz cpu cpu load
Free Pascal 22.35 8 1325 22.34 0% 0% 0% 100%
Java 22.17 33,040 1489 22.27 100% 1% 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.10 76,520 796 23.59 97% 98% 98% 96%
reverse-complement
source secs mem gz cpu cpu load
Free Pascal 8.32 509,364 771 8.31 100% 0% 0% 0%
Java 3.15 680,424 2183 7.07 52% 70% 43% 63%
binary-trees
source secs mem gz cpu cpu load
Free Pascal 36.42 262,180 715 36.40 100% 1% 1% 0%
Java 8.39 933,808 835 28.28 82% 86% 84% 88%
fasta
source secs mem gz cpu cpu load
Free Pascal 10.85 8 1140 10.85 100% 0% 1% 0%
Java 2.27 43,628 2473 5.93 51% 75% 57% 81%
k-nucleotide
source secs mem gz cpu cpu load
  No program contribute your program
Java 0.70 49,068 1812 1.63 51% 54% 77% 61%
Free Pascal

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

Java

java 10 2018-03-20
Java(TM) SE Runtime Environment 18.3 (build 10+46)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)