Created originally on Bitbucket by Dodan (Dodan Mihai)
Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.
I have looked into PGO again to see if I can enable LTO for it as well, since it used to cause compilation to fail. However, after the last changes it is no longer the case and everything seems to go pretty smooth.
I also ran some benchmark tests to see if PGO+ LTO improves performance, and indeed it shows an 8% average speedup vs PyPy 5.8.0 (with LTO enabled for it as well). However, the nbody slowdown still persists.
For more details, please find the results here: https://docs.google.com/spreadsheets/d/1DeC4X4kwPE1fsPuEFFoEm82ie1JUbr8Y2FS00Heu7-o/edit?usp=sharing
I also have another spreadsheet with more detailed data (per tests), but I think these are the most relevant values.