[issue41835] Speed up dict vectorcall creation using keywords
Inada Naoki
report at bugs.python.org
Mon Nov 2 08:25:13 EST 2020
Inada Naoki <songofacandy at gmail.com> added the comment:
And bench_kwcall.py is a microbenchmark for _PyEval_EvalCode.
$ cpython/release/python -m pyperf compare_to master.json kwcall-nodup.json
kwcall-3: Mean +- std dev: [master] 192 us +- 2 us -> [kwcall-nodup] 175 us +- 1 us: 1.09x faster (-9%)
kwcall-6: Mean +- std dev: [master] 327 us +- 6 us -> [kwcall-nodup] 291 us +- 4 us: 1.12x faster (-11%)
kwcall-9: Mean +- std dev: [master] 436 us +- 10 us -> [kwcall-nodup] 373 us +- 5 us: 1.17x faster (-14%)
Geometric mean: 0.89 (faster)
----------
Added file: https://bugs.python.org/file49561/bench_kwcall.py
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41835>
_______________________________________
More information about the Python-bugs-list
mailing list