Inada Naoki <songofaca...@gmail.com> added the comment:
> It should *not* be affected by the change. Anyway, I run the bench other 10 > times, and the lowest value with the CPython code without the PR is not lower > than 67.7 ns. With the PR, it reaches 53.5 ns. And I do not understand why. The benchmark is very affected by code placement. Even adding dead function affects speeds. Read vstinner's blog and presentation: * https://vstinner.github.io/journey-to-stable-benchmark-deadcode.html * https://speakerdeck.com/haypo/how-to-run-a-stable-benchmark?slide=9 That's why we recommend PGO+LTO build for benchmarking. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41835> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com