÷

 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/191/2±
 mandelbrot1/9
 n-body1/9±
 spectral-norm1/6±1/2
 fasta1/6±
 fannkuch1/5±
 pidigits1/2
 regex-dna±
 k-nucleotide±
 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 PLT80.5780.56452,372503  0% 0% 0% 100%
Perl1,490.641,490.581,091,276541  0% 0% 0% 100%
 mandelbrot 
Scheme PLT489.90489.8712,132508  1% 0% 0% 100%
Perl4,387.614,387.504,132311  0% 0% 0% 100%
 n-body 
Scheme PLT185.92185.9113,5361558  0% 0% 0% 100%
Perl1,639.611,639.532,5721140  0% 0% 0% 100%
 spectral-norm 
Scheme PLT189.88189.8712,644419  0% 0% 0% 100%
Perl1,094.721,094.6511,060846  0% 0% 0% 100%
 fasta 
Scheme PLT55.9355.938,8441053  0% 1% 0% 100%
Perl311.00310.982,548934  1% 1% 1% 100%
 fannkuch 
Scheme PLT538.66538.6312,436549  0% 0% 0% 100%
Perl2,660.572,660.432,060391  0% 0% 0% 100%
 pidigits 
Scheme PLT4.214.2116,9761131  0% 0% 0% 100%
Perl7.477.483,884385  0% 0% 0% 100%
 regex-dna 
Scheme PLT32.9332.93631,892835  0% 0% 0% 100%
Perl38.7838.78165,064527  0% 0% 0% 100%
 k-nucleotide 
Scheme PLT232.64232.801,298,828623  0% 0% 0% 100%
Perl225.09228.97780,228359  0% 0% 0% 100%
 reverse-complement 
Scheme PLT19.2519.25463,972554  0% 0% 0% 100%
Perl5.305.30433,056298  0% 0% 0% 100%
 chameneos-redux 
Scheme PLT213.50213.4935,348792  0% 0% 0% 100%
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