vs

 1 : Are the Python dev programs faster? At a glance.

Each chart bar shows, for one unidentified benchmark, how much the fastest Python dev 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 Python dev programs faster? Approximately.

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

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

 Python dev used what fraction? used how many times more? 
Benchmark Time Memory Code
 k-nucleotide1/2?±
 reverse-complement1/2?±
 fasta± ±
 iobench †± ±
 thread-ring †± ±
 regex-dna±?±
 fannkuch-redux± ±
 fibonacci± ±
 fasta-redux± ±
 fib50 †± ±
 meteor-contest± ±
 jsonbench± ±
 chameneos-redux± ±
 binary-trees±±±
 n-body± ±
 richards± ±
 pystone± ±
 spectral-norm †31×?±
 pidigits116×?±
 Python dev used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/2±±±±±116×

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

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

 3 : Are the Python dev 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 Python dev 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
 k-nucleotide 
Python dev0.090.07?801  0% 43% 25% 71%
Python 30.120.13?594  100% 8% 14% 8%
 reverse-complement 
Python dev0.010.02?449  100% 50% 0% 0%
Python 30.020.02?449  0% 0% 100% 33%
 fasta 
Python dev8.013.9489,4682016  54% 65% 64% 29%
Python 310.174.9090,4482016  70% 79% 66% 51%
 iobench 
Python dev4.864.877,664367  1% 5% 0% 100% †
Python 35.495.508,472367  25% 23% 100% 18% †
 thread-ring 
Python dev27.1620.7112,372448  34% 27% 34% 25% †
Python 327.2421.6413,344448  31% 36% 27% 34% †
 regex-dna 
Python dev0.050.05?524  0% 0% 0% 100%
Python 30.050.05?524  0% 100% 0% 0%
 fannkuch-redux 
Python dev14.093.6552,644894  98% 99% 99% 97%
Python 312.113.6652,808894  96% 93% 93% 95%
 fibonacci 
Python dev0.680.688,648182  100% 6% 0% 0%
Python 30.670.679,364182  5% 100% 6% 2%
 fasta-redux 
Python dev0.290.291,9201115  0% 7% 100% 0%
Python 30.290.291,7761115  10% 3% 100% 3%
 fib50 
Python dev3.653.828,260136  0% 100% 2% 1% †
Python 33.743.758,908136  37% 26% 33% 100% †
 meteor-contest 
Python dev3.723.738,1521443  100% 6% 1% 1%
Python 33.403.468,8521443  44% 5% 64% 4%
 jsonbench 
Python dev4.104.1012,300322  1% 5% 1% 100%
Python 33.623.8012,268322  100% 5% 4% 5%
 chameneos-redux 
Python dev193.51104.978,1041191  38% 41% 45% 42%
Python 3166.3596.308,8201191  51% 46% 41% 46%
 binary-trees 
Python dev3.781.0861,480741  90% 90% 89% 91%
Python 33.270.9662,884706  88% 88% 85% 94%
 n-body 
Python dev51.0351.077,9441315  1% 5% 1% 100%
Python 344.2944.338,7961315  7% 100% 3% 4%
 richards 
Python dev1.261.328,0722434  0% 100% 1% 1%
Python 31.121.129,0682434  6% 100% 2% 0%
 pystone 
Python dev0.310.331,8882303  0% 100% 0% 3%
Python 30.260.271,8082303  7% 100% 4% 0%
 spectral-norm 
Python dev3.763.768,368498  1% 6% 100% 1% †
Python 30.120.12?394  14% 100% 15% 0% †
 pidigits 
Python dev3.123.128,700322  1% 5% 1% 100%
Python 30.030.03?379  0% 0% 100% 0%
 templates 
No program
Python 31.091.1219,848322  6% 1% 99% 1%
 mandelbrot 
No program
Python 374.0819.52181,9363832  98% 98% 98% 99%
 binary-trees-redux
   No programs

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

 4 : Are there other Python dev programs for these benchmarks?

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

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

 5 : Are there other faster programs for these benchmarks?

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

 Python dev : the new Python 

 

Revised BSD license

  Home   Conclusions   License   Play