/mobile Handheld Friendly website

÷

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


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

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

  used what fraction? used how many times more? 
Benchmark Time Memory Code
 reverse-complement1/161/2±
 nsieve1/4±
 mandelbrot1/3±1/2
 n-body1/3±
 fasta1/2±±
 k-nucleotide1/2±±
 nsieve-bits1/21/2±
 recursive1/21/2±
 binary-trees1/21/2±
 partial-sums1/2±
 regex-dna±±
  used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(CPU secs)1/161/51/31/21/2±

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

 Step 3 : Are the 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 program are shown for comparison against measurements of the fastest Tcl program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 reverse-complement 
2.3046,180288  
Tcl35.9587,744343  
 nsieve 
14.5382,412243  
Tcl59.7641,616295  
 mandelbrot 
251.143,388303  
Tcl643.603,332460  
 n-body 
1,348.843,1401027  
Tcl3,372.741,5001454  
 fasta 
517.713,160779  
Tcl1,256.743,168946  
 k-nucleotide 
49.6825,220475  
Tcl110.2227,628561  
 nsieve-bits 
126.1512,416336  
Tcl279.7918,960424  
 recursive 
621.9714,896360  
Tcl1,206.9429,936461  
 binary-trees 
90.9316,024418  
Tcl164.5830,168540  
 partial-sums 
18.143,168395  
Tcl31.551,440450  
 regex-dna 
7.8819,120342  
Tcl3.6026,420373  
 pidigits 
0.352,804476  
TclFailed
 spectral-norm 
No program
Tcl35.8118,592425  

 Step 4 : Are there other programs for these benchmarks?

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

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

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

Remember - those are just the fastest and Tcl 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.

  :  

Python 2.5.2

Online book: Dive Into Python

Home Page: http://www.python.org/

Download: http://www.python.org/download/

Revised BSD license

  Home   Conclusions   License   Help