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, kj, lemburg, malin, neonene, pablogsal, paul.moore, rhettinger, steve.dower, tim.golden, vstinner, zach.ware
Date 2021-09-18.02:01:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1631930512.92.0.866583395433.issue45116@roundup.psfhosted.org>
In-reply-to
Content
> (32-bit: "1.07", 64-bit: "1.14": "higher the slower" wrote neonene)

32-bit and 64-bit are in reverse. I compared b1 and a7 because this can be confirmed by anyone with official binary. If 7% of my patch has little to do with the gap, then I will be happy that 3.10 can be far faster.

>How can I build Python with PGO on Windows?

Try the following,

   PCbuild\build.bat -p x64 --no-tkinter --pgo

Before building, your object.h needs to replace
    static inline int Py_ALWAYS_INLINE
with
    static Py_ALWAYS_INLINE int 

In my case, pgo got stuck on linking with the object.h.


I'm waiting the reply from developercommunity.
History
Date User Action Args
2021-09-18 02:01:52neonenesetrecipients: + neonene, lemburg, rhettinger, paul.moore, vstinner, tim.golden, Mark.Shannon, zach.ware, steve.dower, malin, pablogsal, kj
2021-09-18 02:01:52neonenesetmessageid: <1631930512.92.0.866583395433.issue45116@roundup.psfhosted.org>
2021-09-18 02:01:52neonenelinkissue45116 messages
2021-09-18 02:01:52neonenecreate