÷

 Step 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.


 Step 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
 recursive1/111/2
 nsieve1/91/3
 nsieve-bits1/7
 fannkuch1/5±
 fasta1/2±±
 regex-dna±
 spectral-norm±±± 3,000
 k-nucleotide
 mandelbrot±
 n-body±
 reverse-complement
 partial-sums±
 sum-file±
 pidigits15×±

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

 Step 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
 recursive 
Scheme PLT88.765,548579  
Perl956.3110,812380  
 nsieve 
Scheme PLT7.1279,592457  
Perl60.70242,316290  
 nsieve-bits 
Scheme PLT13.216,856629  
Perl93.554,024253  
 fannkuch 
Scheme PLT144.974,360724  
Perl728.503,144348  
 fasta 
Scheme PLT356.214,6641053  
Perl850.673,156934  
 regex-dna 
Scheme PLT9.54133,132835  
Perl13.6625,048449  
 spectral-norm N = 3,000 reduced workload 
Scheme PLT1,094.5821,032454  
Perl1,168.9318,536334  
 k-nucleotide 
Scheme PLT45.1477,116623  
Perl27.5442,836359  
 mandelbrot 
Scheme PLT802.774,696512  
Perl382.653,388311  
 n-body 
Scheme PLT3,538.024,7641544  
Perl1,567.731,9041140  
 reverse-complement 
Scheme PLT5.1477,592580  
Perl1.9938,356298  
 partial-sums 
Scheme PLT39.454,688651  
Perl14.233,156389  
 sum-file 
Scheme PLT67.9016,012143  
Perl15.5514,91684  
 pidigits 
Scheme PLT90.415,624464  
Perl6.213,144385  
 binary-trees
   No program
 chameneos-redux
   No program

 Measurements for all the accepted programs

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

online book "The Scheme Programming Language, Fourth Edition" by R. Kent Dybvig, 2009.

MzScheme version 360

Home Page: PLT Scheme

Download: Download MzScheme

Revised BSD license