-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Only traverse attrs once while checking for coherence override attributes #93343
Conversation
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 644c22d with merge 14b4e3475978414bd2231200da745dc72f659842... |
☀️ Try build successful - checks-actions |
Queued 14b4e3475978414bd2231200da745dc72f659842 with parent a7f3757, future comparison URL. |
Finished benchmarking commit (14b4e3475978414bd2231200da745dc72f659842): comparison url. Summary: This benchmark run shows 7 relevant improvements 🎉 to instruction counts.
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 |
Super quick way to get back some of the small losses in the negative impl PR #93175, so r? @spastorino to do what you want with it, especially when #93348 should be better than this |
@bors r+ Let's land this but I'm taking a different approach in another PR. Would be nice to see performance difference with that other approach too. |
📌 Commit 644c22d has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (312a799): comparison url. Summary: This benchmark run shows 7 relevant improvements 🎉 to instruction counts.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
In coherence, while checking for negative impls override attributes: only traverse the
DefId
s' attributes once.This PR is an easy way to get back some of the small perf loss in #93175