-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
cargo clippy
is sometimes >20x slower than cargo check
(since 1.58.0
)
#8171
Comments
Clippy isn't really optimized, however, it might be beneficial to try and collect a profile to see where the time is spent. |
Using
|
|
Yeah, that's on me. Unfortunately we still don't have a better way to find test items. I should add some caching to recover most of the lost perf. |
@rustbot claim |
Summary
cargo +beta check
takes ~1min to run butcargo +beta clippy
takes ~23mins to run.There's a Rust 1.57.0 issue (maybe this one) that makes compiling some code really slow. However there's no problem with clippy 0.1.57, only with 0.1.58 so I think this is a clippy issue.
cargo check
This is normal.
cargo clippy
1.57.0: normal, 1.58.0 (beta): way too slow.
rustc 1.57.0 (f1edd0429 2021-11-29)
andclippy 0.1.57 (f1edd04 2021-11-29)
rustc 1.58.0-beta.2 (0e07bcb68 2021-12-04)
andclippy 0.1.58 (0e07bcb 2021-12-04)
Reproducer
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: