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
 reverse-complement †±?±
 pidigits †±?±
 fibonacci †± ±
 regex-dna±?±
 mandelbrot± ±
 chameneos-redux± ±
 k-nucleotide †±?±
 thread-ring± ±
 fasta± ±
 fannkuch-redux± ±
 binary-trees±±±
 n-body± ±
 fasta-redux± ±
 templates± ±
 fib50 †± ±
 meteor-contest± ±
 jsonbench± ±
 richards± ±
 pystone †± ±
 iobench † ±
 spectral-norm?±
 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
 reverse-complement 
Python dev0.020.02?458  0% 100% 0% 0% †
Python 30.030.03?458  0% 100% 25% 0% †
 pidigits 
Python dev0.020.03?379  0% 67% 0% 0% †
Python 30.030.03?379  100% 0% 25% 0% †
 fibonacci 
Python dev0.830.838,216182  14% 10% 92% 9% †
Python 30.840.859,448182  4% 2% 100% 5% †
 regex-dna 
Python dev0.060.06?524  0% 0% 0% 100%
Python 30.060.06?524  0% 100% 0% 0%
 mandelbrot 
Python dev101.9927.4560,8203832  99% 98% 96% 95%
Python 398.3025.71185,1043832  97% 98% 97% 99%
 chameneos-redux 
Python dev192.59105.387,5841191  41% 33% 46% 48%
Python 3175.2995.248,8201191  31% 32% 49% 50%
 k-nucleotide 
Python dev0.400.17?777  56% 44% 88% 56% †
Python 30.140.15?594  0% 100% 0% 0% †
 thread-ring 
Python dev0.950.957,984407  5% 100% 1% 2%
Python 30.810.819,096407  0% 100% 10% 2%
 fasta 
Python dev20.208.70419,5562016  76% 73% 72% 81%
Python 316.517.24421,0882016  61% 80% 52% 55%
 fannkuch-redux 
Python dev24.646.4852,4281069  98% 97% 98% 97%
Python 320.255.3755,580894  95% 97% 95% 96%
 binary-trees 
Python dev6.271.7864,596741  92% 90% 91% 94%
Python 35.391.4768,592741  95% 92% 94% 91%
 n-body 
Python dev73.0673.127,6081315  7% 20% 65% 26%
Python 360.1960.208,8761315  1% 2% 1% 100%
 fasta-redux 
Python dev0.470.4715,1441115  0% 9% 2% 100%
Python 30.380.391,6801115  3% 100% 0% 3%
 templates 
Python dev1.701.7116,088322  11% 100% 5% 2%
Python 31.391.4015,944322  6% 0% 0% 99%
 fib50 
Python dev5.325.327,768136  6% 14% 100% 9% †
Python 34.274.279,048136  2% 1% 100% 2% †
 meteor-contest 
Python dev5.675.678,1921443  100% 2% 2% 2%
Python 34.554.558,7081443  0% 100% 0% 0%
 jsonbench 
Python dev5.975.9811,208322  100% 3% 1% 3%
Python 34.734.7412,472322  0% 6% 2% 96%
 richards 
Python dev2.122.127,6402434  2% 100% 2% 6%
Python 31.611.628,7162434  5% 100% 0% 1%
 pystone 
Python dev0.490.497,6082303  22% 100% 12% 4% †
Python 30.370.371,7442303  3% 0% 100% 0% †
 iobench 
Python dev7.497.667,468367  70% 86% 77% 53% †
Python 34.774.778,588367  0% 4% 1% 100% †
 spectral-norm 
Python dev0.340.351,652394  3% 0% 3% 100%
Python 30.130.13?394  0% 0% 100% 0%
 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