The Computer Language
Benchmarks Game

Lisp SBCL programs versus Java

by benchmark task performance

pidigits
secs KB gz cpu cpu load
Lisp SBCL 2.77 16,304 1073 2.76 0% 1% 2% 100%
Java 4.14 26,616 938 4.14 2% 0% 1% 100%
fannkuch-redux
secs KB gz cpu cpu load
Lisp SBCL 61.60 34,900 1518 61.58 1% 0% 0% 100%
Java 67.66 26,644 1282 67.63 1% 1% 0% 100%
spectral-norm
secs KB gz cpu cpu load
Lisp SBCL 15.93 25,300 906 15.92 1% 0% 1% 100%
Java 16.37 26,876 950 16.36 1% 1% 0% 100%
binary-trees
secs KB gz cpu cpu load
Lisp SBCL 18.23 154,984 649 18.20 0% 1% 1% 100%
Java 16.35 526,588 584 16.33 1% 1% 0% 100%
n-body
secs KB gz cpu cpu load
Lisp SBCL 38.13 14,636 1398 38.12 1% 0% 0% 100%
Java 24.33 24,036 1424 24.32 1% 0% 0% 100%
fasta
secs KB gz cpu cpu load
Lisp SBCL 7.98 20,268 1751 7.98 1% 1% 1% 100%
Java 4.81 24,836 1507 4.80 1% 1% 0% 100%
reverse-complement
secs KB gz cpu cpu load
Lisp SBCL 3.28 160,028 896 3.27 1% 0% 2% 100%
Java 1.80 522,620 745 1.80 3% 1% 1% 99%
k-nucleotide
secs KB gz cpu cpu load
Lisp SBCL 66.80 123,312 2301 66.72 0% 1% 1% 100%
Java 33.48 1,190,032 1844 33.44 1% 1% 0% 100%
regex-dna
secs KB gz cpu cpu load
Lisp SBCL 44.11 645,368 1948 44.08 0% 0% 1% 100%
Java 20.80 567,404 1284 20.79 0% 0% 1% 100%
mandelbrot
secs KB gz cpu cpu load
Lisp SBCL 75.50 52,728 888 75.48 1% 1% 0% 100%
Java 27.19 88,448 796 27.18 1% 0% 1% 100%
fasta-redux
secs KB gz cpu cpu load
Lisp SBCL 9.04 22,416 2005 9.04 1% 0% 1% 100%
Java 2.05 24,576 1443 2.04 1% 0% 0% 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) Server VM (build 25.45-b02, mixed mode)