OUT-OF-DATE! Read http://shootout.alioth.debian.org/ |
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.
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-dna | 1/4 | ± | ± | |
| binary-trees | ± | ± | ± | |
| nsieve | ± | 1/6 | ± | |
| spectral-norm | ± | ± | ± | |
| recursive | ± | 3× | ± | |
| fasta | ± | ± | ± | |
| mandelbrot | 2× | ± | ± | |
| n-body | 2× | ± | ± | |
| partial-sums | 2× | 1/2 | ± | |
| fannkuch | 2× | ± | 2× | |
| nsieve-bits | 3× | 5× | 2× | |
| sum-file | 4× | ± | ± | |
| k-nucleotide | 4× | 1/2 | 2× | |
| reverse-complement | 18× | 2× | ± | |
± read the measurements and then read the program source code.
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 | |||||
| Tcl | 3.60 | 26,420 | 373 | ||
| Perl | 13.66 | 25,048 | 449 | ||
| binary-trees | |||||
| Tcl | 164.58 | 30,168 | 540 | ||
| Perl | 224.06 | 37,588 | 481 | ||
| nsieve | |||||
| Tcl | 59.76 | 41,616 | 295 | ||
| Perl | 60.70 | 242,316 | 290 | ||
| spectral-norm | |||||
| Tcl | 4,321.69 | 18,552 | 425 | ||
| Perl | 3,943.63 | 18,536 | 334 | ||
| recursive | |||||
| Tcl | 1,206.94 | 29,936 | 461 | ||
| Perl | 956.31 | 10,812 | 380 | ||
| fasta | |||||
| Tcl | 1,256.73 | 3,168 | 946 | ||
| Perl | 850.67 | 3,156 | 934 | ||
| mandelbrot | |||||
| Tcl | 643.60 | 3,332 | 460 | ||
| Perl | 382.65 | 3,388 | 311 | ||
| n-body | |||||
| Tcl | 3,372.74 | 1,500 | 1454 | ||
| Perl | 1,567.73 | 1,904 | 1140 | ||
| partial-sums | |||||
| Tcl | 31.55 | 1,440 | 450 | ||
| Perl | 14.23 | 3,156 | 389 | ||
| fannkuch | |||||
| Tcl | 1,624.26 | 3,160 | 532 | ||
| Perl | 728.50 | 3,144 | 348 | ||
| nsieve-bits | |||||
| Tcl | 279.79 | 18,960 | 424 | ||
| Perl | 93.55 | 4,024 | 253 | ||
| sum-file | |||||
| Tcl | 56.67 | 14,940 | 98 | ||
| Perl | 15.55 | 14,916 | 84 | ||
| k-nucleotide | |||||
| Tcl | 110.22 | 27,628 | 561 | ||
| Perl | 27.54 | 42,836 | 359 | ||
| reverse-complement | |||||
| Tcl | 35.95 | 87,744 | 343 | ||
| Perl | 1.99 | 38,356 | 298 | ||
| pidigits | |||||
| Tcl | |||||
| chameneos-redux | |||||
Tcl 8.4.18
Home Page: http://tcl.tk/
Download: http://www.tcl.tk/software/tcltk/