-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Box AssertKind #111082
Box AssertKind #111082
Conversation
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt This PR changes MIR cc @oli-obk, @RalfJung, @JakobDegen, @davidtwco, @celinval, @vakaras |
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit a98aae4adc7a71341d43c451ba81f0b91aa5db48 with merge 30d20dc74f0c284de32ced72fc489cf59e0acd48... |
This comment has been minimized.
This comment has been minimized.
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
LGTM, assuming no perf regressions. @bors delegate=saethlin |
✌️ @saethlin can now approve this pull request |
Finished benchmarking commit (30d20dc74f0c284de32ced72fc489cf59e0acd48): comparison URL. Overall result: ❌ regressions - 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.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 656.457s -> 656.712s (0.04%) |
Some changes occurred in compiler/rustc_codegen_cranelift cc @bjorn3 |
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (9d795a6): comparison URL. Overall result: ❌ regressions - 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. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 656.873s -> 656.624s (-0.04%) |
Hunh. I dismissed the regression as noise initially, but seeing it in 2 runs means it's much more likely to be real and significant. I suspect the reason we see this is that keccak is like a stress test of checked slice (or is it array?) indexing. It probably has way more panic paths than any normal program. Good to be aware of this though. |
r? @nnethercote this feels like your kind of thing
I want to add a new variant to
AssertKind
that needs 3 operands, and that ends up breaking a bunch of size assertions. So... what if we go the opposite direction first; shrinkingAssertKind
by boxing it?