Message367566
> 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? |
|
Date |
User |
Action |
Args |
2020-04-28 21:37:41 | vstinner | set | recipients:
+ vstinner, rhettinger, benjamin.peterson, methane, serhiy.storchaka, pablogsal |
2020-04-28 21:37:41 | vstinner | set | messageid: <1588109861.78.0.78545197135.issue39117@roundup.psfhosted.org> |
2020-04-28 21:37:41 | vstinner | link | issue39117 messages |
2020-04-28 21:37:41 | vstinner | create | |
|