-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Remove some #[inline(always)]
#104018
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
Remove some #[inline(always)]
#104018
Conversation
These are probably not necessary as the function bodies are trivial, so LLVM should inline them.
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit 22cb380 with merge b1c6494aa93caf777881ae15c6fa699693c247bd... |
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (b1c6494aa93caf777881ae15c6fa699693c247bd): 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. |
Hm, doesn't look like it's worth (just noise), so I'd probably leave 'em as is. |
Honestly with a significance factor of 1.08, I would do the perf run again and see if what the results look like. If it still regresses, try |
I think we could use |
Perf looks neutral to me, which is a good result here I suppose. Hopefully it's because of LTO kicking in. |
As these functions are defined in |
Ah, I didn't notice that PR, with that it doesn't make sense and only causes conflicts. I guess they can still be changed from |
These are probably not necessary as the function bodies are trivial, so LLVM should inline them.
r? @compiler-errors as you told me to open the pr and want to start the perf run