The Computer Language
Benchmarks Game

Lisp SBCL programs versus Java

by benchmark task performance

fannkuch-redux
source secs mem gz cpu cpu load
Lisp SBCL 16.81 49,124 1518 65.36 99% 98% 97% 95%
Java 17.74 30,048 1282 69.90 98% 98% 100% 99%
spectral-norm
source secs mem gz cpu cpu load
Lisp SBCL 4.08 34,916 883 15.72 98% 98% 98% 97%
Java 4.29 31,428 950 16.56 97% 96% 98% 97%
n-body
source secs mem gz cpu cpu load
Lisp SBCL 28.49 23,196 1398 28.48 0% 1% 100% 0%
Java 21.50 27,240 1489 21.52 1% 1% 100% 0%
mandelbrot
source secs mem gz cpu cpu load
Lisp SBCL 7.83 71,292 2459 28.53 99% 91% 99% 83%
Java 5.89 89,504 796 23.08 98% 98% 98% 99%
binary-trees
source secs mem gz cpu cpu load
Lisp SBCL 21.10 353,248 649 21.06 1% 100% 0% 0%
Java 11.52 643,924 889 40.54 89% 92% 85% 89%
reverse-complement
source secs mem gz cpu cpu load
Lisp SBCL 2.11 406,464 896 2.11 0% 0% 100% 0%
Java 1.11 345,308 1661 2.44 33% 58% 54% 80%
regex-redux
source secs mem gz cpu cpu load
Lisp SBCL 28.64 767,024 1961 52.91 69% 32% 50% 36%
Java 12.16 927,212 929 37.28 73% 81% 75% 78%
fasta
source secs mem gz cpu cpu load
Lisp SBCL 7.98 23,196 1751 7.98 1% 1% 1% 100%
Java 2.14 36,192 2457 5.68 71% 58% 62% 77%
pidigits
source secs mem gz cpu cpu load
Lisp SBCL 11.88 339,372 493 11.85 1% 0% 0% 100%
Java 3.06 31,088 938 3.16 0% 3% 9% 92%
k-nucleotide
source secs mem gz cpu cpu load
Lisp SBCL 32.92 168,840 2301 32.88 1% 0% 1% 100%
Java 8.02 467,004 1802 25.57 76% 98% 73% 74%
Lisp SBCL

SBCL 1.3.15

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)