/mobile Handheld Friendly website
x64 Ubuntu : Intel® Q6600® quad-core |
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.
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 | ± | 4× | ± | |
| spectral-norm | ± | 4× | ± | |
| reverse-complement | 2× | 1/2 | ± | |
| regex-dna † | 2× | ± | 1/4 | |
| binary-trees | 2× | ± | ± | |
| n-body | 2× | 5× | ± | |
| mandelbrot | 2× | 2× | 1/3 | |
| fasta | 2× | 5× | ± | |
| k-nucleotide | 2× | 3× | 1/3 | |
| fannkuch-redux † | 22× | ± | 1/2 | |
| Racket used what fraction? used how many times more? | |||||||
|---|---|---|---|---|---|---|---|
| Time-used | |- | |--- | 25% | median | 75% | ---| | -| |
| (Elapsed secs) | ± | ± | 2× | 2× | 2× | 3× | 22× |
† possible mismatch - one-core program compared to multi-core program.
± read the measurements and then read the program source code.
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 | |||||
| Racket | 2.31 | 2.32 | 24,496 | 1122 | 0% 100% 0% 0% |
| Lisp SBCL | 2.38 | 2.38 | 5,712 | 1073 | 0% 0% 0% 100% |
| spectral-norm | |||||
| Racket | 20.63 | 5.43 | 25,932 | 627 | 94% 97% 94% 95% |
| Lisp SBCL | 15.75 | 4.02 | 5,860 | 883 | 98% 98% 98% 98% |
| reverse-complement | |||||
| Racket | 4.35 | 4.35 | 170,476 | 1026 | 0% 99% 0% 1% |
| Lisp SBCL | 2.35 | 2.36 | 298,944 | 896 | 1% 1% 0% 100% |
| regex-dna | |||||
| Racket | 41.08 | 41.09 | 677,072 | 527 | 90% 10% 0% 0% † |
| Lisp SBCL | 45.42 | 21.81 | 818,628 | 1948 | 41% 39% 89% 41% † |
| binary-trees | |||||
| Racket | 40.88 | 40.94 | 400,344 | 640 | 13% 87% 0% 0% |
| Lisp SBCL | 20.50 | 20.54 | 439,708 | 649 | 1% 0% 100% 0% |
| n-body | |||||
| Racket | 54.46 | 54.49 | 26,900 | 1689 | 0% 0% 0% 100% |
| Lisp SBCL | 26.74 | 26.75 | 5,048 | 1398 | 0% 0% 0% 100% |
| mandelbrot | |||||
| Racket | 73.25 | 18.51 | 60,128 | 796 | 99% 100% 99% 99% |
| Lisp SBCL | 28.52 | 8.05 | 36,376 | 2459 | 75% 86% 96% 100% |
| fasta | |||||
| Racket | 17.32 | 17.32 | 24,100 | 1276 | 0% 0% 0% 100% |
| Lisp SBCL | 7.45 | 7.45 | 5,052 | 1751 | 0% 0% 100% 0% |
| k-nucleotide | |||||
| Racket | 89.60 | 89.61 | 378,488 | 881 | 0% 0% 100% 0% |
| Lisp SBCL | 37.08 | 37.13 | 138,312 | 2301 | 0% 0% 0% 100% |
| fannkuch-redux | |||||
| Racket | 298.70 | 298.70 | 18,092 | 649 | 0% 0% 0% 100% † |
| Lisp SBCL | 53.42 | 13.81 | 21,188 | 1518 | 98% 99% 97% 93% † |
| fasta-redux | |||||
| Lisp SBCL | 0.08 | 0.08 | ? | 2005 | 0% 0% 100% 0% |
† possible mismatch - one-core program compared to multi-core program.
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.
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.
Welcome to Racket v5.3.4.
Home Page: Racket
Download: Download Racket v5.3.3 (February 2013)