÷

 Step 1 : Are the Tcl 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 Tcl program used compared to the fastest Perl program.


 Step 2 : Are the Tcl 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 Tcl program used compared to the fastest Perl program.

 Tcl used what fraction? used how many times more? 
Benchmark Time Memory Code Reduced N
 regex-dna1/4±±
 binary-trees±1/2±
 spectral-norm±±±
 nsieve±1/6±
 recursive±±
 mandelbrot±±
 partial-sums±±
 fannkuch±
 n-body±±
 fasta27×±
 pidigits±
 nsieve-bits
 sum-file±±
 k-nucleotide±
 reverse-complement±±

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

 Step 3 : Are the Tcl 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 Tcl 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
 regex-dna 
Tcl3.3025,004373  
Perl11.8121,408431  
 binary-trees 
Tcl176.0730,592540  
Perl239.3647,936541  
 spectral-norm 
Tcl5,471.302,548425  
Perl4,089.082,468334  
 nsieve 
Tcl34.5222,020295  
Perl25.45121,904290  
 recursive 
Tcl1,280.0724,908461  
Perl898.7810,836380  
 mandelbrot 
Tcl658.831,908460  
Perl403.201,724311  
 partial-sums 
Tcl36.061,900450  
Perl17.411,476389  
 fannkuch 
Tcl2,064.551,912532  
Perl855.721,492348  
 n-body 
Tcl4,667.071,9601454  
Perl1,697.591,9361140  
 fasta 
Tcl2,613.0050,760912  
Perl950.041,872934  
 pidigits 
Tcl11.932,188612  
Perl3.612,532385  
 nsieve-bits 
Tcl342.6019,428424  
Perl100.184,004253  
 sum-file 
Tcl73.361,91298  
Perl18.171,46884  
 k-nucleotide 
Tcl158.3431,184561  
Perl32.0742,816359  
 reverse-complement 
Tcl11.1350,972381  
Perl1.9938,360298  
 chameneos-redux
   No program

 Measurements for all the accepted programs

 Tcl : everything is a string - programmable programming 

Tcl 8.5b2 (Oct 26, 2007)

Home Page: http://tcl.tk/

Download: http://www.tcl.tk/software/tcltk/

Revised BSD license