IronPython Performance Improvements
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
Tom Gilb & Kai Gilb Jan 26, 2015