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.79 25,164 940 1.79 3% 2% 1% 100%
Java 3.12 37,444 938 3.30 2% 5% 98% 4%
spectral-norm
source secs mem gz cpu cpu load
Lisp SBCL 4.39 34,312 893 15.94 92% 90% 91% 92%
Java 4.25 36,364 950 16.30 97% 96% 95% 97%
fannkuch-redux
source secs mem gz cpu cpu load
Lisp SBCL 16.33 48,200 1518 63.53 98% 93% 100% 100%
Java 15.09 34,764 1282 59.26 99% 98% 98% 100%
n-body
source secs mem gz cpu cpu load
Lisp SBCL 27.28 22,344 1398 27.28 1% 1% 0% 100%
Java 22.56 35,208 1424 22.65 99% 1% 1% 1%
mandelbrot
source secs mem gz cpu cpu load
Lisp SBCL 7.85 72,308 2459 28.53 91% 93% 100% 83%
Java 6.08 77,056 796 23.61 97% 97% 99% 97%
k-nucleotide
source secs mem gz cpu cpu load
Lisp SBCL 17.02 530,460 2467 62.38 89% 100% 89% 89%
Java 8.38 375,988 1802 26.25 73% 97% 70% 74%
reverse-complement
source secs mem gz cpu cpu load
Lisp SBCL 2.43 405,052 896 2.43 100% 0% 1% 1%
Java 1.13 199,672 2124 2.76 48% 74% 70% 54%
regex-redux
source secs mem gz cpu cpu load
Lisp SBCL 28.07 761,376 1961 52.62 47% 41% 40% 62%
Java 10.38 634,548 929 29.48 70% 64% 69% 82%
binary-trees
source secs mem gz cpu cpu load
Lisp SBCL 26.90 536,352 594 26.86 0% 1% 1% 100%
Java 8.58 966,808 835 28.98 86% 84% 90% 81%
fasta
source secs mem gz cpu cpu load
Lisp SBCL 7.45 23,984 1751 7.45 0% 0% 0% 100%
Java 2.32 46,816 2457 6.37 61% 60% 96% 60%
Lisp SBCL

SBCL 1.3.21

Java

java 9
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)