-
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
Mark Cell::replace() as #[inline] #102548
Conversation
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
r? @m-ou-se (rust-highfive has picked a reviewer for you, use r? to override) |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 49eaa0f with merge fb20a3c06e762760ff6f838384c1a2803042e6c2... |
☀️ Try build successful - checks-actions |
Queued fb20a3c06e762760ff6f838384c1a2803042e6c2 with parent 744e397, future comparison URL. |
Finished benchmarking commit (fb20a3c06e762760ff6f838384c1a2803042e6c2): 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 |
Note that the configuration of the perf. CI machine was changed just before this perf. run (temporarily for an experiment). So the cycle/wall-time/bootstrap results are not very indicative, until the first PR gets merged into master and perf. benchmarked with the new configuration. Instructions should be OK I think. |
Looks like this regresses time rustc needs to compile cargo by up to 25% though? 🤔 |
These numbers are not real, see #102548 (comment). |
☀️ Test successful - checks-actions |
Finished benchmarking commit (756e7be): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @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.
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 |
Hey, @scottmcm : it looks to me like the final results were ... still more good than bad, but not quite as good as what was predicted from the earlier run. Namely, the earlier run reported 37 primary improvements, but the end PR only says 14 primary improvements. Overall, I think it looks like something we still go ahead with. In some ways the biggest decision is whether to be concerned about that 1.8% hit to the build-time for |
I'm curious how, for serde_derive, opt-full was +1.76% but opt-incr-full was -0.05% (below significance threshold). I do still think this makes sense, based on the analysis from #102539 (comment) that inspired this PR in the first place. But it's always hard for me to judge these, so I'm mostly just leaning on "well, it said -0.1% overall" and that the diff is perfectly reasonable, so could plausibly be persuaded otherwise if anyone feels strongly. |
Giving this a try based on #102539 (comment).