Author methane
Recipients christian.heimes, ezio.melotti, methane, miss-islington, mpaolini, ncoghlan, pablogsal, rhettinger, serhiy.storchaka, steve.dower
Date 2019-08-05.09:53:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1564998839.63.0.69012294024.issue37587@roundup.psfhosted.org>
In-reply-to
Content
I tried without PGO and confirmed performance improved on GCC 7.2.0.
No change on other compiler versions.


$ ./python -m pyperf timeit  -s "import json; x = json.dumps({'k': '1' * 2 ** 20})" "json.loads(x)"

old: 9211e2
new: 8a758f

gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0

old: Mean +- std dev: 721 us +- 0 us
new: Mean +- std dev: 722 us +- 0 us


gcc-7 (Ubuntu 7.4.0-8ubuntu1) 7.4.0

old: Mean +- std dev: 1.03 ms +- 0.00 ms
new: Mean +- std dev: 726 us +- 0 us


clang version 7.0.1-8 (tags/RELEASE_701/final)

old: Mean +- std dev: 721 us +- 1 us
new: Mean +- std dev: 722 us +- 0 us


clang version 8.0.0-3 (tags/RELEASE_800/final)

old: Mean +- std dev: 721 us +- 0 us
new: Mean +- std dev: 721 us +- 1 us
History
Date User Action Args
2019-08-05 09:53:59methanesetrecipients: + methane, rhettinger, ncoghlan, christian.heimes, ezio.melotti, serhiy.storchaka, steve.dower, mpaolini, pablogsal, miss-islington
2019-08-05 09:53:59methanesetmessageid: <1564998839.63.0.69012294024.issue37587@roundup.psfhosted.org>
2019-08-05 09:53:59methanelinkissue37587 messages
2019-08-05 09:53:59methanecreate