The Computer Language
Benchmarks Game

Lisp SBCL programs versus Java

by benchmark task performance

pidigits
secs KB gz cpu cpu load
Lisp SBCL 2.37 20,784 1073 2.37 1% 0% 1% 100%
Java 3.20 33,052 938 3.20 1% 1% 1% 100%
fannkuch-redux
secs KB gz cpu cpu load
Lisp SBCL 59.48 47,500 674 59.46 1% 0% 0% 100%
Java 69.27 47,784 1282 69.25 1% 0% 0% 100%
k-nucleotide
secs KB gz cpu cpu load
Lisp SBCL 33.02 163,092 2301 32.99 0% 1% 1% 100%
Java 34.83 1,124,104 1844 34.79 1% 1% 0% 100%
spectral-norm
secs KB gz cpu cpu load
Lisp SBCL 15.88 30,676 906 15.87 1% 0% 0% 100%
Java 16.22 32,332 950 16.22 0% 1% 1% 100%
n-body
secs KB gz cpu cpu load
Lisp SBCL 26.60 17,424 1398 26.60 0% 1% 0% 100%
Java 22.68 30,056 1424 22.67 0% 0% 1% 100%
mandelbrot
secs KB gz cpu cpu load
Lisp SBCL 28.54 68,904 2459 28.53 1% 0% 0% 100%
Java 23.93 91,684 796 23.92 1% 1% 1% 100%
reverse-complement
secs KB gz cpu cpu load
Lisp SBCL 2.27 302,336 896 2.26 1% 1% 3% 100%
Java 1.70 474,400 745 1.70 1% 1% 3% 99%
fasta
secs KB gz cpu cpu load
Lisp SBCL 7.63 17,284 1751 7.62 1% 1% 1% 100%
Java 5.15 31,376 1507 5.14 1% 1% 0% 100%
regex-dna
secs KB gz cpu cpu load
Lisp SBCL 44.43 578,924 1948 44.41 0% 2% 1% 100%
Java 21.40 575,372 1284 21.39 1% 0% 1% 100%
fasta-redux
secs KB gz cpu cpu load
Lisp SBCL 6.19 19,232 2005 6.18 0% 1% 0% 100%
Java 2.64 30,364 1443 2.63 2% 1% 1% 100%
binary-trees
secs KB gz cpu cpu load
Lisp SBCL 24.76 306,644 649 24.71 1% 1% 1% 100%
Java 7.39 414,024 583 7.38 1% 1% 1% 100%
Lisp SBCL

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

Java

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