÷

 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
 binary-trees1/181/3±
 n-body1/7±
 fasta1/5±
 fannkuch1/2±
 mandelbrot1/21/34±
 pidigits±
 spectral-norm±±1/2
 regex-dna
 k-nucleotide1/2±
 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
 binary-trees 
Scheme PLT71.7471.74253,944503  100% 0% 0% 0%
Perl1,292.441,292.38643,488541  0% 0% 100% 0%
 n-body 
Scheme PLT269.67269.699,8441558  0% 100% 0% 0%
Perl1,914.131,914.022,1281140  0% 0% 0% 100%
 fasta 
Scheme PLT64.0464.057,7801053  0% 1% 0% 100%
Perl339.78339.762,112934  100% 0% 0% 0%
 fannkuch 
Scheme PLT544.15544.129,176549  0% 0% 100% 0%
Perl4,206.051,062.526,020471  99% 99% 99% 100%
 mandelbrot 
Scheme PLT837.50837.848,572508  28% 0% 72% 0%
Perl5,578.831,436.69291,628550  97% 97% 97% 97%
 pidigits 
Scheme PLT5.605.6112,3161131  0% 0% 0% 100%
Perl7.037.033,284385  0% 0% 0% 100%
 spectral-norm 
Scheme PLT264.46264.469,248419  0% 0% 0% 100%
Perl1,212.30304.617,792846  100% 100% 99% 100%
 regex-dna 
Scheme PLT38.8538.85614,904835  93% 0% 7% 7%
Perl39.0714.23153,584527  55% 66% 58% 96%
 k-nucleotide 
Scheme PLT311.58311.901,294,924623  2% 3% 2% 93%
Perl281.5788.722,774,904648  78% 73% 88% 83%
 reverse-complement 
Scheme PLT20.4920.49383,816554  100% 0% 0% 0%
Perl5.785.79124,036237  0% 0% 0% 100%
 chameneos-redux 
Scheme PLT223.70223.6926,144792  45% 57% 0% 0%
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.2.2 [3m], Copyright (c) 2004-2009 PLT Scheme Inc.

Home Page: PLT Scheme

Download: Download MzScheme

Revised BSD license