OUT-OF-DATE! Read http://shootout.alioth.debian.org/ |
This chart shows 3 comparisons - Time-used, Memory-used and Code-used.
Each chart bar shows, for one unidentified benchmark, how much the fastest Scheme PLT program used compared to the fastest Perl program.
This table shows 3 comparisons - Time-used, Memory-used and Code-used.
Each table row shows, for one named benchmark, how much the fastest Scheme PLT program used compared to the fastest Perl program.
| Scheme PLT used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | Reduced N |
| recursive | 1/11 | 1/2 | 2× | |
| nsieve | 1/9 | 1/3 | 2× | |
| nsieve-bits | 1/7 | 2× | 2× | |
| fannkuch | 1/5 | ± | 2× | |
| fasta | 1/2 | ± | ± | |
| regex-dna | ± | 5× | 2× | |
| spectral-norm | ± | ± | ± | 3,000 |
| k-nucleotide | 2× | 2× | 2× | |
| mandelbrot | 2× | ± | 2× | |
| n-body | 2× | 3× | ± | |
| reverse-complement | 3× | 2× | 2× | |
| partial-sums | 3× | ± | 2× | |
| sum-file | 4× | ± | 2× | |
| pidigits | 15× | 2× | ± | |
± read the measurements and then read the program source code.
This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ~ CPU Load.
For each named benchmark, measurements of the fastest Scheme PLT program are shown for comparison against measurements of the fastest Perl program.
| Program Source Code | CPU secs | Elapsed secs | Memory KB | Code B | ~ CPU Load |
|---|---|---|---|---|---|
| recursive | |||||
| Scheme PLT | 88.76 | 5,548 | 579 | ||
| Perl | 956.31 | 10,812 | 380 | ||
| nsieve | |||||
| Scheme PLT | 7.12 | 79,592 | 457 | ||
| Perl | 60.70 | 242,316 | 290 | ||
| nsieve-bits | |||||
| Scheme PLT | 13.21 | 6,856 | 629 | ||
| Perl | 93.55 | 4,024 | 253 | ||
| fannkuch | |||||
| Scheme PLT | 144.97 | 4,360 | 724 | ||
| Perl | 728.50 | 3,144 | 348 | ||
| fasta | |||||
| Scheme PLT | 356.21 | 4,664 | 1053 | ||
| Perl | 850.67 | 3,156 | 934 | ||
| regex-dna | |||||
| Scheme PLT | 9.54 | 133,132 | 835 | ||
| Perl | 13.66 | 25,048 | 449 | ||
| spectral-norm N = 3,000 reduced workload | |||||
| Scheme PLT | 1,094.58 | 21,032 | 454 | ||
| Perl | 1,168.93 | 18,536 | 334 | ||
| k-nucleotide | |||||
| Scheme PLT | 45.14 | 77,116 | 623 | ||
| Perl | 27.54 | 42,836 | 359 | ||
| mandelbrot | |||||
| Scheme PLT | 802.77 | 4,696 | 512 | ||
| Perl | 382.65 | 3,388 | 311 | ||
| n-body | |||||
| Scheme PLT | 3,538.02 | 4,764 | 1544 | ||
| Perl | 1,567.73 | 1,904 | 1140 | ||
| reverse-complement | |||||
| Scheme PLT | 5.14 | 77,592 | 580 | ||
| Perl | 1.99 | 38,356 | 298 | ||
| partial-sums | |||||
| Scheme PLT | 39.45 | 4,688 | 651 | ||
| Perl | 14.23 | 3,156 | 389 | ||
| sum-file | |||||
| Scheme PLT | 67.90 | 16,012 | 143 | ||
| Perl | 15.55 | 14,916 | 84 | ||
| pidigits | |||||
| Scheme PLT | 90.41 | 5,624 | 464 | ||
| Perl | 6.21 | 3,144 | 385 | ||
| binary-trees | |||||
| chameneos-redux | |||||
online book "The Scheme Programming Language, Fourth Edition" by R. Kent Dybvig, 2009.
MzScheme version 360
Home Page: PLT Scheme
Download: Download MzScheme