The Computer Language
Benchmarks Game

Pascal Free Pascal programs versus Java

by benchmark task performance

pidigits
source secs KB gz cpu cpu load
Pascal Free Pascal 2.49 1,124 482 2.48 0% 2% 100% 2%
Java 4.07 26,324 938 4.17 3% 3% 4% 96%
fannkuch-redux
source secs KB gz cpu cpu load
Pascal Free Pascal 16.93 696 1018 67.54 100% 100% 100% 100%
Java 17.13 25,804 1282 67.56 100% 98% 99% 98%
n-body
source secs KB gz cpu cpu load
Pascal Free Pascal 34.70 8 1308 34.69 1% 0% 100% 0%
Java 24.31 24,156 1424 24.34 1% 1% 1% 100%
reverse-complement
source secs KB gz cpu cpu load
Pascal Free Pascal 2.06 124,428 751 2.06 0% 1% 0% 100%
Java 1.44 308,060 1661 2.91 47% 31% 85% 43%
fasta-redux
source secs KB gz cpu cpu load
Pascal Free Pascal 4.78 8 1227 4.78 1% 0% 1% 100%
Java 1.93 24,588 1443 1.99 98% 2% 4% 3%
spectral-norm
source secs KB gz cpu cpu load
Pascal Free Pascal 15.77 8 423 15.76 1% 1% 0% 100%
Java 4.30 26,476 950 16.53 99% 96% 95% 96%
fasta
source secs KB gz cpu cpu load
Pascal Free Pascal 7.93 8 1112 7.93 0% 100% 1% 0%
Java 1.82 31,600 2457 5.90 80% 83% 80% 82%
k-nucleotide
source secs KB gz cpu cpu load
Pascal Free Pascal 46.24 130,068 2383 46.22 0% 100% 1% 1%
Java 10.61 1,199,184 1844 35.27 79% 78% 90% 88%
mandelbrot
source secs KB gz cpu cpu load
Pascal Free Pascal 31.49 31,948 817 83.62 95% 36% 41% 95%
Java 7.12 87,832 796 27.79 97% 99% 97% 97%
binary-trees
source secs KB gz cpu cpu load
Pascal Free Pascal 33.21 65,836 769 33.19 1% 1% 1% 100%
Java 5.88 513,180 926 19.64 95% 79% 87% 76%
regex-dna
source secs KB gz cpu cpu load
  No program contribute your program
Java 0.43 33,172 929 1.04 86% 56% 57% 50%
Pascal Free Pascal

Free Pascal Compiler version 2.6.4 [2014/03/03] for i386

Java

java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) Server VM (build 25.45-b02, mixed mode)