-
Notifications
You must be signed in to change notification settings - Fork 13.3k
(do not merge) Try some inline things with a skipped test #114446
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? @m-ou-se (rustbot has picked a reviewer for you, use r? to override) |
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit b24b382 with merge 6e9848822c888a2f47242ff3f527ad23016db6ac... |
☀️ Try build successful - checks-actions |
1 similar comment
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
oops, misclicked the comment box. I hope I didn't cancel the try and perf builds. It's still in the perf queue so that looks good What I wanted to say is that try builds don't require tests to pass, they don't test anything |
Finished benchmarking commit (6e9848822c888a2f47242ff3f527ad23016db6ac): 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.
Binary sizeResultsThis 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.
Bootstrap: 647.584s -> 648.501s (0.14%) |
Eh, that’s not very exciting. Can probably forget about this one |
do you mean that the inline is not worth it? I don't think the compiler allocates that many arcs, it mostly uses Rc so the benchmarks are not representative |
I guess I don't know in that case since I was assuming it's moreso Arc. Rc has a similar If you know a way to fix that test so it's not just counting the function call, I can do that and add the inline as part of #113156. And probably do the same thing for Rc so it's getting tested. I just am not sure how to fix that test |
arcinner_layout_for_value_layout
is not currently being inlined, and we can't inline it since it is required by a test. Once figuring out how to rewrite the test we should be able to change this if the performance is worth it.Zulip discussion: https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Inline.20causing.20failed.20codegen.20test