The Computer Language
Benchmarks Game

Lisp SBCL programs versus C++ g++

by benchmark task performance

spectral-norm
source secs mem gz cpu cpu load
Lisp SBCL 15.92 23,532 906 15.87 1% 1% 1% 100%
C++ g++ 7.93 2,288 1044 7.92 1% 1% 0% 100%
binary-trees
source secs mem gz cpu cpu load
Lisp SBCL 14.66 199,060 649 14.64 0% 1% 1% 100%
C++ g++ 6.86 76,616 846 6.85 0% 1% 0% 100%
fannkuch-redux
source secs mem gz cpu cpu load
Lisp SBCL 56.01 32,304 674 55.99 1% 1% 0% 100%
C++ g++ 24.65 556 1150 24.64 1% 1% 0% 100%
reverse-complement
source secs mem gz cpu cpu load
Lisp SBCL 2.78 219,468 896 2.78 0% 1% 0% 100%
C++ g++ 1.02 247,604 2275 1.01 2% 0% 0% 100%
k-nucleotide
source secs mem gz cpu cpu load
Lisp SBCL 65.77 199,140 2272 65.69 0% 1% 1% 100%
C++ g++ 24.04 137,908 1252 23.98 1% 1% 0% 100%
fasta
source secs mem gz cpu cpu load
Lisp SBCL 11.86 12,828 1579 11.85 0% 1% 1% 100%
C++ g++ 4.21 1,336 1105 4.20 1% 1% 0% 100%
mandelbrot
source secs mem gz cpu cpu load
Lisp SBCL 75.24 51,288 888 75.22 1% 1% 1% 100%
C++ g++ 20.11 33,768 726 20.10 0% 1% 1% 100%
n-body
source secs mem gz cpu cpu load
Lisp SBCL 37.92 12,824 1398 37.90 1% 0% 0% 100%
C++ g++ 8.96 816 1545 8.95 1% 1% 0% 100%
pidigits
source secs mem gz cpu cpu load
Lisp SBCL 13.26 171,128 493 13.23 0% 1% 1% 100%
C++ g++ 2.27 3,440 508 2.27 0% 1% 1% 100%
Lisp SBCL

SBCL 1.3.10

C++ g++

g++ (Ubuntu 5.4.0-6ubuntu1~16.04.1) 5.4.0 20160609