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
 fib50 †± ±
 fasta± ±
 iobench †± ±
 chameneos-redux± ±
 k-nucleotide †±?±
 thread-ring †± ±
 meteor-contest± ±
 fannkuch-redux± ±
 templates± ±
 jsonbench± ±
 mandelbrot± ±
 fasta-redux± ±
 reverse-complement±?±
 pidigits±?±
 richards± ±
 regex-dna±?±
 fibonacci± ±
 n-body± ±
 spectral-norm±?±
 pystone± ±
 binary-trees±±±
 Python dev used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)±±±±±±±

† 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
 fib50 
Python dev3.243.248,960136  2% 2% 2% 100% †
Python 33.743.758,908136  37% 26% 33% 100% †
 fasta 
Python dev8.784.2689,2882016  61% 72% 37% 43%
Python 310.174.9090,4482016  70% 79% 66% 51%
 iobench 
Python dev4.814.818,440367  1% 100% 0% 1% †
Python 35.495.508,472367  25% 23% 100% 18% †
 chameneos-redux 
Python dev152.6685.138,8561191  41% 43% 36% 41%
Python 3166.3596.308,8201191  51% 46% 41% 46%
 k-nucleotide 
Python dev0.110.11?594  0% 100% 8% 8% †
Python 30.120.13?594  100% 8% 14% 8% †
 thread-ring 
Python dev26.1619.9213,012448  24% 31% 30% 34% †
Python 327.2421.6413,344448  31% 36% 27% 34% †
 meteor-contest 
Python dev3.203.209,0241443  11% 95% 3% 1%
Python 33.403.468,8521443  44% 5% 64% 4%
 fannkuch-redux 
Python dev12.513.4052,376894  96% 89% 95% 92%
Python 312.113.6652,808894  96% 93% 93% 95%
 templates 
Python dev1.031.0319,480322  100% 0% 1% 0%
Python 31.071.1119,692322  83% 26% 3% 6%
 jsonbench 
Python dev3.553.5612,220322  3% 100% 1% 1%
Python 33.623.8012,268322  100% 5% 4% 5%
 mandelbrot 
Python dev79.9520.59182,4163832  98% 99% 98% 98%
Python 379.2821.88182,6763832  99% 96% 95% 98%
 fasta-redux 
Python dev0.270.271,9281115  4% 100% 0% 0%
Python 30.290.291,7761115  10% 3% 100% 3%
 reverse-complement 
Python dev0.020.02?458  33% 100% 0% 0%
Python 30.020.02?449  0% 0% 100% 33%
 pidigits 
Python dev0.030.03?379  0% 100% 0% 0%
Python 30.030.03?379  0% 0% 100% 0%
 richards 
Python dev1.081.099,0842434  99% 1% 1% 1%
Python 31.121.129,0682434  6% 100% 2% 0%
 regex-dna 
Python dev0.050.05?524  0% 0% 100% 0%
Python 30.050.05?524  0% 100% 0% 0%
 fibonacci 
Python dev0.670.679,308182  99% 0% 2% 1%
Python 30.670.679,364182  5% 100% 6% 2%
 n-body 
Python dev44.2244.258,8241315  10% 2% 92% 0%
Python 344.2944.338,7961315  7% 100% 3% 4%
 spectral-norm 
Python dev0.120.12?394  8% 8% 100% 8%
Python 30.120.12?394  14% 100% 15% 0%
 pystone 
Python dev0.270.271,8162303  0% 4% 100% 4%
Python 30.260.271,8082303  7% 100% 4% 0%
 binary-trees 
Python dev3.071.1760,992741  92% 93% 92% 88%
Python 33.270.9662,884706  88% 88% 85% 94%
 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