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 Mark.Shannon
Recipients Mark.Shannon, erlendaasland, kj, lemburg, malin, neonene, pablogsal, paul.moore, rhettinger, steve.dower, tim.golden, vstinner, zach.ware
Date 2021-09-20.13:26:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632144392.66.0.419502439039.issue45116@roundup.psfhosted.org>
In-reply-to
Content
If we are hitting a size limit for PGO, then we need to reduce the size of _PyEval_EvalFrameDefault, to let the compiler do its job.
Force inlining stuff is not going to help.

Reverting https://github.com/python/cpython/pull/25244 for 3.10 seems to be the cleanest way to do this.

Would someone with a reliable way to test performance on Windows test the effect of https://github.com/python/cpython/pull/28475, please?

Longer term we need get PGO in MSVC working on larger functions, but I doubt that will be possible for 3.10.
History
Date User Action Args
2021-09-20 13:26:32Mark.Shannonsetrecipients: + Mark.Shannon, lemburg, rhettinger, paul.moore, vstinner, tim.golden, zach.ware, steve.dower, malin, pablogsal, neonene, erlendaasland, kj
2021-09-20 13:26:32Mark.Shannonsetmessageid: <1632144392.66.0.419502439039.issue45116@roundup.psfhosted.org>
2021-09-20 13:26:32Mark.Shannonlinkissue45116 messages
2021-09-20 13:26:32Mark.Shannoncreate