-
Notifications
You must be signed in to change notification settings - Fork 13.3k
[Don't merge] Learn the performance impact of running lints #74718
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
Conversation
This is still running some things, not sure why. ``` warning: hidden lifetime parameters in types are deprecated --> ui/lint/reasons.rs:21:29 | 21 | fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` | = note: explicit anonymous lifetimes aid reasoning about ownership note: the lint level is defined here --> ui/lint/reasons.rs:5:9 | 5 | #![warn(elided_lifetimes_in_paths, | ^^^^^^^^^^^^^^^^^^^^^^^^^ ``` However most of the lints have gone away.
@bors try @rust-timer queue |
Awaiting bors try build completion |
⌛ Trying commit f794bca with merge 4874c68561d0727f5ff895edef9e1e3473b6e389... |
I would also make sure that these vectors rust/src/librustc_lint/context.rs Lines 58 to 62 in 9008693
|
@bors help |
@bors cancel |
☀️ Try build successful - checks-actions, checks-azure |
Queued 4874c68561d0727f5ff895edef9e1e3473b6e389 with parent 9008693, future comparison URL. |
Finished benchmarking try commit (4874c68561d0727f5ff895edef9e1e3473b6e389): comparison url. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up. @bors rollup=never |
decrease of at most 3.5%, mostly in the 1% range, no increases at all :D |
Closing, seems like we have an initial assessment at least. |
Related: #74704
This is still running some things, not sure why. I think the lints are being run directly by the passes, not through
lint_mod
.However most of the lints have gone away.
r? @ghost