/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
 pidigits †1/21/101/2
 fannkuch-redux±±±
 spectral-norm±1/3±
 n-body1/3±
 fasta1/2±
 binary-trees †1/21/2
 regex-dna±
 mandelbrot1/2
 reverse-complement †1/21/2
 fasta-redux1/2±
 k-nucleotide †1/5±
 Lisp SBCL used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/21/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 Java 7 program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 pidigits 
Lisp SBCL2.762.774,8841073  1% 0% 0% 100% †
Java 711.755.1246,4881826  70% 67% 56% 39% †
 fannkuch-redux 
Lisp SBCL57.3014.7714,1121518  98% 99% 97% 94%
Java 767.9117.1714,4601282  98% 99% 100% 100%
 spectral-norm 
Lisp SBCL15.754.024,488906  98% 98% 99% 98%
Java 716.394.2114,740950  97% 97% 98% 99%
 n-body 
Lisp SBCL37.5537.564,0881398  0% 0% 0% 100%
Java 724.4124.3913,9761424  0% 0% 0% 100%
 fasta 
Lisp SBCL8.178.188,2721751  0% 0% 0% 100%
Java 75.074.9914,9761507  2% 0% 100% 1%
 binary-trees 
Lisp SBCL20.4120.45220,104649  83% 0% 18% 0% †
Java 721.359.21525,4201007  50% 70% 48% 65% †
 regex-dna 
Lisp SBCL46.1222.59946,4441948  35% 42% 43% 86%
Java 727.099.43708,060929  65% 83% 78% 63%
 mandelbrot 
Lisp SBCL67.1316.9535,3002459  99% 99% 99% 99%
Java 727.146.9067,612796  98% 98% 99% 99%
 reverse-complement 
Lisp SBCL4.784.79164,812896  0% 98% 2% 0% †
Java 72.931.52294,7841661  32% 59% 58% 47% †
 fasta-redux 
Lisp SBCL9.249.259,3562005  0% 1% 0% 100%
Java 71.901.8514,5001443  1% 2% 3% 100%
 k-nucleotide 
Lisp SBCL69.1469.22105,2442272  0% 0% 0% 100% †
Java 744.8312.93494,2641602  84% 81% 85% 99% †

† 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 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