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 20,196 940 1.79 1% 2% 1% 100%
Java 3.13 36,984 938 3.36 4% 4% 99% 3%
fannkuch-redux
source secs mem gz cpu cpu load
Lisp SBCL 15.69 32,332 1527 60.61 97% 92% 98% 99%
Java 18.27 31,820 1282 72.06 99% 99% 98% 98%
binary-trees
source secs mem gz cpu cpu load
Lisp SBCL 8.49 369,508 943 21.44 62% 62% 77% 58%
Java 8.39 933,808 835 28.28 82% 86% 84% 88%
spectral-norm
source secs mem gz cpu cpu load
Lisp SBCL 4.55 19,324 890 15.83 89% 89% 85% 87%
Java 4.38 35,388 950 16.80 96% 96% 95% 97%
n-body
source secs mem gz cpu cpu load
Lisp SBCL 27.13 17,668 1403 27.12 100% 1% 0% 0%
Java 22.17 33,040 1489 22.27 100% 1% 0% 1%
mandelbrot
source secs mem gz cpu cpu load
Lisp SBCL 7.87 49,432 2473 28.68 84% 100% 83% 99%
Java 6.10 76,520 796 23.59 97% 98% 98% 96%
k-nucleotide
source secs mem gz cpu cpu load
Lisp SBCL 17.62 511,476 2479 63.52 87% 87% 87% 100%
Java 8.75 385,056 1812 27.09 85% 72% 70% 85%
reverse-complement
source secs mem gz cpu cpu load
Lisp SBCL 11.31 1,406,764 904 11.29 0% 100% 2% 0%
Java 3.15 680,424 2183 7.07 52% 70% 43% 63%
fasta
source secs mem gz cpu cpu load
Lisp SBCL 10.19 17,700 1587 10.18 0% 34% 67% 0%
Java 2.27 43,628 2473 5.93 51% 75% 57% 81%
regex-redux
source secs mem gz cpu cpu load
Lisp SBCL   Failed
Java 0.66 45,016 929 2.03 94% 72% 77% 71%
Lisp SBCL

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

Java

java 10 2018-03-20
Java(TM) SE Runtime Environment 18.3 (build 10+46)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)