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 12.31 902,528 929 38.75 73% 76% 86% 81%
pidigits
source secs mem gz cpu cpu load
Pascal Free Pascal 1.73 2,284 482 1.72 1% 100% 1% 1%
Java 3.06 31,760 938 3.16 6% 3% 97% 1%
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.29 29,884 950 16.56 96% 97% 99% 95%
n-body
source secs mem gz cpu cpu load
Pascal Free Pascal 22.35 8 1308 22.34 1% 0% 1% 100%
Java 21.54 27,092 1489 21.56 1% 1% 100% 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 13.74 30,368 1282 54.12 100% 98% 98% 99%
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.10 345,352 1661 2.40 33% 82% 53% 54%
mandelbrot
source secs mem gz cpu cpu load
Pascal Free Pascal 14.68 31,560 820 58.59 100% 100% 100% 100%
Java 7.10 90,588 796 27.92 99% 99% 98% 98%
binary-trees
source secs mem gz cpu cpu load
Pascal Free Pascal 36.18 262,180 705 36.15 1% 0% 1% 100%
Java 11.26 593,156 835 39.02 85% 88% 90% 88%
fasta
source secs mem gz cpu cpu load
Pascal Free Pascal 10.86 8 1112 10.85 100% 0% 1% 0%
Java 2.13 36,036 2457 5.66 94% 58% 59% 60%
k-nucleotide
source secs mem gz cpu cpu load
  No program contribute your program
Java 0.59 43,424 1802 1.21 49% 56% 53% 68%
Pascal Free Pascal

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

Java

java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)