/mobile Handheld Friendly website
Ubuntu : Intel® Q6600® one core |
Each chart bar shows, for one unidentified benchmark, how much the fastest Racket program used compared to the fastest Python 3 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 Python 3 program.
| Racket used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | |
| spectral-norm | 1/44 | 4× | 2× | |
| mandelbrot | 1/25 | 8× | ± | |
| n-body | 1/20 | 4× | ± | |
| fasta | 1/19 | 4× | 2× | |
| binary-trees | 1/19 | 1/3 | ± | |
| fannkuch-redux | 1/10 | 3× | 2× | |
| k-nucleotide | 1/2 | 3× | ± | |
| reverse-complement | ± | 1/4 | 3× | |
| pidigits | ± | 3× | 4× | |
| regex-dna | 2× | 3× | ± | |
| Racket used what fraction? used how many times more? | |||||||
|---|---|---|---|---|---|---|---|
| Time-used | |- | |--- | 25% | median | 75% | ---| | -| |
| (Elapsed secs) | 1/44 | 1/44 | 1/20 | 1/13 | ± | 2× | 2× |
± 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 Python 3 program.
| Program Source Code | CPU secs | Elapsed secs | Memory KB | Code B | ≈ CPU Load |
|---|---|---|---|---|---|
| spectral-norm | |||||
| Racket | 22.88 | 22.89 | 18,540 | 627 | 0% 0% 0% 100% |
| Python 3 | 1,018.20 | 1,018.44 | 5,208 | 328 | 0% 0% 0% 100% |
| mandelbrot | |||||
| Racket | 78.27 | 78.30 | 50,748 | 796 | 0% 0% 0% 100% |
| Python 3 | 1,845.31 | 1,968.40 | 6,748 | 777 | 1% 0% 0% 100% |
| n-body | |||||
| Racket | 55.22 | 55.25 | 17,264 | 1689 | 0% 0% 0% 100% |
| Python 3 | 1,098.65 | 1,098.89 | 4,700 | 1181 | 0% 0% 0% 100% |
| fasta | |||||
| Racket | 13.75 | 13.76 | 17,252 | 1276 | 0% 0% 0% 100% |
| Python 3 | 259.48 | 262.34 | 4,672 | 788 | 0% 1% 1% 100% |
| binary-trees | |||||
| Racket | 26.83 | 26.87 | 226,564 | 640 | 1% 0% 0% 100% |
| Python 3 | 504.56 | 504.93 | 685,724 | 626 | 0% 0% 0% 100% |
| fannkuch-redux | |||||
| Racket | 314.07 | 314.18 | 15,332 | 649 | 0% 0% 0% 100% |
| Python 3 | 2,903.20 | 3,204.31 | 4,564 | 385 | 0% 0% 0% 100% |
| k-nucleotide | |||||
| Racket | 225.97 | 226.51 | 1,419,356 | 542 | 0% 0% 0% 100% |
| Python 3 | 474.71 | 474.95 | 426,212 | 647 | 1% 0% 0% 100% |
| reverse-complement | |||||
| Racket | 4.51 | 4.51 | 174,600 | 1026 | 0% 0% 1% 100% |
| Python 3 | 6.50 | 6.51 | 616,588 | 325 | 0% 0% 0% 100% |
| pidigits | |||||
| Racket | 3.06 | 3.06 | 18,028 | 1122 | 0% 1% 1% 100% |
| Python 3 | 3.06 | 3.06 | 5,408 | 255 | 1% 0% 1% 100% |
| regex-dna | |||||
| Racket | 40.76 | 40.79 | 598,772 | 527 | 0% 0% 0% 100% |
| Python 3 | 21.13 | 21.14 | 194,612 | 424 | 0% 0% 0% 100% |
| fasta-redux | |||||
Remember - those are just the fastest Racket and Python 3 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 Python 3 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)