-
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
Gather module items after lowering. #88703
Conversation
r? @jackh726 (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 5ffc563af96b1ff14400de3a9b370af50cc5754c with merge f7a3ac3869f210540060c13cd4a57d8752d354f1... |
This comment has been minimized.
This comment has been minimized.
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit e6cb0fbcfe8a5e17f29cde60d6cf93e7302ef6a0 with merge f9be3c7a2baa589da11754c257a4cef83524c9f7... |
☀️ Try build successful - checks-actions |
Queued f9be3c7a2baa589da11754c257a4cef83524c9f7 with parent 8ceea01, future comparison URL. |
Finished benchmarking commit (f9be3c7a2baa589da11754c257a4cef83524c9f7): 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 |
Nooo, I only left a comment... |
Looks like this PR does two different things:
The second part may be responsible for the perf differences. |
oops, tag? (but for real, I can take back the review if you've got too much on your plate, just figured this was more along what you'd normally review ♥) |
This comment has been minimized.
This comment has been minimized.
@bors r+ |
📌 Commit 91575f8 has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (7b5f952): 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 |
Visited for weekly performance triage. Several benchmarks improved, by around -1% (+/-0.20%). Some others regressed, by around +0.5% (+/- 0.2%) To me, this seems like a wash; I'm not sure its worth spending time investigating the source of the regressions. But since this was only labelled as a perf-regression two days ago, and my own analysis is based largely on skimming with my eyeballs, I'll hold off on officially triaging it; maybe someone will notice something I missed. |
This avoids having a non-local analysis inside lowering.
By implementing
hir_module_items
using a visitor, we make sure that iterations and visitors are consistent.