÷

 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/471/2
 binary-trees1/241/2±
 fannkuch1/9
 nsieve-bits1/9
 nsieve1/81/5±
 spectral-norm1/5±
 fasta1/5±
 mandelbrot1/5
 n-body1/4±
 regex-dna±
 partial-sums±
 k-nucleotide±
 pidigits±±
 sum-file
 reverse-complement

± 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 PLT19.076,988579  
Perl898.7810,836380  
 binary-trees 
Scheme PLT10.1629,992503  
Perl239.3647,936541  
 fannkuch 
Scheme PLT92.137,104549  
Perl855.721,492348  
 nsieve-bits 
Scheme PLT11.359,740629  
Perl100.184,004253  
 nsieve 
Scheme PLT3.3826,456379  
Perl25.45121,904290  
 spectral-norm 
Scheme PLT827.407,408419  
Perl4,089.082,468334  
 fasta 
Scheme PLT194.826,4561053  
Perl950.041,872934  
 mandelbrot 
Scheme PLT84.507,160508  
Perl403.201,724311  
 n-body 
Scheme PLT477.528,0361423  
Perl1,697.591,9361140  
 regex-dna 
Scheme PLT9.35119,724835  
Perl11.8121,408431  
 partial-sums 
Scheme PLT13.986,552651  
Perl17.411,476389  
 k-nucleotide 
Scheme PLT30.6084,620558  
Perl32.0742,816359  
 pidigits 
Scheme PLT5.249,048464  
Perl3.612,532385  
 sum-file 
Scheme PLT30.136,256143  
Perl18.171,46884  
 reverse-complement 
Scheme PLT5.1084,116580  
Perl1.9938,360298  
 chameneos-redux 
Scheme PLT523.1124,164792  
No Perl

 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.

Welcome to MzScheme v4.0.2 [3m], Copyright (c) 2004-2008 PLT Scheme Inc.

Home Page: PLT Scheme

Download: Download MzScheme

Revised BSD license