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-complement±?±
 fasta± ±
 fib50 †± ±
 fasta-redux± ±
 jsonbench± ±
 richards †± ±
 meteor-contest± ±
 iobench †± ±
 fannkuch-redux± ±
 binary-trees±±±
 regex-dna±?±
 fibonacci †± ±
 n-body± ±
 thread-ring± ±
 chameneos-redux ±
 spectral-norm21×?±
 pidigits109×?±
 Python dev used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/21/2±±±±109×

† 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  17% 17% 71% 17%
Python 30.120.13?594  100% 8% 14% 8%
 reverse-complement 
Python dev0.010.02?458  0% 50% 100% 0%
Python 30.020.02?449  0% 0% 100% 33%
 fasta 
Python dev7.574.00103,4122016  23% 57% 75% 44%
Python 310.174.9090,4482016  70% 79% 66% 51%
 fib50 
Python dev3.253.257,852136  5% 45% 1% 56% †
Python 33.743.758,908136  37% 26% 33% 100% †
 fasta-redux 
Python dev0.250.251,8201115  12% 100% 0% 0%
Python 30.290.291,7761115  10% 3% 100% 3%
 jsonbench 
Python dev3.393.4011,968322  6% 1% 100% 1%
Python 33.623.8012,268322  100% 5% 4% 5%
 richards 
Python dev1.021.038,2042434  15% 33% 11% 72% †
Python 31.121.129,0682434  6% 100% 2% 0% †
 meteor-contest 
Python dev3.233.257,9241443  15% 1% 90% 1%
Python 33.403.468,8521443  44% 5% 64% 4%
 iobench 
Python dev5.265.267,948367  5% 1% 100% 1% †
Python 35.495.508,472367  25% 23% 100% 18% †
 fannkuch-redux 
Python dev13.363.5346,800894  98% 98% 93% 99%
Python 312.113.6652,808894  96% 93% 93% 95%
 binary-trees 
Python dev3.170.9357,616741  89% 87% 88% 88%
Python 33.270.9662,884706  88% 88% 85% 94%
 regex-dna 
Python dev0.050.05?524  20% 100% 0% 0%
Python 30.050.05?524  0% 100% 0% 0%
 fibonacci 
Python dev0.660.678,256182  14% 8% 11% 100% †
Python 30.670.679,364182  5% 100% 6% 2% †
 n-body 
Python dev45.7345.768,1161315  7% 8% 2% 94%
Python 344.2944.338,7961315  7% 100% 3% 4%
 thread-ring 
Python dev30.0522.6012,216448  32% 32% 26% 33%
Python 327.2421.6413,344448  31% 36% 27% 34%
 chameneos-redux 
Python dev305.55153.767,8401191  49% 45% 46% 46%
Python 3166.3596.308,8201191  51% 46% 41% 46%
 spectral-norm 
Python dev8.802.4848,304575  92% 92% 89% 92%
Python 30.120.12?394  14% 100% 15% 0%
 pidigits 
Python dev2.942.968,676322  15% 2% 91% 1%
Python 30.030.03?379  0% 0% 100% 0%
 pystone 
No program
Python 30.280.281,8962303  7% 3% 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