[IronPython] Import Performance

Davy Mitchell daftspaniel at gmail.com
Wed Dec 26 22:48:13 CET 2007

I was curious as to why one of my apps was taking so long to start up.
Sure it loaded up some RSS feeds but it shouldn't take *that* long.
Anyway turns out to be 4-5 seconds importing configobj

import datetime
print datetime.datetime.now()
from configobj import ConfigObj
print datetime.datetime.now()

Repeated with consistent results in seconds:
IPY2.0      4.0 (A6 and A7)
IPY1.1      1.9
Cpython    0.1

Not a huge issue for me but for large apps, this could be quite
significant for startup times.


Davy Mitchell
Blog - http://www.latedecember.co.uk/sites/personal/davy/
Twitter - http://twitter.com/daftspaniel
Skype - daftspaniel                                          needgod.com

More information about the Ironpython-users mailing list