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/11 ±
 richards1/4 ±
 iobench1/2 ±
 binary-trees1/2±
 n-body †1/2 ±
 fannkuch-redux1/2 ±
 meteor-contest1/2 ±
 chameneos-redux± ±
 fasta± ±
 pystone± ±
 mandelbrot± ±
 k-nucleotide±?±
 thread-ring± ±
 templates ±
 regex-dna?±
 reverse-complement?±
 spectral-norm?±
 jsonbench ±
 pidigits65×?±
 Pyston used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/111/111/2±65×

† 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.060.06?181  0% 0% 0% 100%
Python 20.670.677,240181  1% 100% 3% 0%
 richards 
Pyston0.320.322,1362423  0% 0% 0% 97%
Python 21.111.127,1002423  100% 0% 0% 3%
 iobench 
Pyston20.3420.3426,752370  100% 0% 0% 0%
Python 237.3937.426,992370  2% 100% 2% 3%
 binary-trees 
Pyston1.950.65169,224743  69% 67% 94% 70%
Python 23.771.1958,912743  91% 82% 83% 88%
 n-body 
Pyston29.4929.4926,6481337  0% 0% 100% 0% †
Python 253.1753.336,6921337  30% 28% 64% 20% †
 fannkuch-redux 
Pyston10.422.89157,5841009  87% 90% 89% 96%
Python 217.084.6543,6201009  97% 96% 98% 97%
 meteor-contest 
Pyston1.741.7430,1561485  0% 0% 99% 0%
Python 22.642.657,1561485  3% 100% 1% 2%
 chameneos-redux 
Pyston106.6458.3066,8841192  31% 34% 26% 36%
Python 2152.7883.777,1001192  44% 45% 42% 39%
 fasta 
Pyston4.634.6332,960900  0% 26% 0% 74%
Python 26.646.6513,444900  3% 100% 4% 4%
 pystone 
Pyston0.170.17?2301  100% 0% 0% 0%
Python 20.230.248522301  0% 96% 4% 0%
 mandelbrot 
Pyston68.4517.75129,8163832  98% 97% 97% 95%
Python 276.5020.14176,7603832  98% 98% 99% 98%
 k-nucleotide 
Pyston0.100.10?593  100% 0% 0% 0%
Python 20.080.08?593  100% 0% 0% 11%
 thread-ring 
Pyston0.790.7928,572407  0% 99% 0% 0%
Python 20.550.557,060407  100% 4% 0% 0%
 templates 
Pyston1.851.8558,360307  0% 100% 1% 1%
Python 21.091.0915,876307  4% 4% 2% 100%
 regex-dna 
Pyston0.080.08?501  13% 0% 0% 100%
Python 20.030.03?501  0% 0% 100% 0%
 reverse-complement 
Pyston0.050.05?455  0% 0% 17% 100%
Python 20.010.01?431  0% 100% 0% 0%
 spectral-norm 
Pyston0.420.4256,036394  0% 0% 0% 100%
Python 20.080.08?394  0% 13% 0% 89%
 jsonbench 
Pyston26.4626.4641,828322  100% 0% 0% 0%
Python 24.564.5717,080322  3% 100% 3% 3%
 pidigits 
Pyston0.910.9126,480322  100% 0% 0% 1%
Python 20.010.01?380  0% 0% 100% 0%
 fasta-redux
   No programs
 fib50
   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