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±?±
 mandelbrot± ±
 templates †± ±
 k-nucleotide±?±
 regex-dna±?±
 thread-ring †± ±
 jsonbench †± ±
 n-body †± ±
 fibonacci †± ±
 meteor-contest †± ±
 chameneos-redux± ±
 fasta-redux± ±
 binary-trees±±±
 fannkuch-redux± ±
 pystone †± ±
 richards± ±
 fib50 †± ±
 fasta± ±
 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?449  0% 67% 0% 0%
 pidigits 
Python dev0.020.03?379  0% 67% 0% 0%
Python 30.030.04?379  0% 0% 0% 100%
 mandelbrot 
Python dev101.9927.4560,8203832  99% 98% 96% 95%
Python 399.4733.25188,7043832  98% 100% 99% 97%
 templates 
Python dev1.701.7116,088322  11% 100% 5% 2% †
Python 31.951.9522,628322  82% 23% 21% 44% †
 k-nucleotide 
Python dev0.400.17?777  56% 44% 88% 56%
Python 30.170.17?594  12% 89% 100% 6%
 regex-dna 
Python dev0.060.06?524  0% 0% 0% 100%
Python 30.060.06?524  14% 0% 0% 88%
 thread-ring 
Python dev0.950.957,984407  5% 100% 1% 2% †
Python 30.940.959,352407  15% 17% 22% 99% †
 jsonbench 
Python dev5.975.9811,208322  100% 3% 1% 3% †
Python 35.765.7812,956322  17% 91% 100% 22% †
 n-body 
Python dev73.0673.127,6081315  7% 20% 65% 26% †
Python 370.4270.449,0161315  43% 29% 62% 76% †
 fibonacci 
Python dev0.830.838,216182  14% 10% 92% 9% †
Python 30.790.809,636182  11% 3% 1% 100% †
 meteor-contest 
Python dev5.675.678,1921443  100% 2% 2% 2% †
Python 35.205.209,6281443  6% 7% 100% 100% †
 chameneos-redux 
Python dev192.59105.387,5841191  41% 33% 46% 48%
Python 3170.3092.848,9561191  38% 41% 42% 38%
 fasta-redux 
Python dev0.470.4715,1441115  0% 9% 2% 100%
Python 30.390.391,8281115  3% 0% 100% 0%
 binary-trees 
Python dev6.271.7864,596741  92% 90% 91% 94%
Python 35.281.4769,124741  93% 91% 88% 90%
 fannkuch-redux 
Python dev24.646.4852,4281069  98% 97% 98% 97%
Python 320.075.2855,292894  96% 95% 97% 97%
 pystone 
Python dev0.490.497,6082303  22% 100% 12% 4% †
Python 30.390.391,8442303  10% 3% 100% 3% †
 richards 
Python dev2.122.127,6402434  2% 100% 2% 6%
Python 31.651.659,2842434  50% 2% 54% 2%
 fib50 
Python dev5.325.327,768136  6% 14% 100% 9% †
Python 34.144.159,260136  1% 100% 2% 1% †
 fasta 
Python dev20.208.70419,5562016  76% 73% 72% 81%
Python 314.996.33421,5922016  68% 78% 49% 48%
 iobench 
Python dev7.497.667,468367  70% 86% 77% 53%
Python 35.485.498,808367  85% 9% 28% 100%
 spectral-norm 
Python dev0.340.351,652394  3% 0% 3% 100%
Python 30.140.15?394  7% 0% 100% 13%
 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