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.37 20,812 1073 2.36 0% 0% 100% 2%
Java 3.11 33,364 938 3.20 99% 2% 2% 2%
spectral-norm
source secs KB gz cpu cpu load
Lisp SBCL 4.12 29,180 906 15.78 97% 97% 97% 97%
Java 4.26 32,244 950 16.41 96% 98% 95% 97%
mandelbrot
source secs KB gz cpu cpu load
Lisp SBCL 7.77 67,744 2459 28.52 86% 100% 84% 99%
Java 7.14 88,236 796 27.93 97% 98% 98% 99%
n-body
source secs KB gz cpu cpu load
Lisp SBCL 26.98 16,460 1398 26.97 0% 1% 100% 0%
Java 22.53 28,212 1430 22.54 100% 7% 1% 1%
fannkuch-redux
source secs KB gz cpu cpu load
Lisp SBCL 16.70 47,360 1518 64.96 93% 98% 100% 100%
Java 13.65 31,996 1282 53.64 99% 98% 99% 98%
reverse-complement
source secs KB gz cpu cpu load
Lisp SBCL 2.27 304,892 896 2.26 100% 1% 2% 0%
Java 1.17 345,940 1661 2.42 41% 43% 57% 72%
binary-trees
source secs KB gz cpu cpu load
Lisp SBCL 24.50 354,192 649 24.45 1% 100% 1% 1%
Java 11.51 622,328 889 40.10 86% 86% 92% 87%
fasta-redux
source secs KB gz cpu cpu load
Lisp SBCL 6.14 20,840 2005 6.13 0% 2% 1% 100%
Java 2.53 31,648 1443 2.59 3% 98% 1% 3%
regex-dna
source secs KB gz cpu cpu load
Lisp SBCL 20.79 597,020 1948 44.68 41% 45% 41% 91%
Java 8.23 753,008 929 24.56 71% 78% 81% 70%
k-nucleotide
source secs KB gz cpu cpu load
Lisp SBCL 33.16 163,528 2301 33.12 100% 1% 1% 0%
Java 12.87 462,488 1602 44.44 98% 81% 85% 82%
fasta
source secs KB gz cpu cpu load
Lisp SBCL 9.73 16,552 1579 9.73 0% 1% 1% 100%
Java 2.20 37,072 2457 6.37 81% 68% 72% 72%
Lisp SBCL

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

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)