Don't suggest replacing builtin.open()
with Path.open()
if the latter doesn't support all options
#7637
CodSpeed HQ / CodSpeed Performance Analysis
succeeded
Sep 26, 2023
Performance Gate Passed
Summary
⚡ 5
improvements
✅ 20
untouched benchmarks
Benchmarks breakdown
Benchmark | main |
fix-gh7620 |
Change | |
---|---|---|---|---|
⚡ | linter/default-rules[large/dataset.py] |
94.1 ms | 90.7 ms | +3.77% |
⚡ | lexer[numpy/ctypeslib.py] |
2 ms | 1.9 ms | +2.55% |
⚡ | lexer[unicode/pypinyin.py] |
620.1 µs | 592 µs | +4.74% |
⚡ | lexer[large/dataset.py] |
9.8 ms | 9 ms | +8.46% |
⚡ | lexer[pydantic/types.py] |
4.1 ms | 4 ms | +3.69% |
Loading