-
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
Remove some eval_always #86056
Remove some eval_always #86056
Conversation
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit eaafd8ead4d98f3d149f5cd0c09571b683150c98 with merge 8d3ac8e1689d1b87817fc925bd2897fa410c6079... |
This comment has been minimized.
This comment has been minimized.
☀️ Try build successful - checks-actions |
Queued 8d3ac8e1689d1b87817fc925bd2897fa410c6079 with parent 3740ba2, future comparison URL. |
Finished benchmarking try commit (8d3ac8e1689d1b87817fc925bd2897fa410c6079): comparison url. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up. @bors rollup=never |
@cjgillot the biggest slowdown I saw was from |
Also, I'd be curious to see the perf impact of just the first commit, using that for rust-lang/compiler-team#437 would make things a lot easier I think. |
The first commit is #85941 |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 52cae872b76456e98d0f279ce81d2dde50ee95e9 with merge 0b514f420336f0083b2363744ce7bdcdced7283f... |
☀️ Try build successful - checks-actions |
Queued 0b514f420336f0083b2363744ce7bdcdced7283f with parent 308fc23, future comparison URL. |
Finished benchmarking try commit (0b514f420336f0083b2363744ce7bdcdced7283f): comparison url. Summary: This change led to significant 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 perf run, please indicate this with @bors rollup=never |
r? @Aaron1011 |
@Aaron1011, I split this PR into several others, to measure the perf impact of individual commits.
If their impact is reasonable, I suggest you review them independently. |
Marking as blocked on the above PRs - but I could also imagine it might be better to just land these in individual PRs. |
Remove eval_always for inherent_impls. Split off rust-lang#86056 r? `@ghost`
Remove eval_always from upvars. Split off rust-lang#86056 r? `@ghost`
The crate name is part of the StableCrateId.
@cjgillot are also these related/split from this PR? |
Also take care to not remove |
Some
eval_always
marker may not be useful and trigger unnecessary query recomputations. This PR attempts to measure the amount of such recomputations.Blocked on #90581