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/47 | 1/2 | 2× | |
| binary-trees | 1/24 | 1/2 | ± | |
| fannkuch | 1/9 | 5× | 2× | |
| nsieve-bits | 1/9 | 2× | 2× | |
| nsieve | 1/8 | 1/5 | ± | |
| spectral-norm | 1/5 | 3× | ± | |
| fasta | 1/5 | 3× | ± | |
| mandelbrot | 1/5 | 4× | 2× | |
| n-body | 1/4 | 4× | ± | |
| regex-dna | ± | 6× | 2× | |
| partial-sums | ± | 4× | 2× | |
| k-nucleotide | ± | 2× | 2× | |
| pidigits | ± | 4× | ± | |
| sum-file | 2× | 4× | 2× | |
| reverse-complement | 3× | 2× | 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 | 19.07 | 6,988 | 579 | ||
| Perl | 898.78 | 10,836 | 380 | ||
| binary-trees | |||||
| Scheme PLT | 10.16 | 29,992 | 503 | ||
| Perl | 239.36 | 47,936 | 541 | ||
| fannkuch | |||||
| Scheme PLT | 92.13 | 7,104 | 549 | ||
| Perl | 855.72 | 1,492 | 348 | ||
| nsieve-bits | |||||
| Scheme PLT | 11.35 | 9,740 | 629 | ||
| Perl | 100.18 | 4,004 | 253 | ||
| nsieve | |||||
| Scheme PLT | 3.38 | 26,456 | 379 | ||
| Perl | 25.45 | 121,904 | 290 | ||
| spectral-norm | |||||
| Scheme PLT | 827.40 | 7,408 | 419 | ||
| Perl | 4,089.08 | 2,468 | 334 | ||
| fasta | |||||
| Scheme PLT | 194.82 | 6,456 | 1053 | ||
| Perl | 950.04 | 1,872 | 934 | ||
| mandelbrot | |||||
| Scheme PLT | 84.50 | 7,160 | 508 | ||
| Perl | 403.20 | 1,724 | 311 | ||
| n-body | |||||
| Scheme PLT | 477.52 | 8,036 | 1423 | ||
| Perl | 1,697.59 | 1,936 | 1140 | ||
| regex-dna | |||||
| Scheme PLT | 9.35 | 119,724 | 835 | ||
| Perl | 11.81 | 21,408 | 431 | ||
| partial-sums | |||||
| Scheme PLT | 13.98 | 6,552 | 651 | ||
| Perl | 17.41 | 1,476 | 389 | ||
| k-nucleotide | |||||
| Scheme PLT | 30.60 | 84,620 | 558 | ||
| Perl | 32.07 | 42,816 | 359 | ||
| pidigits | |||||
| Scheme PLT | 5.24 | 9,048 | 464 | ||
| Perl | 3.61 | 2,532 | 385 | ||
| sum-file | |||||
| Scheme PLT | 30.13 | 6,256 | 143 | ||
| Perl | 18.17 | 1,468 | 84 | ||
| reverse-complement | |||||
| Scheme PLT | 5.10 | 84,116 | 580 | ||
| Perl | 1.99 | 38,360 | 298 | ||
| chameneos-redux | |||||
| Scheme PLT | 523.11 | 24,164 | 792 | ||
online book "The Scheme Programming Language, Fourth Edition" by R. Kent Dybvig, 2009.
Welcome to MzScheme v4.0.2 [3m], Copyright (c) 2004-2008 PLT Scheme Inc.
Home Page: PLT Scheme
Download: Download MzScheme