/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/111/2
 spectral-norm±1/3±
 fannkuch-redux±±±
 mandelbrot±1/2
 n-body±1/3±
 fasta±1/4±
 reverse-complement †±1/2
 binary-trees †±1/2
 fasta-redux1/3±
 regex-dna±
 k-nucleotide †1/3±
 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.382.385,7121073  0% 0% 0% 100% †
Java 710.204.2960,5201808  68% 62% 65% 45% †
 spectral-norm 
Lisp SBCL15.754.025,860883  98% 98% 98% 98%
Java 717.614.5117,540950  97% 97% 99% 98%
 fannkuch-redux 
Lisp SBCL53.4213.8121,1881518  98% 99% 97% 93%
Java 751.9013.1517,3481282  99% 99% 98% 98%
 mandelbrot 
Lisp SBCL28.528.0536,3762459  75% 86% 96% 100%
Java 727.827.0769,460796  99% 98% 99% 98%
 n-body 
Lisp SBCL26.7426.755,0481398  0% 0% 0% 100%
Java 722.5122.5017,2561424  0% 0% 100% 0%
 fasta 
Lisp SBCL7.457.455,0521751  0% 0% 100% 0%
Java 75.215.1418,2841507  0% 1% 1% 100%
 reverse-complement 
Lisp SBCL2.352.36298,944896  1% 1% 0% 100% †
Java 72.791.31298,4041661  61% 77% 40% 39% †
 binary-trees 
Lisp SBCL20.5020.54439,708649  1% 0% 100% 0% †
Java 722.319.24523,7841007  37% 65% 58% 83% †
 fasta-redux 
Lisp SBCL6.056.066,1002005  0% 0% 0% 100%
Java 72.562.5217,3081443  0% 1% 1% 100%
 regex-dna 
Lisp SBCL45.4221.81818,6281948  41% 39% 89% 41%
Java 724.828.55709,672929  65% 82% 65% 79%
 k-nucleotide 
Lisp SBCL37.0837.13138,3122301  0% 0% 0% 100% †
Java 746.3913.25450,9721630  86% 84% 96% 85% †

† 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