vs

 1 : Are the Pyston programs faster? At a glance.

Each chart bar shows, for one unidentified benchmark, how much the fastest Pyston program used compared to the fastest Python 2 program.

(Memory use is only compared for tasks that require memory to be allocated.)


These are not the only compilers and interpreters. These are not the only programs that could be written. These are not the only tasks that could be solved. These are just 10 tiny examples.

 2 : Are the Pyston programs faster? Approximately.

Each table row shows, for one named benchmark, how much the fastest Pyston program used compared to the fastest Python 2 program.

(Memory use is only compared for tasks that require memory to be allocated.)

 Pyston used what fraction? used how many times more? 
Benchmark Time Memory Code
 fibonacci1/8 ±
 richards †1/4 ±
 binary-trees1/2±
 fasta1/2 ±
 pystone1/2 ±
 fib501/2 ±
 meteor-contest †1/2 ±
 chameneos-redux± ±
 k-nucleotide±?±
 templates †± ±
 thread-ring± ±
 regex-dna?±
 jsonbench ±
 spectral-norm †27×?
 pidigits †43×?±
 Pyston used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/81/81/2±43×

† possible mismatch - one-core program compared to multi-core program.

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

 3 : Are the Pyston programs faster? Measurements.

These are not the only tasks that could be solved. These are just 10 tiny examples. These are not the only compilers and interpreters. These are not the only programs that could be written.

For each named benchmark, measurements of the fastest Pyston program are shown for comparison against measurements of the fastest Python 2 program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 fibonacci 
Pyston0.090.10?181  0% 0% 100% 0%
Python 20.780.796,716181  9% 100% 3% 4%
 richards 
Pyston0.440.4531,0322423  0% 2% 0% 100% †
Python 21.971.976,3242423  16% 43% 100% 34% †
 binary-trees 
Pyston2.881.00174,876743  72% 68% 70% 90%
Python 25.991.6459,252743  91% 98% 91% 92%
 fasta 
Pyston6.266.2633,768900  91% 3% 14% 2%
Python 210.1110.1112,696900  2% 100% 2% 4%
 pystone 
Pyston0.230.231,9842301  100% 8% 0% 0%
Python 20.360.361,4562301  3% 6% 100% 10%
 fib50 
Pyston2.632.6361,244136  7% 100% 2% 1%
Python 24.044.0537,928136  3% 4% 2% 100%
 meteor-contest 
Pyston2.462.4830,8961485  100% 14% 7% 15% †
Python 23.773.776,6001485  100% 5% 0% 3% †
 chameneos-redux 
Pyston143.8383.0282,6241192  50% 49% 48% 52%
Python 2166.7992.188,4121192  35% 30% 48% 50%
 k-nucleotide 
Pyston0.140.14?593  0% 0% 100% 0%
Python 20.120.12?593  100% 17% 0% 0%
 templates 
Pyston2.082.0951,728307  2% 4% 3% 100% †
Python 21.611.6216,812307  89% 11% 17% 5% †
 thread-ring 
Pyston1.051.0529,760407  3% 0% 99% 1%
Python 20.770.776,432407  4% 0% 4% 100%
 regex-dna 
Pyston0.280.3097,692612  16% 13% 67% 10%
Python 20.090.14?612  8% 8% 31% 23%
 jsonbench 
Pyston35.0235.0341,740322  6% 5% 5% 100%
Python 26.986.9815,396322  2% 3% 1% 100%
 spectral-norm 
Pyston7.492.20162,788595  92% 85% 83% 84% †
Python 20.080.08?394  0% 0% 100% 0% †
 pidigits 
Pyston0.980.9828,828322  2% 100% 0% 4% †
Python 20.020.02?378  0% 33% 100% 0% †
 fannkuch-redux 
No program
Python 228.517.3644,1121009  98% 98% 97% 98%
 n-body 
No program
Python 272.6572.666,5921337  3% 3% 2% 100%
 iobench 
No program
Python 244.5444.616,504370  65% 8% 46% 100%
 mandelbrot 
No program
Python 2101.2628.56166,3123832  99% 96% 97% 99%
 fasta-redux
   No programs
 reverse-complement
   No programs
 binary-trees-redux
   No programs

† possible mismatch - one-core program compared to multi-core program.

 4 : Are there other Pyston programs for these benchmarks?

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

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

 5 : Are there other faster programs for these benchmarks?

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

 Pyston : Pyston 

 

Revised BSD license

  Home   Conclusions   License   Play