Message291471
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%) |
|
Date |
User |
Action |
Args |
2017-04-11 09:42:45 | methane | set | recipients:
+ methane |
2017-04-11 09:42:45 | methane | set | messageid: <1491903765.98.0.380026551421.issue30040@psf.upfronthosting.co.za> |
2017-04-11 09:42:45 | methane | link | issue30040 messages |
2017-04-11 09:42:45 | methane | create | |
|