1 : Are the Lisp SBCL programs faster? At a glance.

Each chart bar shows, for one unidentified benchmark, how much the fastest Lisp SBCL program used compared to the fastest Haskell GHC program.

(Memory use is only compared for tasks that require memory to be allocated.)


These are not the only compilers and interpreters. These are not the only programs that could be written. These are not the only tasks that could be solved. These are just 10 tiny examples.

 2 : Are the Lisp SBCL programs faster? Approximately.

Each table row shows, for one named benchmark, how much the fastest Lisp SBCL program used compared to the fastest Haskell GHC program.

(Memory use is only compared for tasks that require memory to be allocated.)

 Lisp SBCL used what fraction? used how many times more? 
Benchmark Time Memory Code
 pidigits± 
 fannkuch-redux± 1/2
 binary-trees±±±
 spectral-norm± ±
 k-nucleotide±1/3±
 mandelbrot± 
 regex-dna±
 n-body ±
 fasta 
 reverse-complement±
 Lisp SBCL used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)±±±±

± read the measurements and then read the program source code.

 3 : Are the Lisp SBCL programs faster? Measurements.

These are not the only tasks that could be solved. These are just 10 tiny examples. These are not the only compilers and interpreters. These are not the only programs that could be written.

For each named benchmark, measurements of the fastest Lisp SBCL program are shown for comparison against measurements of the fastest Haskell GHC program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 pidigits 
Lisp SBCL2.772.778,6041073  1% 0% 1% 100%
Haskell GHC2.962.965,676341  0% 1% 0% 100%
 fannkuch-redux 
Lisp SBCL59.0459.0522,576674  1% 0% 0% 100%
Haskell GHC62.2462.261,9881153  0% 0% 1% 100%
 binary-trees 
Lisp SBCL17.5417.57162,904649  1% 1% 1% 100%
Haskell GHC18.2318.25173,344612  0% 1% 1% 100%
 spectral-norm 
Lisp SBCL15.8815.8920,208906  1% 0% 1% 100%
Haskell GHC15.7015.701,184984  0% 1% 0% 100%
 k-nucleotide 
Lisp SBCL67.0767.13111,1882301  0% 0% 1% 100%
Haskell GHC64.2364.30324,4241965  0% 1% 0% 100%
 mandelbrot 
Lisp SBCL66.8766.8854,3122459  0% 0% 1% 100%
Haskell GHC47.7947.8134,980782  0% 1% 0% 100%
 regex-dna 
Lisp SBCL42.5842.60611,6681948  0% 0% 1% 100%
Haskell GHC28.1828.19241,3721518  0% 0% 1% 100%
 n-body 
Lisp SBCL38.2438.258,0081398  1% 0% 0% 100%
Haskell GHC24.2024.222,2401874  1% 0% 1% 100%
 fasta 
Lisp SBCL8.218.217,9801751  0% 0% 1% 100%
Haskell GHC3.353.352,504979  1% 1% 0% 100%
 reverse-complement 
Lisp SBCL3.203.21212,144896  0% 1% 1% 100%
Haskell GHC1.221.22125,892999  0% 2% 2% 100%
 fasta-redux 
Lisp SBCL0.100.11?2005  9% 0% 0% 100%
No program

 4 : Are there other Lisp SBCL programs for these benchmarks?

Remember - those are just the fastest Lisp SBCL and Haskell GHC programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for Lisp SBCL.

Maybe one of those other Lisp SBCL programs is fastest on a different OS/machine.

 5 : Are there other faster programs for these benchmarks?

Remember - those are just the fastest Lisp SBCL and Haskell GHC programs measured on this OS/machine. Check if there are faster implementations of these benchmark programs for other programming languages.

Maybe one of those other programs is fastest on a different OS/machine.

 Lisp SBCL : pioneering s-expression oriented programming 

online book Practical Common Lisp

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

Home Page: http://sbcl.sourceforge.net/

Download: http://sbcl.sourceforge.net/

Revised BSD license

  Home   Conclusions   License   Play