[issue44555] Dictionary operations are LINEAR for any dictionary (for a particular code).
Inada Naoki
report at bugs.python.org
Thu Jul 8 22:42:59 EDT 2021
Inada Naoki <songofacandy at gmail.com> added the comment:
There is a macro benchmark we regularly used.
https://pyperformance.readthedocs.io/
You can try micro benchmark for most common use cases with pyperf like this:
```
$ pyperf timeit -s "def f(**kwargs): pass" -- "f(a=1,b=2,c=3)"
Mean +- std dev: 119 ns +- 3 ns
```
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44555>
_______________________________________
More information about the Python-bugs-list
mailing list