/mobile Handheld Friendly website

÷

 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 Clojure program.


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 Clojure program.

 Lisp SBCL used what fraction? used how many times more? 
Benchmark Time Memory Code
 pidigits †1/91/15
 fannkuch-redux1/41/3±
 mandelbrot1/21/3
 fasta-redux1/21/9±
 reverse-complement †±±±
 fasta±1/13±
 spectral-norm±1/10±
 regex-dna±±
 n-body±1/101/2
 k-nucleotide †±1/7±
 binary-trees †±±±
 Lisp SBCL used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/91/91/2±±±±

† possible mismatch - one-core program compared to multi-core program.

± 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 Clojure program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 pidigits 
Lisp SBCL2.382.385,7121073  0% 0% 0% 100% †
Clojure25.9321.1986,184571  40% 10% 29% 42% †
 fannkuch-redux 
Lisp SBCL53.4213.8121,1881518  98% 99% 97% 93%
Clojure156.2048.9655,2161088  80% 79% 77% 79%
 mandelbrot 
Lisp SBCL28.528.0536,3762459  75% 86% 96% 100%
Clojure54.3114.6895,5561069  96% 91% 92% 92%
 fasta-redux 
Lisp SBCL6.056.066,1002005  0% 0% 0% 100%
Clojure10.899.2754,8841503  6% 97% 8% 7%
 reverse-complement 
Lisp SBCL2.352.36298,944896  1% 1% 0% 100% †
Clojure4.633.49336,6641044  28% 80% 9% 17% †
 fasta 
Lisp SBCL7.457.455,0521751  0% 0% 100% 0%
Clojure11.9110.5963,3121839  6% 68% 33% 6%
 spectral-norm 
Lisp SBCL15.754.025,860883  98% 98% 98% 98%
Clojure18.755.5158,160808  85% 89% 86% 81%
 regex-dna 
Lisp SBCL45.4221.81818,6281948  41% 39% 89% 41%
Clojure49.7325.08554,628710  44% 32% 40% 82%
 n-body 
Lisp SBCL26.7426.755,0481398  0% 0% 0% 100%
Clojure27.2026.1650,6882162  97% 2% 2% 4%
 k-nucleotide 
Lisp SBCL37.0837.13138,3122301  0% 0% 0% 100% †
Clojure111.6234.801,006,6403030  84% 74% 84% 80% †
 binary-trees 
Lisp SBCL20.5020.54439,708649  1% 0% 100% 0% †
Clojure25.9518.33531,756705  71% 15% 15% 43% †

† possible mismatch - one-core program compared to multi-core program.

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

Remember - those are just the fastest Lisp SBCL and Clojure 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 Clojure 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.1.7, an implementation of ANSI Common Lisp.

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

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

Revised BSD license

  Home   Conclusions   License   Play