/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 Haskell GHC 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 Haskell GHC program.

 Racket used what fraction? used how many times more? 
Benchmark Time Memory Code
 pidigits±
 regex-dna±1/3
 spectral-norm±18×1/2
 binary-trees±±
 mandelbrot±±
 n-body±
 reverse-complement±±
 k-nucleotide1/5
 fasta±
 fannkuch-redux10×1/2
 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 Haskell GHC program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 pidigits 
Racket3.063.0618,0281122  0% 1% 1% 100%
Haskell GHC3.063.075,284341  0% 1% 1% 100%
 regex-dna 
Racket40.7640.79598,772527  0% 0% 0% 100%
Haskell GHC28.4628.48266,4841518  0% 0% 0% 100%
 spectral-norm 
Racket22.8822.8918,540627  0% 0% 0% 100%
Haskell GHC15.7215.721,056984  0% 0% 0% 100%
 binary-trees 
Racket26.8326.87226,564640  1% 0% 0% 100%
Haskell GHC16.4916.51183,532612  0% 0% 1% 100%
 mandelbrot 
Racket78.2778.3050,748796  0% 0% 0% 100%
Haskell GHC43.9643.9835,364782  0% 0% 0% 100%
 n-body 
Racket55.2255.2517,2641689  0% 0% 0% 100%
Haskell GHC23.6823.691,8401874  0% 0% 0% 100%
 reverse-complement 
Racket4.514.51174,6001026  0% 0% 1% 100%
Haskell GHC1.541.55125,748999  0% 1% 0% 100%
 k-nucleotide 
Racket225.97226.511,419,356542  0% 0% 0% 100%
Haskell GHC71.5571.61308,8602749  0% 0% 0% 100%
 fasta 
Racket13.7513.7617,2521276  0% 0% 0% 100%
Haskell GHC3.363.362,364979  0% 0% 0% 100%
 fannkuch-redux 
Racket314.07314.1815,332649  0% 0% 0% 100%
Haskell GHC63.9263.941,5881153  0% 0% 0% 100%
 fasta-redux
   No programs

 4 : Are there other Racket programs for these benchmarks?

Remember - those are just the fastest Racket and Haskell GHC 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 Haskell GHC 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