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 †± ±
 meteor-contest ±
 fib50 ±
 thread-ring ±
 richards † ±
 pystone ±
 fibonacci10× ±
 k-nucleotide13×?±
 spectral-norm59×?
 pidigits †710×?±
 IronPython used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)±±13×29×710×

† 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 
IronPython66.4165.4262,6201337  29% 14% 58% 0% †
Python 275.5275.536,7121337  8% 11% 8% 94% †
 meteor-contest 
IronPython12.0012.0559,8321485  26% 1% 72% 1%
Python 23.773.776,6001485  100% 5% 0% 3%
 fib50 
IronPython13.0313.1291,112136  6% 0% 92% 1%
Python 24.044.0537,928136  3% 4% 2% 100%
 thread-ring 
IronPython2.312.6556,692407  82% 0% 3% 2%
Python 20.770.776,432407  4% 0% 4% 100%
 richards 
IronPython7.577.5158,9122423  6% 7% 57% 31% †
Python 21.971.976,3242423  16% 43% 100% 34% †
 pystone 
IronPython1.461.5464,4762301  3% 3% 62% 27%
Python 20.360.361,4562301  3% 6% 100% 10%
 fibonacci 
IronPython7.567.5752,592181  0% 0% 0% 100%
Python 20.780.796,716181  9% 100% 3% 4%
 k-nucleotide 
IronPython1.351.6475,996593  77% 2% 2% 2%
Python 20.120.12?593  100% 17% 0% 0%
 spectral-norm 
IronPython4.794.8156,908594  6% 1% 92% 1%
Python 20.080.08?394  0% 0% 100% 0%
 pidigits 
IronPython16.7316.3475,040322  55% 1% 40% 7% †
Python 20.020.02?378  0% 33% 100% 0% †
 binary-trees 
No program
Python 25.981.6557,668743  96% 92% 91% 92%
 regex-dna 
No program
Python 20.090.14?612  29% 14% 27% 7%
 fasta 
No program
Python 210.0910.0912,768900  38% 4% 64% 3%
 iobench 
No program
Python 244.5444.616,504370  65% 8% 46% 100%
 jsonbench 
No program
Python 26.876.8816,172322  4% 2% 98% 1%
 chameneos-redux 
No program
Python 2166.7992.188,4121192  35% 30% 48% 50%
 fannkuch-redux 
No program
Python 228.517.3644,1121009  98% 98% 97% 98%
 templates 
No program
Python 21.551.5616,564307  30% 5% 71% 3%
 mandelbrot 
No program
Python 2101.2628.56166,3123832  99% 96% 97% 99%
 fasta-redux
   No programs
 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