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,940 482 2.48 1% 100% 1% 100%
Java 4.14 25,988 938 4.13 1% 1% 0% 100%
fannkuch-redux
source secs KB gz cpu cpu load
Pascal Free Pascal 63.02 1,664 1018 63.00 100% 1% 1% 100%
Java 67.56 23,480 1282 67.53 1% 1% 1% 100%
n-body
source secs KB gz cpu cpu load
Pascal Free Pascal 22.49 8 1308 22.48 1% 100% 1% 100%
Java 24.07 23,184 1430 24.06 1% 1% 1% 100%
spectral-norm
source secs KB gz cpu cpu load
Pascal Free Pascal 15.96 8 423 15.95 0% 100% 1% 100%
Java 16.30 23,872 950 16.29 1% 0% 1% 100%
reverse-complement
source secs KB gz cpu cpu load
Pascal Free Pascal 2.14 124,816 751 2.14 1% 100% 0% 100%
Java 1.79 521,988 745 1.78 1% 2% 2% 100%
fasta
source secs KB gz cpu cpu load
Pascal Free Pascal 8.14 8 1112 8.14 1% 100% 0% 100%
Java 4.77 23,400 1507 4.76 1% 1% 1% 100%
binary-trees
source secs KB gz cpu cpu load
Pascal Free Pascal 32.25 65,804 769 32.22 1% 0% 0% 100%
Java 16.53 511,692 584 16.51 1% 1% 0% 100%
mandelbrot
source secs KB gz cpu cpu load
Pascal Free Pascal 64.08 32,640 820 64.06 2% 0% 0% 100%
Java 27.41 55,556 796 27.40 1% 0% 1% 100%
fasta-redux
source secs KB gz cpu cpu load
Pascal Free Pascal 4.71 8 1227 4.70 0% 100% 2% 100%
Java 1.89 23,120 1443 1.88 2% 2% 0% 100%
regex-dna
source secs KB gz cpu cpu load
  No program contribute your program
Java 1.20 30,608 740 0.77 2% 1% 0% 99%
k-nucleotide
source secs KB gz cpu cpu load
  No program contribute your program
Java 1.18 50,052 1602 1.18 1% 0% 1% 99%
Pascal Free Pascal

Free Pascal Compiler version 3.0.0 [2015/11/24] for i386

Java

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