The Computer Language
Benchmarks Game

Pascal Free Pascal programs versus Java

by benchmark task performance

pidigits
secs KB gz cpu cpu load
Pascal Free Pascal 2.49 1,940 482 2.48 1% 100% 1% 100%
Java 4.14 26,616 938 4.14 2% 0% 1% 100%
n-body
secs KB gz cpu cpu load
Pascal Free Pascal 22.49 8 1308 22.48 1% 100% 1% 100%
Java 24.33 24,036 1424 24.32 1% 0% 0% 100%
fannkuch-redux
secs KB gz cpu cpu load
Pascal Free Pascal 63.02 1,664 1018 63.00 100% 1% 1% 100%
Java 67.66 26,644 1282 67.63 1% 1% 0% 100%
spectral-norm
secs KB gz cpu cpu load
Pascal Free Pascal 15.96 8 423 15.95 0% 100% 1% 100%
Java 16.37 26,876 950 16.36 1% 1% 0% 100%
reverse-complement
secs KB gz cpu cpu load
Pascal Free Pascal 2.14 124,816 751 2.14 1% 100% 0% 100%
Java 1.80 522,620 745 1.80 3% 1% 1% 99%
fasta
secs KB gz cpu cpu load
Pascal Free Pascal 8.14 8 1112 8.14 1% 100% 0% 100%
Java 4.81 24,836 1507 4.80 1% 1% 0% 100%
binary-trees
secs KB gz cpu cpu load
Pascal Free Pascal 32.25 65,804 769 32.22 1% 0% 0% 100%
Java 16.35 526,588 584 16.33 1% 1% 0% 100%
k-nucleotide
secs KB gz cpu cpu load
Pascal Free Pascal 50.15 130,312 2383 50.12 1% 100% 1% 100%
Java 23.60 257,300 2568 23.58 0% 0% 1% 100%
fasta-redux
secs KB gz cpu cpu load
Pascal Free Pascal 4.71 8 1227 4.70 0% 100% 2% 100%
Java 2.05 24,576 1443 2.04 1% 0% 0% 100%
mandelbrot
secs KB gz cpu cpu load
Pascal Free Pascal 64.08 32,640 820 64.06 2% 0% 0% 100%
Java 27.19 88,448 796 27.18 1% 0% 1% 100%
regex-dna
secs KB gz cpu cpu load
  No program contribute your program
Java 0.73 28,324 1284 0.72 0% 0% 0% 97%
Pascal Free Pascal

Free Pascal Compiler version 3.0.0 [2015/11/24] 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)