/mobile Handheld Friendly website

÷

 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.


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.

 Racket used what fraction? used how many times more? 
Benchmark Time Memory Code
 pidigits±±
 spectral-norm±±
 reverse-complement1/2±
 regex-dna †±1/4
 binary-trees±±
 n-body±
 mandelbrot1/3
 fasta±
 k-nucleotide1/3
 fannkuch-redux †22×±1/2
 Racket used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)±±22×

† 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
 pidigits 
Racket2.312.3224,4961122  0% 100% 0% 0%
Lisp SBCL2.382.385,7121073  0% 0% 0% 100%
 spectral-norm 
Racket20.635.4325,932627  94% 97% 94% 95%
Lisp SBCL15.754.025,860883  98% 98% 98% 98%
 reverse-complement 
Racket4.354.35170,4761026  0% 99% 0% 1%
Lisp SBCL2.352.36298,944896  1% 1% 0% 100%
 regex-dna 
Racket41.0841.09677,072527  90% 10% 0% 0% †
Lisp SBCL45.4221.81818,6281948  41% 39% 89% 41% †
 binary-trees 
Racket40.8840.94400,344640  13% 87% 0% 0%
Lisp SBCL20.5020.54439,708649  1% 0% 100% 0%
 n-body 
Racket54.4654.4926,9001689  0% 0% 0% 100%
Lisp SBCL26.7426.755,0481398  0% 0% 0% 100%
 mandelbrot 
Racket73.2518.5160,128796  99% 100% 99% 99%
Lisp SBCL28.528.0536,3762459  75% 86% 96% 100%
 fasta 
Racket17.3217.3224,1001276  0% 0% 0% 100%
Lisp SBCL7.457.455,0521751  0% 0% 100% 0%
 k-nucleotide 
Racket89.6089.61378,488881  0% 0% 100% 0%
Lisp SBCL37.0837.13138,3122301  0% 0% 0% 100%
 fannkuch-redux 
Racket298.70298.7018,092649  0% 0% 0% 100% †
Lisp SBCL53.4213.8121,1881518  98% 99% 97% 93% †
 fasta-redux 
No program
Lisp SBCL0.080.08?2005  0% 0% 100% 0%

† 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 v5.3.4.

Home Page: Racket

Download: Download Racket v5.3.3 (February 2013)

Revised BSD license

  Home   Conclusions   License   Play