/mobile Handheld Friendly website

÷

 Step 1 : Are the Tcl programs faster? At a glance.

This chart shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.

Each chart bar shows, for one unidentified benchmark, how much the fastest Tcl program used compared to the fastest Zonnon Mono program.


Look at speed another way - look at a box plot of Time-used data.

 Step 2 : Are the Tcl programs faster? Approximately.

This table shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.

Each table row shows, for one named benchmark, how much the fastest Tcl program used compared to the fastest Zonnon Mono program.

 Tcl used what fraction? used how many times more? 
Benchmark Time Memory Code
 nsieve15×±
 n-body135×1/3±
 Tcl used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(CPU secs)15×15×15×75×135×135×135×

± 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 ~ speed and size.

For each named benchmark, measurements of the fastest Tcl program are shown for comparison against measurements of the fastest Zonnon Mono program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 nsieve 
Tcl34.5222,020295  
Zonnon Mono2.329,744368  
 n-body 
Tcl4,667.071,9601454  
Zonnon Mono34.615,1681524  
 k-nucleotide 
Tcl1.9610,820561  
No program
 mandelbrot 
Tcl1.013,080460  
No program
 partial-sums 
Tcl0.391,904450  
Zonnon MonoFailed
 recursive 
Tcl5.542,000461  
Zonnon MonoFailed
 fasta 
Tcl26.122,416912  
No program
 reverse-complement 
Tcl0.142,844381  
No program
 pidigits 
Tcl0.492,868612  
No program
 regex-dna 
Tcl0.696,668373  
No program
 binary-trees 
Tcl7.543,688540  
No program
 spectral-norm 
Tcl46.282,844425  
No program
 nsieve-bits 
Tcl83.496,300424  
No program

 Step 4 : Are there other Tcl programs for these benchmarks?

Remember - those are just the fastest Tcl and Zonnon Mono programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for Tcl.

Maybe one of those other Tcl programs is fastest on a different OS/machine.

 Step 5 : Are there other faster programs for these benchmarks?

Remember - those are just the fastest Tcl and Zonnon Mono programs measured on this OS/machine. Check if there are faster implementations of these benchmark programs for other programming languages.

Maybe one of those other programs is fastest on a different OS/machine.

 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

  Home   Conclusions   License   Help