The Computer Language
Benchmarks Game

Lisp SBCL programs versus Java

by benchmark task performance

fannkuch-redux
source secs KB gz cpu cpu load
Lisp SBCL 16.46 45,900 1518 64.00 100% 99% 92% 98%
Java 17.34 30,084 1282 68.20 97% 98% 99% 99%
spectral-norm
source secs KB gz cpu cpu load
Lisp SBCL 4.08 29,932 883 15.70 98% 97% 98% 98%
Java 4.26 32,244 950 16.41 96% 98% 95% 97%
mandelbrot
source secs KB gz cpu cpu load
Lisp SBCL 7.88 66,676 2459 28.51 83% 83% 100% 98%
Java 7.14 88,236 796 27.93 97% 98% 98% 99%
n-body
source secs KB gz cpu cpu load
Lisp SBCL 27.26 18,584 1398 27.25 1% 100% 0% 1%
Java 22.53 28,212 1430 22.54 100% 7% 1% 1%
reverse-complement
source secs KB gz cpu cpu load
Lisp SBCL 2.26 512,700 896 2.25 0% 1% 100% 0%
Java 1.17 345,940 1661 2.42 41% 43% 57% 72%
binary-trees
source secs KB gz cpu cpu load
Lisp SBCL 22.59 322,012 649 22.55 1% 0% 100% 1%
Java 11.51 622,328 889 40.10 86% 86% 92% 87%
pidigits
source secs KB gz cpu cpu load
Lisp SBCL 11.94 231,512 493 11.91 100% 1% 1% 0%
Java 3.11 33,364 938 3.20 99% 2% 2% 2%
k-nucleotide
source secs KB gz cpu cpu load
Lisp SBCL 34.05 164,172 2272 34.01 1% 1% 0% 100%
Java 8.10 469,624 1802 25.75 97% 77% 76% 71%
fasta
source secs KB gz cpu cpu load
Lisp SBCL 9.74 18,448 1579 9.73 1% 100% 1% 0%
Java 2.20 37,072 2457 6.37 81% 68% 72% 72%
regex-dna
source secs KB gz cpu cpu load
Lisp SBCL 21.19 585,828 1948 44.52 89% 39% 42% 42%
Java 4.56 667,820 1085 12.16 60% 66% 56% 87%
Lisp SBCL

SBCL 1.3.10

Java

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