STINNER Victor <[email protected]> added the comment:
> read_boundmethod 27.7 ns 47.1 ns
Extract of Tools/scripts/var_access_benchmark.py:
def read_boundmethod(trials=trials, a=A()):
for t in trials:
a.m; a.m; a.m; a.m; a.m
a.m; a.m; a.m; a.m; a.m
a.m; a.m; a.m; a.m; a.m
a.m; a.m; a.m; a.m; a.m
a.m; a.m; a.m; a.m; a.m
Which kind of code pattern is impacted by this performance regression, apart
this micro-benchmark? Do you notice a significant slowdown in pyperformance?
When pyperformance was run before the change was merged, there was no
significant difference:
https://bugs.python.org/issue37340#msg348425
In bpo-37340, you wrote that sorted(data, key=str.upper) is 70% slower. Would
you mind to provide the benchmark?
----------
nosy: +vstinner
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue39117>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com