The Computer Language
Benchmarks Game

Lisp SBCL programs versus Java

by benchmark task performance

pidigits
secs KB gz cpu cpu load
Lisp SBCL 2.37 20,812 1073 2.36 0% 0% 100% 2%
Java 3.12 33,528 938 3.22 3% 2% 80% 21%
fannkuch-redux
secs KB gz cpu cpu load
Lisp SBCL 16.70 47,360 1518 64.96 93% 98% 100% 100%
Java 17.41 33,032 1282 68.64 98% 98% 99% 99%
spectral-norm
secs KB gz cpu cpu load
Lisp SBCL 4.12 29,180 906 15.78 97% 97% 97% 97%
Java 4.28 32,696 950 16.53 96% 96% 96% 99%
n-body
secs KB gz cpu cpu load
Lisp SBCL 26.98 16,460 1398 26.97 0% 1% 100% 0%
Java 22.66 30,036 1424 22.68 97% 3% 0% 1%
mandelbrot
secs KB gz cpu cpu load
Lisp SBCL 7.77 67,744 2459 28.52 86% 100% 84% 99%
Java 6.27 88,992 796 24.24 96% 97% 97% 98%
reverse-complement
secs KB gz cpu cpu load
Lisp SBCL 2.27 304,892 896 2.26 100% 1% 2% 0%
Java 1.27 315,296 1661 2.68 41% 48% 34% 92%
binary-trees
secs KB gz cpu cpu load
Lisp SBCL 24.50 354,192 649 24.45 1% 100% 1% 1%
Java 11.58 649,456 889 40.18 94% 85% 87% 83%
fasta-redux
secs KB gz cpu cpu load
Lisp SBCL 6.14 20,840 2005 6.13 0% 2% 1% 100%
Java 2.59 29,940 1443 2.65 1% 76% 1% 25%
regex-dna
secs KB gz cpu cpu load
Lisp SBCL 20.79 597,020 1948 44.68 41% 45% 41% 91%
Java 8.24 761,724 929 24.70 68% 73% 77% 83%
fasta
secs KB gz cpu cpu load
Lisp SBCL 9.73 16,552 1579 9.73 0% 1% 1% 100%
Java 2.19 39,368 2457 5.60 58% 72% 66% 61%
k-nucleotide
secs KB gz cpu cpu load
Lisp SBCL 33.16 163,528 2301 33.12 100% 1% 1% 0%
Java 6.60 263,468 2568 20.56 76% 76% 90% 70%
Lisp SBCL

This is SBCL 1.3.4, an implementation of ANSI Common Lisp.

Java

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