BT

IronPython Performance Improvements

| by Al Tenhundfeld on Feb 25, 2009. Estimated reading time: less than one minute |

A new version IronPython, an open source (Ms-PL) implementation of Python running on .NET, has been released. IronPython 2.0.1 focuses on performance improvements, while keeping complete backwards compatibility.

The IronPython team has put together a collection of benchmarks showing specific areas of improvement. Some of the highlights from those benchmarks are listed below.

  • PyStone 1.1 performance improved 11.5%
  • PyBench 2.0 performance improved 3.3%. However, there are some notable improvements hidden within that overall drop. Float-Integer comparison improved 75%, and builtin function calls improved 41%
  • Richards.py performance improved minimally also

Additionally 2.0.1 includes numerous bug fixes in the IronPython 2.6 branch that have been backported to this release. The following community-submitted bugs were also fixed:

  • 20632: can't write a _len_ returning a uint
  • 20492: TupleExpression.IsExpandable is internal, should be public
  • 20605: Compiling with pyc and PySerial module
  • 20616: wrong TypeError message when invoking "str.join": implicit parameter 'self' not counted
  • 20623: InitializeModule needs to add refs to mscorlib/System

Rate this Article

Relevance
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss
BT