/mobile Handheld Friendly website

÷

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

This chart shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.

Each chart bar shows, for one unidentified benchmark, how much the fastest Lisp SBCL program used compared to the fastest Java 7 -server program.


Look at speed another way - look at a box plot of Time-used data.

 Step 2 : Are the Lisp SBCL programs faster? Approximately.

This table shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.

Each table row shows, for one named benchmark, how much the fastest Lisp SBCL program used compared to the fastest Java 7 -server program.

 Lisp SBCL used what fraction? used how many times more? 
Benchmark Time Memory Code
 pidigits1/21/111/2
 spectral-norm±1/3±
 n-body±±
 fannkuch-redux±±±
 mandelbrot±1/2
 reverse-complement±1/2
 fasta±±
 fasta-redux1/2±
 binary-trees±1/2
 regex-dna±±
 k-nucleotide1/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.

 Step 3 : Are the Lisp SBCL programs faster? Measurements.

This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ≈ CPU Load ~ speed and size.

For each named benchmark, measurements of the fastest Lisp SBCL program are shown for comparison against measurements of the fastest Java 7 -server program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 pidigits 
Lisp SBCL2.342.345,8041073  0% 0% 100% 0%
Java 7 -server10.614.4363,1561826  71% 69% 52% 45%
 spectral-norm 
Lisp SBCL15.763.985,804906  99% 99% 99% 99%
Java 7 -server17.624.5017,716950  98% 99% 98% 98%
 n-body 
Lisp SBCL23.0923.1131,4681398  0% 0% 100% 0%
Java 7 -server22.5222.5016,9201424  0% 100% 0% 0%
 fannkuch-redux 
Lisp SBCL54.1113.9522,1921518  99% 98% 97% 94%
Java 7 -server53.1913.4717,4161282  98% 100% 98% 100%
 mandelbrot 
Lisp SBCL28.547.3636,3202459  97% 94% 99% 99%
Java 7 -server23.976.1069,360796  98% 99% 98% 98%
 reverse-complement 
Lisp SBCL2.502.52312,864896  0% 0% 100% 0%
Java 7 -server2.741.31298,2201661  45% 54% 37% 79%
 fasta 
Lisp SBCL9.849.8518,9681579  0% 0% 0% 100%
Java 7 -server5.225.1418,1761507  0% 100% 1% 1%
 fasta-redux 
Lisp SBCL5.735.737,0842005  0% 0% 100% 0%
Java 7 -server2.562.5117,3041443  0% 100% 1% 1%
 binary-trees 
Lisp SBCL26.2726.34435,856649  0% 0% 0% 100%
Java 7 -server22.869.41516,1441007  83% 41% 64% 57%
 regex-dna 
Lisp SBCL46.2822.49949,8401948  36% 43% 90% 38%
Java 7 -server23.366.63636,9241410  92% 87% 88% 86%
 k-nucleotide 
Lisp SBCL37.4237.47138,6882301  0% 0% 100% 0%
Java 7 -server29.238.03463,5162431  90% 98% 89% 89%

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

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

 Step 5 : Are there other faster programs for these benchmarks?

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

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

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

Revised BSD license

  Home   Conclusions   License   Help