[Python-Dev] Python startup time

Antoine Pitrou solipsis at pitrou.net
Thu Oct 10 15:38:15 CEST 2013


Le Thu, 10 Oct 2013 14:36:26 +0200,
Dirkjan Ochtman <dirkjan at ochtman.nl> a écrit :

> On Thu, Oct 10, 2013 at 2:25 PM, Christian Heimes
> <christian at python.org> wrote:
> > Benchmark of 1000 times "python -c ''"
> >
> > Python 3.4dev with all my experimental patches:
> >
> >   Avg: 0.705161 -> 0.443613: 1.59x faster
> >
> > 2.7 -> 3.4dev:
> >
> >   Avg: 0.316177 -> 0.669330: 2.12x slower
> >
> > 2.7 -> 3.4dev with all my patches:
> >
> >   Avg: 0.314879 -> 0.449556: 1.43x slower
> >
> > http://pastebin.com/NFrpa7Jh
> >
> > Ain't bad! The benchmarks were conducted on a fast 8 core machine
> > with SSD.
> 
> This seems promising. What OS are you using? On an older Linux server
> with old-style HD's, the difference between 2.7 and 3.2 is much larger
> for me:

3.2 isn't the same as 3.4.

Thanks Christian for doing this, this is promising!

Regards

Antoine.




More information about the Python-Dev mailing list