The Computer Language
Benchmarks Game

Clojure programs versus Lisp SBCL

by benchmark task performance

pidigits
source secs mem gz cpu cpu load
Clojure 5.43 409,644 1794 8.02 16% 37% 26% 71%
Lisp SBCL 11.88 339,372 493 11.85 1% 0% 0% 100%
binary-trees
source secs mem gz cpu cpu load
Clojure 13.81 615,132 750 45.65 85% 83% 88% 76%
Lisp SBCL 21.10 353,248 649 21.06 1% 100% 0% 0%
fasta
source secs mem gz cpu cpu load
Clojure 6.49 71,088 1653 7.80 13% 88% 9% 13%
Lisp SBCL 7.98 23,196 1751 7.98 1% 1% 1% 100%
regex-redux
source secs mem gz cpu cpu load
Clojure 25.10 933,524 719 45.68 55% 58% 24% 47%
Lisp SBCL 28.64 767,024 1961 52.91 69% 32% 50% 36%
k-nucleotide
source secs mem gz cpu cpu load
Clojure 30.42 1,012,240 3030 98.48 84% 88% 76% 77%
Lisp SBCL 32.92 168,840 2301 32.88 1% 0% 1% 100%
n-body
source secs mem gz cpu cpu load
Clojure 26.36 80,540 2162 27.52 2% 2% 97% 4%
Lisp SBCL 28.49 23,196 1398 28.48 0% 1% 100% 0%
mandelbrot
source secs mem gz cpu cpu load
Clojure 8.94 156,448 1195 31.73 88% 88% 89% 91%
Lisp SBCL 7.83 71,292 2459 28.53 99% 91% 99% 83%
fannkuch-redux
source secs mem gz cpu cpu load
Clojure 19.84 72,936 1491 76.27 99% 96% 95% 95%
Lisp SBCL 16.81 49,124 1518 65.36 99% 98% 97% 95%
reverse-complement
source secs mem gz cpu cpu load
Clojure 2.65 579,024 727 4.05 55% 20% 58% 23%
Lisp SBCL 2.11 406,464 896 2.11 0% 0% 100% 0%
spectral-norm
source secs mem gz cpu cpu load
Clojure 5.23 63,380 918 18.38 85% 87% 86% 95%
Lisp SBCL 4.08 34,916 883 15.72 98% 98% 98% 97%
Clojure

Clojure 1.8.0

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)

Lisp SBCL

SBCL 1.3.15