The Computer Language
Benchmarks Game

Lisp SBCL programs versus Java

by benchmark task performance

pidigits
secs KB gz cpu cpu load
Lisp SBCL 2.75 16,388 1073 2.75 0% 1% 1% 100%
Java 4.14 26,616 938 4.14 2% 0% 1% 100%
fannkuch-redux
secs KB gz cpu cpu load
Lisp SBCL 57.44 34,304 674 57.42 0% 0% 1% 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,004 906 15.85 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 17.64 157,636 649 17.60 0% 1% 1% 100%
Java 16.35 526,588 584 16.33 1% 1% 0% 100%
reverse-complement
secs KB gz cpu cpu load
Lisp SBCL 2.83 229,352 896 2.83 1% 0% 0% 100%
Java 1.80 522,620 745 1.80 3% 1% 1% 99%
n-body
secs KB gz cpu cpu load
Lisp SBCL 38.24 14,560 1398 38.23 1% 0% 1% 100%
Java 24.33 24,036 1424 24.32 1% 0% 0% 100%
regex-dna
secs KB gz cpu cpu load
Lisp SBCL 44.04 669,204 1948 43.96 0% 0% 1% 100%
Java 20.80 567,404 1284 20.79 0% 0% 1% 100%
fasta
secs KB gz cpu cpu load
Lisp SBCL 11.67 14,404 1579 11.67 1% 0% 0% 100%
Java 4.81 24,836 1507 4.80 1% 1% 0% 100%
mandelbrot
secs KB gz cpu cpu load
Lisp SBCL 75.24 54,380 888 75.21 1% 1% 0% 100%
Java 27.19 88,448 796 27.18 1% 0% 1% 100%
k-nucleotide
secs KB gz cpu cpu load
Lisp SBCL 70.05 122,992 2301 69.97 1% 1% 1% 100%
Java 23.60 257,300 2568 23.58 0% 0% 1% 100%
fasta-redux
secs KB gz cpu cpu load
Lisp SBCL 8.92 17,140 2005 8.91 1% 0% 0% 100%
Java 2.05 24,576 1443 2.04 1% 0% 0% 100%
Lisp SBCL

This is SBCL 1.3.4, 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)