-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
rustc_metadata: Switch crate data iteration from a callback to iterator #92159
Conversation
The iteration looks more conventional this way, and some allocations are avoided.
r? @nagisa (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 046a682 with merge eba8c28d9084567cf02500425ff31399ea645e36... |
☀️ Try build successful - checks-actions |
Queued eba8c28d9084567cf02500425ff31399ea645e36 with parent fca4b15, future comparison URL. |
Finished benchmarking commit (eba8c28d9084567cf02500425ff31399ea645e36): comparison url. Summary: This change led to small relevant mixed results 🤷 in compiler performance.
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. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @bors rollup=never |
📌 Commit 046a682 has been approved by |
⌛ Testing commit 046a682 with merge 01948bfac8efac868bc89616636c89cdb19b22b8... |
💥 Test timed out |
@bors retry |
The job Click to see the possible cause of the failure (guessed by this bot)
|
@bors retry |
⌛ Testing commit 046a682 with merge 9796e714de7693689a2fd33499d63b0e91b31b36... |
💔 Test failed - checks-actions |
@bors retry |
⌛ Testing commit 046a682 with merge 31a0a0748b649525d3dda6324f2c8d2cb25cacd7... |
💔 Test failed - checks-actions |
@bors retry network error |
☀️ Test successful - checks-actions |
Finished benchmarking commit (e91ad5f): comparison url. Summary: This change led to moderate 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 |
The iteration looks more conventional this way, and some allocations are avoided.