Author inada.naoki
Recipients inada.naoki
Date 2017-04-11.09:42:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491903765.98.0.380026551421.issue30040@psf.upfronthosting.co.za>
In-reply-to
Content
performance impact

best case:
$ ./python.patched -m perf timeit --compare-to=`pwd`/python.default  -- '{}'
python.default: ..................... 36.9 ns +- 0.9 ns
python.patched: ..................... 25.3 ns +- 0.7 ns
Mean +- std dev: [python.default] 36.9 ns +- 0.9 ns -> [python.patched] 25.3 ns +- 0.7 ns: 1.46x faster (-31%)

worst case:
$ ./python.patched -m perf timeit --compare-to=`pwd`/python.default  -- 'x={}; x["a"]=1'
python.default: ..................... 73.3 ns +- 1.2 ns
python.patched: ..................... 82.8 ns +- 1.8 ns
Mean +- std dev: [python.default] 73.3 ns +- 1.2 ns -> [python.patched] 82.8 ns +- 1.8 ns: 1.13x slower (+13%)
History
Date User Action Args
2017-04-11 09:42:45inada.naokisetrecipients: + inada.naoki
2017-04-11 09:42:45inada.naokisetmessageid: <1491903765.98.0.380026551421.issue30040@psf.upfronthosting.co.za>
2017-04-11 09:42:45inada.naokilinkissue30040 messages
2017-04-11 09:42:45inada.naokicreate