The Computer Language
Benchmarks Game

Lisp SBCL programs versus Java

by benchmark task performance

pidigits
source secs KB gz cpu cpu load
Lisp SBCL 2.77 16,304 1073 2.77 0% 100% 1% 0%
Java 4.07 26,324 938 4.17 3% 3% 4% 96%
fannkuch-redux
source secs KB gz cpu cpu load
Lisp SBCL 15.76 34,832 1518 61.40 93% 99% 99% 99%
Java 17.13 25,804 1282 67.56 100% 98% 99% 98%
spectral-norm
source secs KB gz cpu cpu load
Lisp SBCL 4.24 27,192 906 15.97 95% 95% 94% 95%
Java 4.30 26,476 950 16.53 99% 96% 95% 96%
n-body
source secs KB gz cpu cpu load
Lisp SBCL 38.13 14,636 1398 38.12 0% 100% 1% 0%
Java 24.31 24,156 1424 24.34 1% 1% 1% 100%
reverse-complement
source secs KB gz cpu cpu load
Lisp SBCL 3.28 157,980 896 3.27 1% 1% 1% 100%
Java 1.44 308,060 1661 2.91 47% 31% 85% 43%
regex-dna
source secs KB gz cpu cpu load
Lisp SBCL 21.35 641,580 1948 44.56 90% 41% 43% 36%
Java 8.80 729,244 929 25.79 77% 80% 72% 66%
binary-trees
source secs KB gz cpu cpu load
Lisp SBCL 18.22 154,980 649 18.19 0% 1% 0% 100%
Java 5.88 513,180 926 19.64 95% 79% 87% 76%
mandelbrot
source secs KB gz cpu cpu load
Lisp SBCL 22.55 62,176 2459 80.27 79% 99% 79% 100%
Java 7.12 87,832 796 27.79 97% 99% 97% 97%
fasta
source secs KB gz cpu cpu load
Lisp SBCL 7.98 20,268 1751 7.98 0% 1% 100% 1%
Java 1.82 31,600 2457 5.90 80% 83% 80% 82%
fasta-redux
source secs KB gz cpu cpu load
Lisp SBCL 9.05 22,416 2005 9.04 100% 1% 0% 0%
Java 1.93 24,588 1443 1.99 98% 2% 4% 3%
k-nucleotide
source secs KB gz cpu cpu load
Lisp SBCL 66.84 123,300 2272 66.76 1% 46% 54% 1%
Java 10.61 1,199,184 1844 35.27 79% 78% 90% 88%
Lisp SBCL

This is SBCL 1.2.15, 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) Server VM (build 25.45-b02, mixed mode)