[issue41835] Speed up dict vectorcall creation using keywords
Inada Naoki
report at bugs.python.org
Sat Oct 31 20:49:59 EDT 2020
Inada Naoki <songofacandy at 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 <report at bugs.python.org>
<https://bugs.python.org/issue41835>
_______________________________________
More information about the Python-bugs-list
mailing list