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 | ± | 1/2 | ± | |
| spectral-norm | ± | ± | ± | |
| nsieve | ± | 1/6 | ± | |
| recursive | ± | 2× | ± | |
| mandelbrot | 2× | ± | ± | |
| partial-sums | 2× | ± | ± | |
| fannkuch | 2× | ± | 2× | |
| n-body | 3× | ± | ± | |
| fasta | 3× | 27× | ± | |
| pidigits | 3× | ± | 2× | |
| nsieve-bits | 3× | 5× | 2× | |
| sum-file | 4× | ± | ± | |
| k-nucleotide | 5× | ± | 2× | |
| reverse-complement | 6× | ± | ± | |
± 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.30 | 25,004 | 373 | ||
| Perl | 11.81 | 21,408 | 431 | ||
| binary-trees | |||||
| Tcl | 176.07 | 30,592 | 540 | ||
| Perl | 239.36 | 47,936 | 541 | ||
| spectral-norm | |||||
| Tcl | 5,471.30 | 2,548 | 425 | ||
| Perl | 4,089.08 | 2,468 | 334 | ||
| nsieve | |||||
| Tcl | 34.52 | 22,020 | 295 | ||
| Perl | 25.45 | 121,904 | 290 | ||
| recursive | |||||
| Tcl | 1,280.07 | 24,908 | 461 | ||
| Perl | 898.78 | 10,836 | 380 | ||
| mandelbrot | |||||
| Tcl | 658.83 | 1,908 | 460 | ||
| Perl | 403.20 | 1,724 | 311 | ||
| partial-sums | |||||
| Tcl | 36.06 | 1,900 | 450 | ||
| Perl | 17.41 | 1,476 | 389 | ||
| fannkuch | |||||
| Tcl | 2,064.55 | 1,912 | 532 | ||
| Perl | 855.72 | 1,492 | 348 | ||
| n-body | |||||
| Tcl | 4,667.07 | 1,960 | 1454 | ||
| Perl | 1,697.59 | 1,936 | 1140 | ||
| fasta | |||||
| Tcl | 2,613.00 | 50,760 | 912 | ||
| Perl | 950.04 | 1,872 | 934 | ||
| pidigits | |||||
| Tcl | 11.93 | 2,188 | 612 | ||
| Perl | 3.61 | 2,532 | 385 | ||
| nsieve-bits | |||||
| Tcl | 342.60 | 19,428 | 424 | ||
| Perl | 100.18 | 4,004 | 253 | ||
| sum-file | |||||
| Tcl | 73.36 | 1,912 | 98 | ||
| Perl | 18.17 | 1,468 | 84 | ||
| k-nucleotide | |||||
| Tcl | 158.34 | 31,184 | 561 | ||
| Perl | 32.07 | 42,816 | 359 | ||
| reverse-complement | |||||
| Tcl | 11.13 | 50,972 | 381 | ||
| Perl | 1.99 | 38,360 | 298 | ||
| chameneos-redux | |||||
Tcl 8.5b2 (Oct 26, 2007)
Home Page: http://tcl.tk/
Download: http://www.tcl.tk/software/tcltk/