Python Interpreters Benchmarks
x64 ArchLinux : AMD® Ryzen 7 4700U®

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 3 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 3 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
 fannkuch-redux1/4 ±
 meteor-contest †1/2 ±
 fasta †1/2 ±
 fasta-redux1/2 ±
 jsonbench± ±
 reverse-complement †±?
 k-nucleotide±?±
 binary-trees±±±
 chameneos-redux †± ±
 regex-dna±?±
 thread-ring± ±
 spectral-norm?
 pidigits97×?±
 Pyston used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/41/41/2±±97×

† 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 3 program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 fannkuch-redux 
Pyston3.470.5113,476894  84% 88% 87% 90% 86% 86% 87% 92%
Python 314.552.2012,8121069  94% 95% 94% 90% 98% 90% 93% 90%
 meteor-contest 
Pyston1.161.169,5161485  3% 3% 99% 0% 1% 1% 1% 7% †
Python 32.602.629,2561443  60% 13% 10% 11% 54% 12% 11% 12% †
 fasta 
Pyston2.172.188,8441698  1% 2% 100% 2% 4% 2% 2% 4% †
Python 37.494.4412,9362016  24% 55% 29% 21% 18% 71% 16% 18% †
 fasta-redux 
Pyston0.140.14?1115  13% 100% 13% 0% 13% 0% 8% 8%
Python 30.250.258161115  14% 96% 0% 4% 23% 19% 17% 9%
 jsonbench 
Pyston1.871.8812,980322  5% 4% 2% 99% 7% 4% 3% 6%
Python 32.642.6412,316322  100% 4% 3% 2% 4% 4% 6% 1%
 reverse-complement 
Pyston0.010.02?878  0% 33% 0% 0% 0% 0% 0% 67% †
Python 30.020.02?449  33% 100% 33% 50% 0% 0% 33% 100% †
 k-nucleotide 
Pyston0.090.06?801  25% 29% 17% 17% 29% 67% 17% 33%
Python 30.100.07?801  17% 14% 38% 88% 25% 12% 83% 22%
 binary-trees 
Pyston1.170.271,268741  82% 68% 59% 63% 69% 64% 65% 62%
Python 31.460.291,620741  69% 67% 79% 61% 68% 71% 64% 62%
 chameneos-redux 
Pyston296.47204.488,7641191  21% 17% 17% 16% 20% 19% 17% 16% †
Python 3296.43215.338,7281191  19% 14% 14% 13% 14% 15% 14% 14% †
 regex-dna 
Pyston0.110.06?612  20% 0% 0% 33% 33% 29% 0% 67%
Python 30.050.05?524  67% 20% 0% 40% 0% 0% 83% 20%
 thread-ring 
Pyston73.7266.4713,284448  27% 26% 19% 17% 16% 15% 14% 15%
Python 364.6956.0812,708448  22% 21% 22% 20% 17% 18% 17% 17%
 spectral-norm 
Pyston1.940.5413,900595  74% 73% 83% 69% 41% 33% 10% 15%
Python 30.160.16?394  6% 73% 17% 0% 94% 0% 7% 0%
 pidigits 
Pyston2.042.059,792322  8% 100% 2% 6% 5% 1% 0% 7%
Python 30.020.02?379  67% 25% 33% 0% 0% 0% 33% 100%
 mandelbrot 
No program
Python 392.9312.6961,7403852  96% 99% 98% 99% 99% 96% 98% 98%
 templates 
No program
Python 30.920.9216,376322  17% 14% 14% 13% 12% 99% 6% 13%
 richards 
No program
Python 30.900.908,7282434  19% 18% 18% 14% 100% 13% 12% 15%
 fib50 
No program
Python 32.132.149,276136  5% 4% 4% 2% 5% 3% 100% 2%
 fibonacci 
No program
Python 30.560.568,584182  12% 50% 17% 5% 54% 7% 11% 2%
 pystone 
No program
Python 30.250.251,6162300  20% 12% 36% 12% 17% 17% 9% 100%
 n-body 
No program
Python 338.1938.198,0921315  19% 16% 100% 13% 14% 14% 12% 12%
 iobench 
No program
Python 33.383.398,140367  51% 26% 22% 19% 76% 17% 18% 16%
 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 3 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 3 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