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.43 609,920 929 31.73 72% 78% 72% 83%
pidigits
source secs mem gz cpu cpu load
Free Pascal 1.73 2,428 530 1.72 0% 2% 100% 1%
Java 3.14 37,080 938 3.35 4% 4% 1% 98%
spectral-norm
source secs mem gz cpu cpu load
Free Pascal 3.98 1,980 542 15.81 99% 99% 99% 99%
Java 4.41 35,028 950 16.79 96% 97% 98% 95%
n-body
source secs mem gz cpu cpu load
Free Pascal 22.36 8 1325 22.35 100% 1% 2% 1%
Java 22.19 33,272 1489 22.28 35% 2% 66% 1%
fannkuch-redux
source secs mem gz cpu cpu load
Free Pascal 17.90 1,984 1050 71.35 100% 100% 100% 100%
Java 17.74 31,900 1282 69.78 99% 98% 99% 98%
mandelbrot
source secs mem gz cpu cpu load
Free Pascal 14.62 30,016 845 58.40 100% 100% 100% 100%
Java 6.13 76,876 796 23.60 96% 96% 96% 97%
reverse-complement
source secs mem gz cpu cpu load
Free Pascal 8.32 509,364 771 8.31 100% 0% 0% 0%
Java 3.18 672,272 2183 7.17 67% 46% 43% 77%
binary-trees
source secs mem gz cpu cpu load
Free Pascal 36.42 262,180 715 36.40 100% 1% 1% 0%
Java 8.29 930,040 835 28.13 78% 94% 85% 86%
fasta
source secs mem gz cpu cpu load
Free Pascal 10.85 8 1140 10.85 100% 0% 1% 0%
Java 2.29 43,724 2473 6.16 67% 76% 59% 70%
k-nucleotide
source secs mem gz cpu cpu load
  No program contribute your program
Java 0.71 48,340 1812 1.70 51% 86% 67% 51%
Free Pascal

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

Java

java version "10.0.1" 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)