/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/101/2
 fannkuch-redux±±±
 spectral-norm±1/3±
 n-body±±
 binary-trees1/21/2
 regex-dna±
 fasta±
 mandelbrot1/2
 reverse-complement1/21/2
 fasta-redux±±
 k-nucleotide1/4±
 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.782.784,7721073  0% 0% 1% 100%
Java 7 -server12.365.1647,3481826  60% 61% 61% 54%
 fannkuch-redux 
Lisp SBCL56.5514.6314,9441518  99% 99% 94% 97%
Java 7 -server67.7317.1314,2081282  98% 99% 99% 100%
 spectral-norm 
Lisp SBCL15.753.984,496906  99% 99% 100% 99%
Java 7 -server16.384.2114,556950  97% 97% 99% 98%
 n-body 
Lisp SBCL35.8135.8230,4641398  0% 0% 0% 100%
Java 7 -server24.3724.3413,9321424  0% 0% 0% 100%
 binary-trees 
Lisp SBCL21.0021.03231,912649  0% 0% 0% 100%
Java 7 -server23.899.78532,9321007  61% 77% 45% 63%
 regex-dna 
Lisp SBCL45.9021.82838,9441948  42% 37% 41% 90%
Java 7 -server28.9210.07708,180929  65% 64% 83% 76%
 fasta 
Lisp SBCL12.9412.9530,2681579  0% 0% 0% 100%
Java 7 -server4.954.8614,9761507  1% 0% 100% 1%
 mandelbrot 
Lisp SBCL66.7618.5835,3762459  99% 80% 98% 82%
Java 7 -server27.156.8967,832796  98% 99% 99% 99%
 reverse-complement 
Lisp SBCL4.114.12175,984896  0% 0% 1% 100%
Java 7 -server2.881.52294,6561661  56% 74% 46% 16%
 fasta-redux 
Lisp SBCL9.159.159,6762005  0% 0% 0% 100%
Java 7 -server1.891.8414,4201443  1% 2% 3% 100%
 k-nucleotide 
Lisp SBCL69.7969.85105,2082301  0% 0% 100% 0%
Java 7 -server34.659.39381,1762431  92% 89% 97% 92%

 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