The Computer Language
Benchmarks Game

Lisp SBCL versus Java fastest programs

by faster benchmark performance

reverse-complement
source secs mem gz cpu cpu load
Lisp SBCL 0.04 8 904 0.03 0% 0% 0% 100%
Java 1.93 ? 2183 ? 31% 3% 29% 22%
fannkuch-redux
source secs mem gz cpu cpu load
Lisp SBCL 15.56 32,508 1527 60.18 100% 92% 99% 98%
Java 17.98 31,180 1282 70.57 97% 99% 97% 99%
spectral-norm
source secs mem gz cpu cpu load
Lisp SBCL 4.00 16,516 890 15.73 99% 99% 98% 99%
Java 4.26 33,572 950 16.39 96% 96% 98% 95%
n-body
source secs mem gz cpu cpu load
Lisp SBCL 26.25 17,500 1403 26.24 100% 1% 1% 0%
Java 22.00 32,272 1489 22.07 1% 0% 0% 100%
mandelbrot
source secs mem gz cpu cpu load
Lisp SBCL 8.89 49,800 2473 32.37 100% 84% 82% 100%
Java 6.96 76,316 796 27.06 97% 97% 97% 97%
binary-trees
source secs mem gz cpu cpu load
Lisp SBCL 11.45 288,612 943 24.01 42% 51% 65% 55%
Java 8.39 960,056 835 27.39 81% 85% 74% 90%
k-nucleotide
source secs mem gz cpu cpu load
Lisp SBCL 17.37 542,076 2479 62.93 89% 100% 87% 88%
Java 8.74 470,116 1812 27.12 71% 73% 93% 74%
fasta
source secs mem gz cpu cpu load
Lisp SBCL 7.82 17,472 1757 7.81 0% 100% 1% 0%
Java 2.32 42,212 2473 6.30 65% 85% 47% 76%
pidigits
source secs mem gz cpu cpu load
Lisp SBCL 12.29 129,312 493 12.27 0% 1% 100% 1%
Java 3.13 37,376 938 3.35 1% 98% 4% 6%
regex-redux
source secs mem gz cpu cpu load
Lisp SBCL   Failed
Java 2.67 39,376 929 2.01 37% 21% 51% 37%
Lisp SBCL

SBCL 1.4.13

Java

openjdk 11 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)