vs

 1 : Are the Racket programs faster? At a glance.

Each chart bar shows, for one unidentified benchmark, how much the fastest Racket program used compared to the fastest Lisp SBCL 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 Racket programs faster? Approximately.

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

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

 Racket used what fraction? used how many times more? 
Benchmark Time Memory Code
 mandelbrot± 1/3
 pidigits± ±
 spectral-norm± ±
 n-body± ±
 binary-trees±±±
 reverse-complement±±
 fasta ±
 regex-dna †±1/4
 k-nucleotide13×1/4
 fannkuch-redux ±
 Racket 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 Racket 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 Racket program are shown for comparison against measurements of the fastest Lisp SBCL program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 mandelbrot 
Racket78.2419.7651,112796  99% 99% 100% 99%
Lisp SBCL93.2626.0751,9402459  99% 100% 80% 80%
 pidigits 
Racket3.083.0918,4721122  0% 1% 100% 1%
Lisp SBCL2.772.776,4761073  0% 2% 1% 100%
 spectral-norm 
Racket22.946.0019,540627  95% 95% 98% 95%
Lisp SBCL15.974.1919,208906  96% 95% 95% 97%
 n-body 
Racket56.0456.0417,6641689  0% 0% 1% 100%
Lisp SBCL38.4338.445,7761398  1% 4% 2% 100%
 binary-trees 
Racket27.2327.26246,356640  1% 0% 0% 100%
Lisp SBCL18.6518.68193,672649  1% 1% 1% 100%
 reverse-complement 
Racket4.484.48172,5481026  1% 1% 100% 1%
Lisp SBCL2.812.82251,104896  0% 1% 0% 100%
 fasta 
Racket13.9013.9117,6601276  0% 0% 100% 0%
Lisp SBCL8.018.025,7801751  1% 1% 0% 100%
 regex-dna 
Racket39.8639.85669,612527  1% 1% 1% 100% †
Lisp SBCL42.5320.71826,9881948  40% 39% 88% 40% †
 k-nucleotide 
Racket219.87220.011,419,712542  96% 0% 1% 4%
Lisp SBCL65.4165.47109,2082272  0% 1% 1% 100%
 fannkuch-redux 
Racket332.6683.7717,1601096  99% 100% 99% 100%
Lisp SBCL61.2415.7926,2961518  92% 99% 100% 98%
 fasta-redux 
No program
Lisp SBCLBad Output

† possible mismatch - one-core program compared to multi-core program.

 4 : Are there other Racket programs for these benchmarks?

Remember - those are just the fastest Racket and Lisp SBCL programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for Racket.

Maybe one of those other Racket programs is fastest on a different OS/machine.

 5 : Are there other faster programs for these benchmarks?

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

 Racket : statically-scoped properly tail-recursive dialect of lisp 

Welcome to Racket v6.0.

Home Page: Racket

Download: Racket v6.0 (February 2014)

Revised BSD license

  Home   Conclusions   License   Play