/mobile Handheld Friendly website

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
 reverse-complement±±±
 mandelbrot± 1/3
 pidigits± ±
 binary-trees±±±
 spectral-norm± ±
 n-body± ±
 fasta ±
 regex-dna †±1/4
 k-nucleotide14×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
 reverse-complement 
Racket4.484.48172,5481026  1% 1% 100% 1%
Lisp SBCL4.304.31219,636896  0% 0% 0% 100%
 mandelbrot 
Racket78.2419.7651,112796  99% 99% 100% 99%
Lisp SBCL66.9018.7535,3482459  80% 79% 98% 99%
 pidigits 
Racket3.083.0918,4721122  0% 1% 100% 1%
Lisp SBCL2.772.774,6441073  0% 0% 1% 100%
 binary-trees 
Racket27.2327.26246,356640  1% 0% 0% 100%
Lisp SBCL19.1219.15177,796649  1% 100% 0% 0%
 spectral-norm 
Racket22.946.0019,540627  95% 95% 98% 95%
Lisp SBCL15.744.034,560906  98% 98% 98% 98%
 n-body 
Racket56.0456.0417,6641689  0% 0% 1% 100%
Lisp SBCL37.5537.563,9441398  0% 0% 1% 100%
 fasta 
Racket13.9013.9117,6601276  0% 0% 100% 0%
Lisp SBCL8.058.054,1321751  0% 100% 1% 0%
 regex-dna 
Racket39.8639.85669,612527  1% 1% 1% 100% †
Lisp SBCL43.9420.90868,0441948  40% 92% 41% 38% †
 k-nucleotide 
Racket219.87220.011,419,712542  96% 0% 1% 4%
Lisp SBCL71.9271.99104,2082272  0% 1% 0% 100%
 fannkuch-redux 
Racket332.6683.7717,1601096  99% 100% 99% 100%
Lisp SBCL63.4816.4214,4641518  99% 96% 99% 100%
 fasta-redux 
No program
Lisp SBCL0.110.11?2005  0% 0% 0% 100%

† 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