Gregory P. Smith <g...@krypto.org> wrote:
> Ubuntu compiles their Python with FDO (feedback directed optimization / 
> profile
> guided optimization) enabled. All distros should do this if they don't 
> already.
> It's generally 20% interpreter speedup. Our makefile already supports it but 
> it
> isn't the default build as it takes a long time given that it needs to compile
> everything twice and do a profiled benchmark run between compilations.

Yes, I didn't know we already had `make profile-opt`.  With that option
the self-compiled results are nearly the same as with the Ubuntu version,
the remaining difference might be due to Ubuntu's use of -flto, as
Matthias suggests in http://bugs.python.org/issue17781 .


Stefan Krah


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to