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 malin
Recipients Mark.Shannon, erlendaasland, kj, lemburg, malin, neonene, pablogsal, paul.moore, rhettinger, steve.dower, tim.golden, vstinner, zach.ware
Date 2021-09-20.02:37:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632105442.72.0.706891391895.issue45116@roundup.psfhosted.org>
In-reply-to
Content
Like OP's benchmark, if convert the inline functions to macros in object.h, the 3.10 branch is 1.03x faster, but still 1.07x slower than 28d28e0~1.
@vstinner could you prepare such a PR as a candidate fix.

There seem to be two ways to solve it in short-term.
1, Split the giant function.
2, Contact MSVC team to see if there is a quick solution, such as undocumented options.

But the release time is too close. The worst result is to release with the performance regression, and note  in the download page that there is a performance regression, if you care about performance please use 3.9.
History
Date User Action Args
2021-09-20 02:37:22malinsetrecipients: + malin, lemburg, rhettinger, paul.moore, vstinner, tim.golden, Mark.Shannon, zach.ware, steve.dower, pablogsal, neonene, erlendaasland, kj
2021-09-20 02:37:22malinsetmessageid: <1632105442.72.0.706891391895.issue45116@roundup.psfhosted.org>
2021-09-20 02:37:22malinlinkissue45116 messages
2021-09-20 02:37:22malincreate