Improving interpreter startup speed

James Mills prologic at
Sun Oct 26 12:13:31 CET 2008

On Sun, Oct 26, 2008 at 11:23 AM, BJörn Lindqvist <bjourne at> wrote:
> How are you getting those numbers? 330 μs is still pretty fast, isn't
> it? :) Most disks have a seek time of 10-20 ms so it seem implausible
> to me that Ruby would be able to cold start in 47 ms.

$ time python -c "pass"

real    0m0.051s
user    0m0.036s
sys     0m0.008s

$ time python3.0 -c "pass"

real    0m0.063s
user    0m0.048s
sys     0m0.004s

And yes I agree. the CPython interpreter startup times is
a stupid thing to be worrying about, especially since that
is never the bottleneck.

Python loads plenty fast enough!


-- "Problems are solved by method"

More information about the Python-list mailing list