-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Also hash spans inside the same file as relative. #143882
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: master
Are you sure you want to change the base?
Conversation
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
Also hash spans inside the same file as relative. r? `@ghost` for perf
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
Also hash spans inside the same file as relative. r? `@ghost` for perf
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
Also hash spans inside the same file as relative. r? `@ghost` for perf
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (9b70448): comparison URL. Overall result: ❌✅ regressions and improvements - please read the text belowBenchmarking 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. Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient writing along with @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)Results (primary 0.1%, secondary 4.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -9.8%, secondary -3.9%)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: 465.532s -> 464.536s (-0.21%) |
This comment has been minimized.
This comment has been minimized.
Also hash spans inside the same file as relative.
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (bdb34d2): comparison URL. Overall result: ❌✅ regressions and improvements - please read the text belowBenchmarking 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. Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient writing along with @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)Results (primary -1.5%, secondary 4.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -6.8%, secondary -2.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: 467.629s -> 467.604s (-0.01%) |
sorry i dont have the time to review this, perhaps petrochenkov has feelings about this? or re-roll r? petrochenkov |
I also have mixed feelings. |
…chenkov Simplify span caches Split from rust-lang#143882 r? ``@petrochenkov``
…chenkov Simplify span caches Split from rust-lang#143882 r? ```@petrochenkov```
…chenkov Simplify span caches Split from rust-lang#143882 r? ````@petrochenkov````
…chenkov Simplify span caches Split from rust-lang#143882 r? `@petrochenkov`
…chenkov Simplify span caches Split from rust-lang#143882 r? ``@petrochenkov``
…chenkov Simplify span caches Split from rust-lang#143882 r? `@petrochenkov`
☔ The latest upstream changes (presumably #145600) made this pull request unmergeable. Please resolve the merge conflicts. |
799e1d0
to
2efad95
Compare
This PR was rebased onto a different master 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. |
2efad95
to
f9f3959
Compare
Simplify span caches Split from rust-lang/rust#143882 r? `@petrochenkov`
Spans that have a parent and that are contained in that parent are hashed as relative to the start position of their parent.
This works well for function bodies, but does not handle attributes.
This PR proposes to extend relative hashing when the span and the parent are in the same file.