-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Implement clone_from
for State
#90535
Conversation
Data flow engine uses `clone_from` for domain values. Providing an implementation of `clone_from` will avoid some intermediate memory allocations.
Since this may affect perf: @bors rollup=never |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 73f5b65 with merge 4f0189dffb2a7ab0eb4373b5da2b2b8ade1513ff... |
☀️ Try build successful - checks-actions |
Queued 4f0189dffb2a7ab0eb4373b5da2b2b8ade1513ff with parent 6414e0b, future comparison URL. |
Finished benchmarking commit (4f0189dffb2a7ab0eb4373b5da2b2b8ade1513ff): comparison url. Summary: This benchmark run did not return any relevant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking 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 led to changes in compiler perf. @bors rollup=never |
Doesn't seem to have an effect in practice. Opinions on how to proceed? I'm leaning towards closing |
The improvement in many-assoc-items is small, but consistent with previous perf run in https://perf.rust-lang.org/compare.html?start=22f1ad75e95500b3cab1d07c80d04c34d0f15f96&end=e6aabc9436a8e1ac1d5b98eb99e44b56694506c5 , and corresponding regression which introduced Feel free to merge or close as you feel appropriate. |
@bors r+ |
📌 Commit 73f5b65 has been approved by |
⌛ Testing commit 73f5b65 with merge 18e09912e8f1b9b8bbf380a3af0b80534eddf69b... |
💔 Test failed - checks-actions |
The job Click to see the possible cause of the failure (guessed by this bot)
|
Looks spurious. @bors retry |
☀️ Test successful - checks-actions |
Finished benchmarking commit (50f2c29): comparison url. Summary: This change led to very large relevant mixed results 🤷 in compiler performance.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Next Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression |
Data flow engine uses
clone_from
for domain values. Providing animplementation of
clone_from
will avoid some intermediate memoryallocations.
Extracted from #90413.
r? @oli-obk