[Python-Dev] Python startup time?

Nick Bastin nbastin at opnet.com
Tue Aug 10 01:42:12 CEST 2004


On Aug 9, 2004, at 6:55 PM, Aahz wrote:

> I just remembered that shortly before release of Python 2.3 there was a
> big fuss about the startup time.  Has anyone revisited the issue since
> then?

Experience from pycon sprint revealed several things to me:

1) 2.3 startup is faster than 2.2 if you don't import site
2) 2.2 didn't really import anything on startup, so it was always fast
3) Never benchmark without installing, as performance is really bad in 
CVS (distutils)

If people who really care about startup time don't need site, then 
they're good.  If they do, then the real slowdown comes from warnings 
and linecache, if I recall correctly.

--
Nick



More information about the Python-Dev mailing list