/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 Java 7 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 Java 7 program.

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

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

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 pidigits 
Lisp SBCL2.382.385,7121073  2% 0% 1% 100%
Java 75.905.9163,3441826  0% 0% 0% 100%
 k-nucleotide 
Lisp SBCL36.9737.01138,3082301  0% 0% 0% 100%
Java 750.5050.55451,2081602  0% 0% 0% 100%
 fannkuch-redux 
Lisp SBCL52.6252.6421,2041518  0% 0% 0% 100%
Java 770.1870.2017,1681282  0% 0% 0% 100%
 spectral-norm 
Lisp SBCL15.7115.725,968906  0% 0% 0% 100%
Java 717.0017.0018,320514  0% 0% 0% 100%
 n-body 
Lisp SBCL26.5726.585,0481398  0% 0% 0% 100%
Java 722.5122.5217,0161424  0% 0% 0% 100%
 mandelbrot 
Lisp SBCL28.5028.5136,2082459  0% 0% 0% 100%
Java 723.7923.8069,816796  0% 0% 0% 100%
 binary-trees 
Lisp SBCL20.7220.76448,628649  0% 0% 1% 100%
Java 716.3716.42499,404603  0% 1% 0% 100%
 reverse-complement 
Lisp SBCL2.352.36298,944896  1% 0% 1% 100%
Java 71.791.83514,504745  0% 1% 0% 99%
 fasta 
Lisp SBCL7.467.475,0521751  0% 0% 0% 100%
Java 75.185.1918,1321507  0% 0% 0% 100%
 regex-dna 
Lisp SBCL44.4444.47884,7441948  0% 0% 0% 100%
Java 723.1123.17561,7321284  0% 0% 0% 100%
 fasta-redux 
Lisp SBCL6.056.066,1002005  0% 0% 0% 100%
Java 72.552.5617,2641443  1% 1% 0% 100%

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

Remember - those are just the fastest Lisp SBCL and Java 7 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 Java 7 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