-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Inline and remove place_contents_drop_state_cannot_differ
.
#105436
Inline and remove place_contents_drop_state_cannot_differ
.
#105436
Conversation
It has a single call site and is hot enough to be worth inlining. And make sure `is_terminal_path` is inlined, too.
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit 68a1920 with merge a71692e2465d7363b500637adeeecfa163b82e1a... |
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (a71692e2465d7363b500637adeeecfa163b82e1a): 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.
|
This was also a small win on the r? @spastorino |
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (71ec145): 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. |
These post-merge results are different from the pre-merge perf run, they now look like steady-state perturbations on these benchmarks, that have since stabilized in #105350 (comment). |
This gave a small win locally for the |
…op_state_cannot_differ, r=spastorino Inline and remove `place_contents_drop_state_cannot_differ`. It has a single call site and is hot enough to be worth inlining. And make sure `is_terminal_path` is inlined, too. r? `@ghost`
It has a single call site and is hot enough to be worth inlining. And make sure
is_terminal_path
is inlined, too.r? @ghost