Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: RuleTable::any_enabled #10971

Merged
merged 1 commit into from
Apr 16, 2024

perf: `RuleTable::any_enabled`

bac6d21
Select commit
Loading
Failed to load commit list.
Merged

perf: RuleTable::any_enabled #10971

perf: `RuleTable::any_enabled`
bac6d21
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis succeeded Apr 16, 2024 in 0s

Performance Gate Passed

Summary

⚡ 6 improvements
✅ 24 untouched benchmarks

Benchmarks breakdown

Benchmark main perf-rules-any-enabled Change
linter/all-rules[large/dataset.py] 82.4 ms 79 ms +4.32%
linter/default-rules[large/dataset.py] 19.3 ms 16.1 ms +20.14%
linter/default-rules[numpy/ctypeslib.py] 4.1 ms 3.7 ms +13.11%
linter/default-rules[numpy/globals.py] 636.8 µs 595.2 µs +6.98%
linter/default-rules[pydantic/types.py] 8.6 ms 7.7 ms +11.52%
linter/default-rules[unicode/pypinyin.py] 1.5 ms 1.3 ms +16.67%