-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
resolve: In visit_scopes do not extract ctxt out of span unless necessary
#150982
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
base: main
Are you sure you want to change the base?
Conversation
|
rustbot has assigned @JonathanBrouwer. Use |
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
[WIP] resolve: In `visit_scopes` do not extract ctxt out of span unless necessary
This comment was marked as resolved.
This comment was marked as resolved.
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (90c065e): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesResults (secondary 3.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 473.667s -> 471.559s (-0.45%) |
|
The benefits here are actually larger than I expected. This is good, but if we want to apply the same approach to working with The optimal way of modifying syntax contexts is:
Of course we don't know which scenario applies until runtime. |
b2f4911 to
0361bd0
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
visit_scopes do not extract ctxt out of span unless necessaryvisit_scopes do not extract ctxt out of span unless necessary
|
@rustbot ready |
|
@bors r+ rollup=never |
This recovers the second half of perf regressions from #149681 (the first part was recovered in #150741).