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.84 98,696 1503 5.26 100% 15% 15% 11%
Java 10.34 627,224 929 29.88 74% 72% 65% 79%
pidigits
source secs mem gz cpu cpu load
Pascal Free Pascal 1.73 2,400 530 1.73 100% 1% 1% 1%
Java 3.12 36,788 938 3.31 6% 3% 4% 96%
spectral-norm
source secs mem gz cpu cpu load
Pascal Free Pascal 3.99 2,032 542 15.81 99% 99% 99% 99%
Java 4.23 34,472 950 16.27 96% 97% 97% 96%
n-body
source secs mem gz cpu cpu load
Pascal Free Pascal 22.35 8 1325 22.35 0% 1% 1% 100%
Java 22.10 33,136 1429 22.20 31% 1% 1% 70%
fannkuch-redux
source secs mem gz cpu cpu load
Pascal Free Pascal 17.94 1,884 1050 71.36 100% 100% 100% 99%
Java 17.26 32,116 1282 67.75 98% 99% 97% 99%
reverse-complement
source secs mem gz cpu cpu load
Pascal Free Pascal 2.00 122,548 771 1.99 1% 2% 100% 1%
Java 1.03 191,064 2183 2.31 52% 57% 43% 74%
mandelbrot
source secs mem gz cpu cpu load
Pascal Free Pascal 14.65 29,952 845 58.42 100% 100% 100% 100%
Java 6.04 76,528 796 23.34 98% 97% 97% 97%
fasta
source secs mem gz cpu cpu load
Pascal Free Pascal 10.86 8 1140 10.85 0% 1% 100% 1%
Java 2.33 43,924 2473 6.07 53% 71% 63% 74%
binary-trees
source secs mem gz cpu cpu load
Pascal Free Pascal 39.47 262,180 715 39.44 56% 1% 44% 1%
Java 8.34 893,008 835 28.20 87% 79% 96% 81%
k-nucleotide
source secs mem gz cpu cpu load
  No program contribute your program
Java 0.59 38,268 1812 1.46 48% 78% 73% 52%
Pascal Free Pascal

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

Java

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