Speed of Python vs. Perl

Paul Jackson pj at sgi.com
Thu Jan 11 17:29:37 EST 2001


|> The reasons for Python's relative startup sloth have been
|> discussed here often; a big one is that Python runs around
|> looking for Python files (like site.py and sitecustomize.py)
|> at startup, and typically does a big pile of failing fstats
|> while failing to find those files along the PYTHONPATH.

I believe that it's actually more cpu bound, parsing the imports
once it finds them, than it is disk bound, trying to stat or
open them.

See further my more detailed analysis:

    http://deja.com/getdoc.xp?AN=652983262
    Subject: Re: How does Python compare to ?
    Date: 07/31/2000
    Author: Paul Jackson <pj at sgi.com>
-- 
                          I won't rest till it's the best ...
                          Manager, Linux System Software
                          Paul Jackson <pj at sgi.com> 1.650.933.1373



More information about the Python-list mailing list