-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Cheaper dump_mir
take two
#105121
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
Cheaper dump_mir
take two
#105121
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nnethercote (or someone else) soon. Please see the contribution instructions for more information. |
@bors try @rust-timer queue |
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt This PR changes MIR cc @oli-obk, @RalfJung, @JakobDegen, @davidtwco, @celinval, @vakaras |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit 4f593ce with merge 6c723345f487c609556aff72ff9696832309a002... |
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (6c723345f487c609556aff72ff9696832309a002): comparison URL. Overall result: ✅ improvements - no 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. @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.
|
compiler/rustc_middle/src/mir/mod.rs
Outdated
@@ -184,30 +184,7 @@ impl RuntimePhase { | |||
|
|||
impl Display for MirPhase { |
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.
Do we still need this impl?
Looks good except for the question about the |
9a92e44
to
c7e94b0
Compare
@JakobDegen I think we talked about pass_count values in a previous PR. Can you have a look at c7e94b0? |
r=me if @JakobDegen is happy with the pass_count. |
This change lgtm. I actually don't quite like the output of this right now, but that's not a result of changes by this PR. I'll wait for this to merge and then try and make some improvements in a follow-up. |
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (fd02567): comparison URL. Overall result: ✅ improvements - no action needed@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.
CyclesThis benchmark run did not return any relevant results for this metric. |
…nnethercote Cheaper `dump_mir` take two alternative to rust-lang#105083 r? `@nnethercote`
alternative to #105083
r? @nnethercote