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
 regex-dna±±1/4
 pidigits± ±
 spectral-norm± ±
 binary-trees±±
 reverse-complement1/2±
 n-body ±
 fasta ±
 mandelbrot 1/3
 k-nucleotide1/3
 fannkuch-redux ±
 Racket used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)±±±

± 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
 regex-dna 
Racket40.1040.13713,892527  0% 0% 1% 100%
Lisp SBCL43.7943.82566,7841948  1% 1% 1% 100%
 pidigits 
Racket2.342.3425,6201122  0% 1% 1% 100%
Lisp SBCL2.362.3611,0281073  1% 0% 1% 100%
 spectral-norm 
Racket20.6020.6126,176627  0% 1% 0% 100%
Lisp SBCL15.8715.8823,060906  0% 1% 1% 100%
 binary-trees 
Racket39.8439.91397,088640  0% 0% 1% 100%
Lisp SBCL23.9724.01287,440649  0% 1% 1% 100%
 reverse-complement 
Racket4.364.36171,3161026  0% 0% 1% 100%
Lisp SBCL2.262.26291,560896  1% 0% 1% 100%
 n-body 
Racket53.9153.9427,5281689  0% 1% 1% 100%
Lisp SBCL26.9926.9910,6681398  1% 0% 0% 100%
 fasta 
Racket17.2217.2324,5841276  0% 1% 0% 100%
Lisp SBCL7.797.808,8641751  1% 1% 0% 100%
 mandelbrot 
Racket71.5971.6161,184796  0% 0% 0% 100%
Lisp SBCL28.5328.5459,8482459  1% 1% 0% 100%
 k-nucleotide 
Racket96.6796.91387,480881  0% 1% 1% 100%
Lisp SBCL33.0933.13152,1842272  0% 1% 1% 100%
 fannkuch-redux 
Racket272.01272.0820,224903  0% 0% 1% 100%
Lisp SBCL58.1858.1932,160674  1% 0% 0% 100%
 fasta-redux 
No program
Lisp SBCL0.080.08?2005  0% 0% 11% 100%

 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