Improving interpreter startup speed

J. Clifford Dyer jcd at sdf.lonestar.org
Wed Oct 29 13:14:16 CET 2008


Maybe Ruby is the right language for your need.

Just sayin'.



On Sun, 2008-10-26 at 13:19 +0000, Pedro Borges wrote:
> The scripts i need to run but be executed with no apparent delay  
> specially when the text transforms are simple.
> 
> 
> On Oct 26, 2008, at 11:13 AM, James Mills wrote:
> 
> > On Sun, Oct 26, 2008 at 11:23 AM, BJörn Lindqvist  
> > <bjourne at gmail.com> 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!
> >
> > --JamesMills
> >
> > -- 
> > --
> > -- "Problems are solved by method"
> 
> --
> http://mail.python.org/mailman/listinfo/python-list




More information about the Python-list mailing list