x64 Ubuntu : Intel® Q6600® quad-core |
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 |
| binary-trees | 1/16 | 1/2 | ± | |
| n-body | 1/9 | 5× | ± | |
| mandelbrot | 1/9 | 3× | 2× | |
| fasta | 1/6 | 3× | ± | |
| pidigits | 1/2 | 4× | 3× | |
| fannkuch | 1/2 | ± | ± | |
| spectral-norm | 1/2 | ± | 1/2 | |
| regex-dna | 3× | 4× | 2× | |
| k-nucleotide | 3× | 1/2 | ± | |
| reverse-complement | 4× | ± | 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 |
|---|---|---|---|---|---|
| binary-trees | |||||
| Scheme PLT | 80.63 | 80.62 | 452,364 | 503 | 0% 100% 0% 0% |
| Perl | 1,276.89 | 1,276.85 | 1,091,276 | 541 | 0% 0% 100% 0% |
| n-body | |||||
| Scheme PLT | 185.34 | 185.34 | 13,532 | 1558 | 0% 0% 100% 0% |
| Perl | 1,665.13 | 1,665.14 | 2,568 | 1140 | 0% 0% 100% 0% |
| mandelbrot | |||||
| Scheme PLT | 489.00 | 488.99 | 12,124 | 508 | 0% 0% 83% 17% |
| Perl | 4,226.42 | 4,226.21 | 4,136 | 311 | 0% 0% 100% 0% |
| fasta | |||||
| Scheme PLT | 56.08 | 56.09 | 8,844 | 1053 | 100% 0% 0% 0% |
| Perl | 314.46 | 314.46 | 2,548 | 934 | 100% 0% 0% 0% |
| pidigits | |||||
| Scheme PLT | 4.22 | 4.22 | 16,972 | 1131 | 0% 0% 100% 0% |
| Perl | 7.46 | 7.46 | 3,868 | 385 | 100% 0% 0% 0% |
| fannkuch | |||||
| Scheme PLT | 546.19 | 546.18 | 12,432 | 549 | 43% 57% 0% 0% |
| Perl | 3,749.89 | 942.90 | 8,808 | 471 | 99% 100% 100% 100% |
| spectral-norm | |||||
| Scheme PLT | 187.38 | 187.38 | 12,640 | 419 | 0% 0% 0% 100% |
| Perl | 1,137.10 | 285.55 | 10,976 | 846 | 100% 100% 100% 100% |
| regex-dna | |||||
| Scheme PLT | 32.93 | 32.93 | 597,148 | 835 | 0% 0% 0% 100% |
| Perl | 38.61 | 12.84 | 167,208 | 527 | 78% 66% 76% 81% |
| k-nucleotide | |||||
| Scheme PLT | 232.84 | 233.18 | 1,298,832 | 623 | 91% 3% 3% 2% |
| Perl | 256.15 | 78.58 | 2,883,780 | 648 | 81% 71% 88% 84% |
| reverse-complement | |||||
| Scheme PLT | 19.25 | 19.24 | 465,884 | 554 | 100% 0% 0% 0% |
| Perl | 5.25 | 5.25 | 431,496 | 298 | 100% 0% 0% 0% |
| chameneos-redux | |||||
| Scheme PLT | 211.77 | 211.93 | 36,364 | 792 | 1% 0% 100% 0% |
online book "The Scheme Programming Language, Fourth Edition" by R. Kent Dybvig, 2009.
Welcome to MzScheme v4.2.2 [3m], Copyright (c) 2004-2009 PLT Scheme Inc.
Home Page: PLT Scheme
Download: Download MzScheme