Davy Mitchell wrote:
> 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.
>   

Can you benchmark which bits of the import take how much time?

Michael

> Cheers,
> Davy
>
>   

_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to