-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Compute lint levels by definition #102236
Conversation
r? @eholk (rust-highfive has picked a reviewer for you, use r? to override) |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 84c767f38c89a9a6ac7023512744c1da175f0ccc with merge 4c9d2084bc3b3c56b4cd8dae0f12ea3740d2a9c5... |
☀️ Try build successful - checks-actions |
Queued 4c9d2084bc3b3c56b4cd8dae0f12ea3740d2a9c5 with parent bb5a016, future comparison URL. |
84c767f
to
c81d834
Compare
Finished benchmarking commit (4c9d2084bc3b3c56b4cd8dae0f12ea3740d2a9c5): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @bors rollup=never Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Footnotes |
☔ The latest upstream changes (presumably #102040) made this pull request unmergeable. Please resolve the merge conflicts. |
c81d834
to
71840cc
Compare
☔ The latest upstream changes (presumably #101710) made this pull request unmergeable. Please resolve the merge conflicts. |
71840cc
to
822b91b
Compare
hyper and libc in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
impl seems good to me. Modulo a comment or a fix of the perf, r=me
compiler/rustc_lint/src/levels.rs
Outdated
} | ||
} | ||
|
||
impl<'tcx> intravisit::Visitor<'tcx> for LintLevelsBuilder<'_, QueryMapExpectationsWrapper<'tcx>> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's a bit hard to review the details here since it was moved around. Either move back or lmk if this is just a code move and not actually a functional change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did what I could to separate the code motion from the functional change there.
2268c93
to
a64bb3f
Compare
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
4753491
to
fec53fd
Compare
@bors r=oli-obk |
☀️ Test successful - checks-actions |
Finished benchmarking commit (57f097e): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Footnotes |
If I understand the description inherited from #101620, this was an important step for making incremental compilation apply to a much broader set of input code. And the performance gains reported by perf (e.g. Twenty primary incr-patched scenarios are seeing improvements of 4% or more) seem well worth the cost that it registered. @rustbot label: +perf-regression-triaged |
Second attempt to #101620.
I think that I have removed the perf regression.