vs

 1 : Are the IronPython programs faster? At a glance.

Each chart bar shows, for one unidentified benchmark, how much the fastest IronPython program used compared to the fastest Python 2 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 IronPython programs faster? Approximately.

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

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

 IronPython used what fraction? used how many times more? 
Benchmark Time Memory Code
 n-body †± ±
 fasta± ±
 richards † ±
 meteor-contest ±
 thread-ring ±
 fib50 † ±
 pystone ±
 templates ±
 fibonacci11× ±
 jsonbench15× ±
 k-nucleotide16×?±
 spectral-norm61×?
 pidigits †804×?±
 IronPython used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)±±15×32×804×

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

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

 3 : Are the IronPython 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 IronPython program are shown for comparison against measurements of the fastest Python 2 program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 n-body 
IronPython69.6869.5985,7641337  3% 79% 1% 23% †
Python 275.5275.536,7121337  8% 11% 8% 94% †
 fasta 
IronPython13.7614.0085,564900  6% 5% 5% 97%
Python 210.1110.1112,696900  2% 100% 2% 4%
 richards 
IronPython6.055.9779,1002423  12% 52% 16% 29% †
Python 21.971.976,3242423  16% 43% 100% 34% †
 meteor-contest 
IronPython11.7311.9778,4561485  3% 11% 11% 79%
Python 23.773.776,6001485  100% 5% 0% 3%
 thread-ring 
IronPython2.412.4675,436407  45% 4% 52% 3%
Python 20.770.776,432407  4% 0% 4% 100%
 fib50 
IronPython13.5713.49108,248136  16% 8% 8% 92% †
Python 24.044.0537,928136  3% 4% 2% 100% †
 pystone 
IronPython1.711.9878,7802301  3% 4% 4% 79%
Python 20.360.361,4562301  3% 6% 100% 10%
 templates 
IronPython12.4311.64148,748307  14% 14% 73% 27%
Python 21.611.6216,812307  89% 11% 17% 5%
 fibonacci 
IronPython8.098.4876,272181  1% 3% 2% 94%
Python 20.780.796,716181  9% 100% 3% 4%
 jsonbench 
IronPython101.86101.28117,720322  18% 3% 84% 2%
Python 26.986.9815,396322  2% 3% 1% 100%
 k-nucleotide 
IronPython1.581.9898,324593  39% 6% 37% 3%
Python 20.120.12?593  100% 17% 0% 0%
 spectral-norm 
IronPython5.004.9776,968594  3% 98% 6% 3%
Python 20.080.08?394  0% 0% 100% 0%
 pidigits 
IronPython18.8118.4899,512322  5% 2% 3% 99% †
Python 20.020.02?378  0% 33% 100% 0% †
 mandelbrot 
No program
Python 2101.2628.56166,3123832  99% 96% 97% 99%
 binary-trees 
No program
Python 25.981.6557,668743  96% 92% 91% 92%
 fannkuch-redux 
No program
Python 228.517.3644,1121009  98% 98% 97% 98%
 fasta-redux 
IronPython2.683.00101,7881115  4% 27% 4% 61%
No program
 iobench 
No program
Python 244.5444.616,504370  65% 8% 46% 100%
 regex-dna 
No program
Python 20.090.14?612  29% 14% 27% 7%
 chameneos-redux 
No program
Python 2166.7992.188,4121192  35% 30% 48% 50%
 reverse-complement
   No programs
 binary-trees-redux
   No programs

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

 4 : Are there other IronPython programs for these benchmarks?

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

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

 5 : Are there other faster programs for these benchmarks?

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

 IronPython : Python for .NET Framework 

 

Revised BSD license

  Home   Conclusions   License   Play