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± ±
 fib50 ±
 thread-ring ±
 richards ±
 pystone ±
 fibonacci ±
 k-nucleotide21×?±
 regex-dna23×?±
 spectral-norm63×?
 pidigits1,057×?±
 IronPython used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)±±23×52×1,057×

± 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 
IronPython56.3756.6963,3241337  30% 0% 68% 0%
Python 250.8250.826,7561337  100% 0% 0% 0%
 fib50 
IronPython10.5010.5190,180136  1% 72% 0% 26%
Python 22.842.8438,432136  0% 0% 100% 0%
 thread-ring 
IronPython1.872.0363,780407  60% 27% 2% 3%
Python 20.550.557,072407  2% 100% 0% 2%
 richards 
IronPython6.506.4163,6122423  1% 1% 93% 7%
Python 21.171.177,1322423  1% 1% 100% 0%
 pystone 
IronPython1.171.4363,5122301  2% 35% 4% 41%
Python 20.230.238442301  0% 100% 4% 4%
 fibonacci 
IronPython5.865.8650,872181  0% 0% 100% 0%
Python 20.660.677,128181  0% 0% 0% 100%
 k-nucleotide 
IronPython1.151.5780,896593  56% 4% 16% 3%
Python 20.080.08?593  0% 11% 100% 0%
 regex-dna 
IronPython0.730.7345,660501  5% 100% 3% 6%
Python 20.030.03?501  100% 0% 0% 0%
 spectral-norm 
IronPython4.004.1957,200594  0% 92% 1% 1%
Python 20.070.07?394  0% 0% 86% 0%
 pidigits 
IronPython13.1412.6978,604322  0% 57% 3% 42%
Python 20.010.01?380  0% 0% 0% 100%
 iobench 
No program
Python 224.8524.866,820370  0% 0% 100% 0%
 jsonbench 
No program
Python 24.334.3417,160322  0% 100% 0% 0%
 reverse-complement 
No program
Python 20.010.01?455  0% 0% 100% 0%
 fannkuch-redux 
No program
Python 216.654.3442,0441009  95% 96% 95% 97%
 meteor-contest 
No program
Python 22.652.656,9361485  100% 1% 1% 1%
 fasta 
No program
Python 26.466.4713,124900  0% 77% 23% 0%
 chameneos-redux 
No program
Python 2114.0263.149,1241192  36% 33% 32% 29%
 binary-trees 
No program
Python 23.811.1660,644743  79% 87% 84% 82%
 templates 
No program
Python 21.051.0616,260307  0% 2% 0% 99%
 mandelbrot 
No program
Python 274.8719.17173,5243832  97% 98% 99% 97%
 fasta-redux
   No programs
 binary-trees-redux
   No programs

 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