÷

 1 : Are the Scheme PLT programs faster? At a glance.

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.


 2 : Are the Scheme PLT programs faster? Approximately.

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-trees1/161/2±
 n-body1/9±
 mandelbrot1/9
 fasta1/6±
 pidigits1/2
 fannkuch1/2±±
 spectral-norm1/2±1/2
 regex-dna
 k-nucleotide1/2±
 reverse-complement±

± read the measurements and then read the program source code.

 3 : Are the Scheme PLT programs faster? Measurements.

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 PLT80.6380.62452,364503  0% 100% 0% 0%
Perl1,276.891,276.851,091,276541  0% 0% 100% 0%
 n-body 
Scheme PLT185.34185.3413,5321558  0% 0% 100% 0%
Perl1,665.131,665.142,5681140  0% 0% 100% 0%
 mandelbrot 
Scheme PLT489.00488.9912,124508  0% 0% 83% 17%
Perl4,226.424,226.214,136311  0% 0% 100% 0%
 fasta 
Scheme PLT56.0856.098,8441053  100% 0% 0% 0%
Perl314.46314.462,548934  100% 0% 0% 0%
 pidigits 
Scheme PLT4.224.2216,9721131  0% 0% 100% 0%
Perl7.467.463,868385  100% 0% 0% 0%
 fannkuch 
Scheme PLT546.19546.1812,432549  43% 57% 0% 0%
Perl3,749.89942.908,808471  99% 100% 100% 100%
 spectral-norm 
Scheme PLT187.38187.3812,640419  0% 0% 0% 100%
Perl1,137.10285.5510,976846  100% 100% 100% 100%
 regex-dna 
Scheme PLT32.9332.93597,148835  0% 0% 0% 100%
Perl38.6112.84167,208527  78% 66% 76% 81%
 k-nucleotide 
Scheme PLT232.84233.181,298,832623  91% 3% 3% 2%
Perl256.1578.582,883,780648  81% 71% 88% 84%
 reverse-complement 
Scheme PLT19.2519.24465,884554  100% 0% 0% 0%
Perl5.255.25431,496298  100% 0% 0% 0%
 chameneos-redux 
Scheme PLT211.77211.9336,364792  1% 0% 100% 0%
No Perl

 Scheme PLT : statically-scoped properly tail-recursive dialect of lisp 

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

Revised BSD license