Author methane
Recipients christian.heimes, ezio.melotti, methane, miss-islington, mpaolini, ncoghlan, pablogsal, rhettinger, serhiy.storchaka, steve.dower
Date 2019-08-05.10:02:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1564999370.38.0.459446423997.issue37587@roundup.psfhosted.org>
In-reply-to
Content
And I confirmed performance improvement by my patch (GH-15134) on all of 4 compilers.

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

old:  9211e2
new:  8a758f
opt2: 284e47

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
opt2: Mean +- std dev: 715 us +- 1 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
opt2: Mean +- std dev: 715 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
opt2: Mean +- std dev: 715 us +- 1 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
opt2: Mean +- std dev: 715 us +- 0 us
History
Date User Action Args
2019-08-05 10:02:50methanesetrecipients: + methane, rhettinger, ncoghlan, christian.heimes, ezio.melotti, serhiy.storchaka, steve.dower, mpaolini, pablogsal, miss-islington
2019-08-05 10:02:50methanesetmessageid: <1564999370.38.0.459446423997.issue37587@roundup.psfhosted.org>
2019-08-05 10:02:50methanelinkissue37587 messages
2019-08-05 10:02:50methanecreate