The Computer Language
Benchmarks Game

Lisp SBCL programs versus Java

by benchmark task performance

pidigits
source secs mem gz cpu cpu load
Lisp SBCL 1.80 25,444 940 1.80 100% 2% 1% 0%
Java 3.06 31,760 938 3.16 6% 3% 97% 1%
spectral-norm
source secs mem gz cpu cpu load
Lisp SBCL 4.40 34,396 883 15.92 91% 90% 92% 91%
Java 4.29 29,884 950 16.56 96% 97% 99% 95%
mandelbrot
source secs mem gz cpu cpu load
Lisp SBCL 7.87 70,880 2459 28.53 85% 97% 100% 82%
Java 7.10 90,588 796 27.92 99% 99% 98% 98%
fannkuch-redux
source secs mem gz cpu cpu load
Lisp SBCL 16.83 48,952 1518 65.33 92% 99% 100% 98%
Java 13.74 30,368 1282 54.12 100% 98% 98% 99%
n-body
source secs mem gz cpu cpu load
Lisp SBCL 27.24 22,952 1398 27.23 1% 0% 0% 100%
Java 21.54 27,092 1489 21.56 1% 1% 100% 1%
reverse-complement
source secs mem gz cpu cpu load
Lisp SBCL 2.12 405,988 896 2.11 3% 100% 0% 0%
Java 1.10 345,352 1661 2.40 33% 82% 53% 54%
k-nucleotide
source secs mem gz cpu cpu load
Lisp SBCL 16.99 535,356 2467 62.18 90% 100% 89% 89%
Java 7.93 465,372 1802 25.11 75% 75% 75% 93%
regex-redux
source secs mem gz cpu cpu load
Lisp SBCL 28.66 768,704 1961 53.39 35% 38% 73% 43%
Java 12.31 902,528 929 38.75 73% 76% 86% 81%
binary-trees
source secs mem gz cpu cpu load
Lisp SBCL 26.56 538,328 594 26.51 1% 100% 1% 0%
Java 11.26 593,156 835 39.02 85% 88% 90% 88%
fasta
source secs mem gz cpu cpu load
Lisp SBCL 8.11 23,048 1751 8.10 1% 0% 1% 100%
Java 2.13 36,036 2457 5.66 94% 58% 59% 60%
Lisp SBCL

SBCL 1.3.16

Java

java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)