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

SIM110: any() is ~3x slower than the code it replaces #12746

Merged
merged 1 commit into from
Aug 8, 2024

SIM110: `any()` is ~3x less performant than the code it replaces

8fbf9d1
Select commit
Loading
Failed to load commit list.
Merged

SIM110: any() is ~3x slower than the code it replaces #12746

SIM110: `any()` is ~3x less performant than the code it replaces
8fbf9d1
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis failed Aug 8, 2024

Performance Regression: -6.3%

Summary

⚡ 1 improvements
❌ 1 regressions
✅ 30 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main cclauss:patch-1 Change
linter/all-rules[numpy/globals.py] 725.1 µs 773.8 µs -6.3%
linter/default-rules[pydantic/types.py] 1.9 ms 1.8 ms +4.12%