[Python-Dev] Startup time

Martin v. Löwis martin@v.loewis.de
06 May 2003 19:37:46 +0200


Jeff Epler <jepler@unpythonic.net> writes:

> Comparing 2.2 and 2.3, there are a lot of files opened in 2.3 that
> aren't in 2.2.

Very interesting. Could you also try to find out the difference in
terms of stat calls?

> I'm crossing my fingers that the time to reload(m) is similar to the
> time to import it in the first place, which gives these maybe-helpful
> stats:

That is, unfortunately, not the case: reloading a dynamic module is a
no-op.

Regards,
Martin