/mobile Handheld Friendly website
OUT-OF-DATE! Read http://shootout.alioth.debian.org/ |
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.
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-complement | 1/16 | 1/2 | ± | |
| nsieve | 1/4 | 2× | ± | |
| mandelbrot | 1/3 | ± | 1/2 | |
| n-body | 1/3 | 2× | ± | |
| fasta | 1/2 | ± | ± | |
| k-nucleotide | 1/2 | ± | ± | |
| nsieve-bits | 1/2 | 1/2 | ± | |
| recursive | 1/2 | 1/2 | ± | |
| binary-trees | 1/2 | 1/2 | ± | |
| partial-sums | 1/2 | 2× | ± | |
| regex-dna | 2× | ± | ± | |
| used what fraction? used how many times more? | |||||||
|---|---|---|---|---|---|---|---|
| Time-used | |- | |--- | 25% | median | 75% | ---| | -| |
| (CPU secs) | 1/16 | 1/5 | 1/3 | 1/2 | 1/2 | ± | 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 ~ 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.30 | 46,180 | 288 | |||
| Tcl | 35.95 | 87,744 | 343 | ||
| nsieve | |||||
| 14.53 | 82,412 | 243 | |||
| Tcl | 59.76 | 41,616 | 295 | ||
| mandelbrot | |||||
| 251.14 | 3,388 | 303 | |||
| Tcl | 643.60 | 3,332 | 460 | ||
| n-body | |||||
| 1,348.84 | 3,140 | 1027 | |||
| Tcl | 3,372.74 | 1,500 | 1454 | ||
| fasta | |||||
| 517.71 | 3,160 | 779 | |||
| Tcl | 1,256.74 | 3,168 | 946 | ||
| k-nucleotide | |||||
| 49.68 | 25,220 | 475 | |||
| Tcl | 110.22 | 27,628 | 561 | ||
| nsieve-bits | |||||
| 126.15 | 12,416 | 336 | |||
| Tcl | 279.79 | 18,960 | 424 | ||
| recursive | |||||
| 621.97 | 14,896 | 360 | |||
| Tcl | 1,206.94 | 29,936 | 461 | ||
| binary-trees | |||||
| 90.93 | 16,024 | 418 | |||
| Tcl | 164.58 | 30,168 | 540 | ||
| partial-sums | |||||
| 18.14 | 3,168 | 395 | |||
| Tcl | 31.55 | 1,440 | 450 | ||
| regex-dna | |||||
| 7.88 | 19,120 | 342 | |||
| Tcl | 3.60 | 26,420 | 373 | ||
| pidigits | |||||
| 0.35 | 2,804 | 476 | |||
| Tcl | |||||
| spectral-norm | |||||
| Tcl | 35.81 | 18,592 | 425 | ||
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.
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/