[Python-Dev] cffi in stdlib

Stefan Krah stefan at bytereef.org
Thu Dec 19 19:32:59 CET 2013

Gregory P. Smith <greg at 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

More information about the Python-Dev mailing list