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 Python Psyco program used compared to the fastest JavaScript SpiderMonkey program.
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 Python Psyco program used compared to the fastest JavaScript SpiderMonkey program.
| Python Psyco used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | |
| fannkuch | 1/88 | 4× | ± | |
| reverse-complement | 1/44 | 1/4 | ± | |
| nsieve | 1/15 | 1/8 | ± | |
| spectral-norm | 1/11 | 1/21 | ± | |
| fasta | 1/11 | 1/45 | ± | |
| binary-trees | 1/10 | 1/8 | ± | |
| nsieve-bits | 1/8 | 1/13 | ± | |
| n-body | 1/7 | 1/18 | ± | |
| partial-sums | 1/5 | 1/22 | ± | |
| k-nucleotide | 1/5 | 1/7 | ± | |
| recursive | 1/4 | 4× | ± | |
| regex-dna | 1/3 | 1/9 | ± | |
± 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 Python Psyco program are shown for comparison against measurements of the fastest JavaScript SpiderMonkey program.
Remember - those are just the fastest Python Psyco and JavaScript SpiderMonkey programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for Python Psyco.
Maybe one of those other Python Psyco programs is fastest on a different OS/machine.
Remember - those are just the fastest Python Psyco and JavaScript SpiderMonkey 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.
online article "Representation-based Just-in-time Specialization and the Psyco prototype for Python" (pdf), Armin Rigo
Psyco 1.6
Home Page: http://psyco.sourceforge.net/