-
Notifications
You must be signed in to change notification settings - Fork 13.3k
proc_macro/bridge: Add #[inline] to RunningSameThreadGuard methods #101461
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
This is a potential fix to the perf regression from rust-lang#101414. r? @eddyb
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
Some changes occurred in library/proc_macro/src/bridge cc @rust-lang/wg-rls-2 |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 4913884 with merge e3cc1f3a7a5f000cd6334c8776177202a47c67f4... |
☀️ Try build successful - checks-actions |
Queued e3cc1f3a7a5f000cd6334c8776177202a47c67f4 with parent 2dc703f, future comparison URL. |
Finished benchmarking commit (e3cc1f3a7a5f000cd6334c8776177202a47c67f4): comparison URL. Overall result: ❌✅ regressions and improvements - 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. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @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.
Footnotes |
I think that both #101414 and this PR is mostly perf-neutral. All the affected benchmarks have recently become bimodal and are very noisy. |
According to #101414 (comment), "the regressions flagged [in #101414] are almost certainly noise". I don't think we need to pursue this further. Thanks anyway for the diligence in following up! |
This is a potential fix to the perf regression from #101414.
r? @eddyb