The Computer Language
Benchmarks Game

Lisp SBCL programs versus Java

by benchmark task performance

pidigits
source secs KB gz cpu cpu load
Lisp SBCL 2.37 20,812 1073 2.36 0% 0% 100% 2%
Java 3.11 33,364 938 3.20 99% 2% 2% 2%
fannkuch-redux
source secs KB gz cpu cpu load
Lisp SBCL 16.70 47,360 1518 64.96 93% 98% 100% 100%
Java 17.34 30,084 1282 68.20 97% 98% 99% 99%
spectral-norm
source secs KB gz cpu cpu load
Lisp SBCL 4.12 29,180 906 15.78 97% 97% 97% 97%
Java 4.26 32,244 950 16.41 96% 98% 95% 97%
mandelbrot
source secs KB gz cpu cpu load
Lisp SBCL 7.77 67,744 2459 28.52 86% 100% 84% 99%
Java 7.14 88,236 796 27.93 97% 98% 98% 99%
n-body
source secs KB gz cpu cpu load
Lisp SBCL 26.98 16,460 1398 26.97 0% 1% 100% 0%
Java 22.53 28,212 1430 22.54 100% 7% 1% 1%
reverse-complement
source secs KB gz cpu cpu load
Lisp SBCL 2.27 304,892 896 2.26 100% 1% 2% 0%
Java 1.17 345,940 1661 2.42 41% 43% 57% 72%
binary-trees
source secs KB gz cpu cpu load
Lisp SBCL 24.50 354,192 649 24.45 1% 100% 1% 1%
Java 11.51 622,328 889 40.10 86% 86% 92% 87%
k-nucleotide
source secs KB gz cpu cpu load
Lisp SBCL 33.16 163,528 2301 33.12 100% 1% 1% 0%
Java 8.10 469,624 1802 25.75 97% 77% 76% 71%
fasta
source secs KB gz cpu cpu load
Lisp SBCL 9.73 16,552 1579 9.73 0% 1% 1% 100%
Java 2.20 37,072 2457 6.37 81% 68% 72% 72%
regex-dna
source secs KB gz cpu cpu load
Lisp SBCL 20.79 597,020 1948 44.68 41% 45% 41% 91%
Java 4.56 667,820 1085 12.16 60% 66% 56% 87%
Lisp SBCL

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

Java

java version "1.8.0_92"
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode)