-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Manually outline error on incremental_verify_ich #89883
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
r? @estebank (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 b84ff8260574917be64786704512fdf378cf42ba with merge 47e53d2ef1e504f9558d2db16838b923943461b8... |
r=me after perf |
☀️ Try build successful - checks-actions |
Queued 47e53d2ef1e504f9558d2db16838b923943461b8 with parent c34ac87, future comparison URL. |
Finished benchmarking commit (47e53d2ef1e504f9558d2db16838b923943461b8): comparison url. Summary: This change led to moderate relevant regressions 😿 in compiler performance.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking 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 led 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 |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit c17a4c20ad63c8f47781c6d68ac91cac423bce42 with merge 3dc76fcad6e704ecef227c5ed3dd117b2171142d... |
☀️ Try build successful - checks-actions |
Queued 3dc76fcad6e704ecef227c5ed3dd117b2171142d with parent e1e9319, future comparison URL. |
Finished benchmarking commit (3dc76fcad6e704ecef227c5ed3dd117b2171142d): comparison url. Summary: This change led to large relevant regressions 😿 in compiler performance.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking 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 led 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 |
ea97da9
to
f48a035
Compare
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit f48a03505d4b71aee06d9d19b88b2217445c3406 with merge 9ff05944ee09138da46fd4594ea79fba102bed35... |
☀️ Try build successful - checks-actions |
Queued 044441c1a977a7706db0a48842282c0273b6ca67 with parent 3bfde2f, future comparison URL. |
Finished benchmarking commit (044441c1a977a7706db0a48842282c0273b6ca67): comparison url. Summary: This change led to small relevant mixed results 🤷 in compiler performance.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking 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 led 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 |
r? @nnethercote perhaps Regressions here seem relatively small, and in my opinion worth the improvement in bootstrap time. The impl is more complicated than I'd like, but there's not much that can be done about that - at least yet, though it may be worth exposing ArgumentV1 from std::fmt in the future - and it's fairly straightforward, just verbose. Happy to add some comments in or so if we decide to move ahead with this. |
|
||
// We don't actually *want* this inlined, but if it's not available for it, that | ||
// may hurt the codegen of the hot code in incremental_verify_ich (e.g., because | ||
// it's assumed that this function does something it shouldn't). |
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 admit I don't understand this comment. At least partly because I don't know what the referents are of "if it's not available for it".
I think you gave me a "soft" review request, so I'll give a soft approval in response :) Sounds like you're not after the actual r+ yet, but the basic change seems ok to me. |
This reduces codegen for rustc_query_impl by 169k lines of LLVM IR, representing a 1.2% improvement.
7ff4c40
to
dc65b22
Compare
Yeah, soft review was the intent. I clarified the comments a little which should hopefully address your question and I believe this is now ready for a full review. Didn't change any of the code so I don't think a fresh perf run is necessary. |
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.
Nice comments.
@bors r+ |
📌 Commit dc65b22 has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (22c2d9d): comparison url. Summary: This change led to large relevant mixed results 🤷 in compiler performance.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Next Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression |
Visiting for weekly performance triage.
@rustbot label: +perf-regression-triaged |
This reduces codegen for rustc_query_impl by 169k lines of LLVM IR, representing
a 1.2% improvement. This code should be fairly cold, so hopefully this has minimal
performance impact.