Author jdemeyer
Recipients Mark.Shannon, jdemeyer, pablogsal, petr.viktorin, rhettinger
Date 2019-07-15.10:44:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1563187499.05.0.0411213237872.issue37562@roundup.psfhosted.org>
In-reply-to
Content
I did some benchmarks WITHOUT PGO (simply because it's much faster to compile and therefore easier to test things out).

The command I used for testing is
./python -m perf timeit --duplicate 200 -s 'f = len; x = ()' 'f(x)'

* d30da5dd9a8a965cf24a22bbaff8a5b1341c2944 (before PEP 590)
  Mean +- std dev: 25.1 ns +- 0.2 ns
* aacc77fbd77640a8f03638216fa09372cc21673d (first commit of PEP 590)
  Mean +- std dev: 29.3 ns +- 0.9 ns
* b8e198a5d09ca876b87baaf6efd2b2e7c9e3a0b3 (3.8 branch)
  Mean +- std dev: 29.5 ns +- 0.3 ns
* cd6e83b4810549c308ab2d7315dbab526e35ccf6 (master)
  Mean +- std dev: 25.1 ns +- 0.2 ns

So there does seem to be a regression with 3.8 but not with 3.9. I don't know what to do with this... can we backport more of the PEP 590 commits to 3.8? Or will the release manager complain?
History
Date User Action Args
2019-07-15 10:44:59jdemeyersetrecipients: + jdemeyer, rhettinger, petr.viktorin, Mark.Shannon, pablogsal
2019-07-15 10:44:59jdemeyersetmessageid: <1563187499.05.0.0411213237872.issue37562@roundup.psfhosted.org>
2019-07-15 10:44:59jdemeyerlinkissue37562 messages
2019-07-15 10:44:58jdemeyercreate