Python Interpreters Benchmarks
x64 ArchLinux : Intel® i5-7200U®

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
 fibonacci †1/9 ±
 pidigits1/3 ±
 richards1/3 ±
 n-body1/2 ±
 chameneos-redux1/2 ±
 fannkuch-redux± ±
 meteor-contest± ±
 binary-trees±±
 fib50± ±
 fasta± ±
 iobench †± ±
 pystone± ±
 k-nucleotide †±?±
 thread-ring ±
 regex-dna?±
 spectral-norm?±
 jsonbench ±
 Pyston used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/91/91/2±±

† 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.070.07?181  14% 100% 0% 12% †
Python 20.670.677,268181  7% 100% 6% 2% †
 pidigits 
Pyston0.910.9225,000322  7% 100% 2% 0%
Python 23.043.187,368322  100% 2% 2% 1%
 richards 
Pyston0.340.342,0722423  9% 3% 3% 100%
Python 21.131.136,9322423  6% 100% 0% 1%
 n-body 
Pyston27.8327.8525,4121337  6% 1% 1% 100%
Python 247.5847.637,0081337  6% 1% 1% 100%
 chameneos-redux 
Pyston152.8368.0825,5281192  50% 54% 47% 54%
Python 2287.09114.886,9401192  62% 61% 61% 60%
 fannkuch-redux 
Pyston11.203.0731,1881009  94% 96% 92% 93%
Python 216.774.4411,6481009  99% 97% 94% 96%
 meteor-contest 
Pyston1.861.9526,5601485  99% 3% 1% 1%
Python 22.672.677,0041485  6% 2% 100% 1%
 binary-trees 
Pyston2.030.7636,896743  63% 65% 84% 62%
Python 23.751.0416,568743  91% 90% 90% 96%
 fib50 
Pyston2.082.1756,808130  100% 2% 2% 2%
Python 22.792.7938,248130  6% 3% 100% 1%
 fasta 
Pyston5.965.9731,404900  7% 2% 99% 2%
Python 26.466.4713,176900  6% 2% 100% 2%
 iobench 
Pyston46.1347.2124,680370  53% 63% 55% 38% †
Python 249.0549.096,652370  6% 1% 2% 100% †
 pystone 
Pyston0.210.3242301  67% 13% 13% 23%
Python 20.230.266042301  4% 4% 0% 96%
 k-nucleotide 
Pyston0.120.12?593  9% 8% 17% 100% †
Python 20.090.09?593  100% 11% 0% 0% †
 thread-ring 
Pyston0.890.9326,664407  100% 2% 0% 1%
Python 20.550.586,964407  100% 3% 0% 0%
 regex-dna 
Pyston0.080.09?501  11% 0% 100% 0%
Python 20.040.04?501  0% 0% 75% 0%
 spectral-norm 
Pyston0.510.5247,428394  9% 13% 88% 2%
Python 20.090.10?394  0% 100% 0% 0%
 jsonbench 
Pyston27.5328.8139,580322  100% 2% 1% 1%
Python 24.454.6016,312322  72% 30% 2% 2%
 templates 
Pyston2.232.3054,560307  31% 32% 3% 43%
No program
 reverse-complement 
Pyston0.060.06?455  17% 86% 0% 0%
Python 20.01?431  
 fasta-redux
   No programs
 mandelbrot
   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