[issue41181] [macOS] Build macOS installer with LTO and PGO optimizations

STINNER Victor report at bugs.python.org
Sun Nov 1 11:37:44 EST 2020


STINNER Victor <vstinner at python.org> added the comment:

> Link Time Optimization (LTO) and Profile-Guided Optimization (PGO) have a major impact on Python performance: they make Python between 10% and 30% faster (coarse estimation).
>
> Currently, macOS installers distributed on python.org are built with Clang 6.0 without LTO or PGO. I propose to enable LTO and PGO to make these binaries faster.

Oh, I forgot to mention that I discovered that macOS doesn't use LTO when I worked on the https://bugs.python.org/issue39542#msg373230 issue.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41181>
_______________________________________


More information about the Python-bugs-list mailing list