/mobile Handheld Friendly website

vs

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

(Memory use is only compared for tasks that require memory to be allocated.)


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

(Memory use is only compared for tasks that require memory to be allocated.)

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

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

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 pidigits 
Lisp SBCL2.372.375,7121073  1% 2% 5% 100%
Java3.173.0323,504938  19% 80% 5% 3%
 spectral-norm 
Lisp SBCL15.734.025,836883  98% 98% 98% 98%
Java17.804.5921,132950  97% 96% 99% 96%
 fannkuch-redux 
Lisp SBCL64.1616.5221,4401518  92% 97% 99% 100%
Java70.0617.7319,7201282  99% 99% 98% 99%
 mandelbrot 
Lisp SBCL28.407.7136,2082459  100% 84% 88% 97%
Java27.847.1162,344796  98% 97% 98% 100%
 n-body 
Lisp SBCL28.7628.775,0401398  1% 0% 0% 100%
Java22.9022.8719,5721424  99% 1% 1% 1%
 fasta 
Lisp SBCL7.647.655,0321751  100% 1% 0% 1%
Java5.375.2820,6681507  1% 70% 1% 31%
 binary-trees 
Lisp SBCL20.9420.97350,456649  0% 1% 100% 1% †
Java24.8914.48390,708584  34% 73% 38% 30% †
 reverse-complement 
Lisp SBCL2.552.56372,800896  0% 2% 100% 1% †
Java2.971.47300,7121661  47% 37% 78% 43% †
 fasta-redux 
Lisp SBCL5.665.675,8282005  1% 1% 100% 0%
Java2.632.5819,9601443  77% 1% 24% 2%
 regex-dna 
Lisp SBCL41.0219.36929,6361948  91% 38% 43% 41%
Java24.528.59707,744929  80% 64% 79% 64%
 k-nucleotide 
Lisp SBCL37.0837.12138,4882272  0% 1% 1% 100% †
Java44.8512.81504,3121602  93% 86% 87% 84% †

† 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 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 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.13, an implementation of ANSI Common Lisp.

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

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

Revised BSD license

  Home   Conclusions   License   Play