This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neonene
Recipients Mark.Shannon, malin, neonene, paul.moore, rhettinger, steve.dower, tim.golden, vstinner, zach.ware
Date 2021-09-11.03:30:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1631331027.38.0.501690303662.issue45116@roundup.psfhosted.org>
In-reply-to
Content
According to:
https://docs.microsoft.com/en-us/cpp/build/profile-guided-optimizations?view=msvc-160

PGO seems to override /Ob3.
Around this issue, I posted benchmark on issue44381.
On python building, /Ob3 works for only non-pgo-supported dlls like,

_ctypes_test
_freeze_importlib
_msi
_testbuffer
_testcapi
_testconsole
_testembed
_testimportmultiple
_testinternalcapi
_testmultiphase
_uuid
liblzma
pylauncher
pyshellext
pywlauncher
sqlite3
venvlauncher
venvwlauncher
winsound

I use this option in _msvccompiler.py for my pyd.
I will try and report when PGO with /Ob3 makes difference in the log.
History
Date User Action Args
2021-09-11 03:30:27neonenesetrecipients: + neonene, rhettinger, paul.moore, vstinner, tim.golden, Mark.Shannon, zach.ware, steve.dower, malin
2021-09-11 03:30:27neonenesetmessageid: <1631331027.38.0.501690303662.issue45116@roundup.psfhosted.org>
2021-09-11 03:30:27neonenelinkissue45116 messages
2021-09-11 03:30:27neonenecreate