The Computer Language
Benchmarks Game

Pascal Free Pascal programs versus Java

by benchmark task performance

regex-redux
source secs mem gz cpu cpu load
Pascal Free Pascal 3.75 99,488 1459 5.15 20% 16% 14% 90%
Java 10.38 634,548 929 29.48 70% 64% 69% 82%
pidigits
source secs mem gz cpu cpu load
Pascal Free Pascal 1.73 2,284 482 1.72 1% 100% 1% 1%
Java 3.12 37,444 938 3.30 2% 5% 98% 4%
spectral-norm
source secs mem gz cpu cpu load
Pascal Free Pascal 3.99 1,896 542 15.82 99% 100% 99% 100%
Java 4.25 36,364 950 16.30 97% 96% 95% 97%
n-body
source secs mem gz cpu cpu load
Pascal Free Pascal 22.35 8 1308 22.34 1% 0% 1% 100%
Java 22.56 35,208 1424 22.65 99% 1% 1% 1%
fannkuch-redux
source secs mem gz cpu cpu load
Pascal Free Pascal 17.93 1,780 1018 71.44 100% 100% 100% 100%
Java 15.09 34,764 1282 59.26 99% 98% 98% 100%
reverse-complement
source secs mem gz cpu cpu load
Pascal Free Pascal 1.92 124,784 751 1.92 2% 1% 100% 0%
Java 1.13 199,672 2124 2.76 48% 74% 70% 54%
mandelbrot
source secs mem gz cpu cpu load
Pascal Free Pascal 14.68 31,560 820 58.59 100% 100% 100% 100%
Java 6.08 77,056 796 23.61 97% 97% 99% 97%
binary-trees
source secs mem gz cpu cpu load
Pascal Free Pascal 36.18 262,180 705 36.15 1% 0% 1% 100%
Java 8.58 966,808 835 28.98 86% 84% 90% 81%
fasta
source secs mem gz cpu cpu load
Pascal Free Pascal 10.86 8 1112 10.85 100% 0% 1% 0%
Java 2.32 46,816 2457 6.37 61% 60% 96% 60%
k-nucleotide
source secs mem gz cpu cpu load
  No program contribute your program
Java 0.73 54,972 1802 1.52 67% 59% 55% 48%
Pascal Free Pascal

Free Pascal Compiler version 3.0.2 [2017/02/05] for x86_64

Java

java 9
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)