-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Shrink hir::Ty
and hir::Pat
#101467
Shrink hir::Ty
and hir::Pat
#101467
Conversation
Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit feec8bc1b82627df07ab20c8a8b26116b1cb2168 with merge b9ccbaf07a4c57df630c2d88a9cdbc6ca80b25b9... |
This comment has been minimized.
This comment has been minimized.
☀️ Try build successful - checks-actions |
Queued b9ccbaf07a4c57df630c2d88a9cdbc6ca80b25b9 with parent b44197a, future comparison URL. |
Finished benchmarking commit (b9ccbaf07a4c57df630c2d88a9cdbc6ca80b25b9): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking 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 may lead to changes in compiler perf. @bors rollup=never Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Footnotes |
feec8bc
to
3e87a7a
Compare
There is a lot of noise in the benchmark suite at the moment, but after looking in detail at the cycles and max-rss results I am confident that there is a small but real performance improvement here, and it is worth proceeding. r? @spastorino |
This comment has been minimized.
This comment has been minimized.
3e87a7a
to
ae1a9c4
Compare
@nnethercote looks good. Saw that you have force pushed some stuff after running perf, unsure if you wanted to run perf again but in one case or another feel free to r=me when you think it's ready. |
Ha ha, this one is ready, thanks! @bors r=spastorino |
📌 Commit ae1a9c439146c4ac0b3f722ff652ba62d5452687 has been approved by It is now in the queue for this repository. |
☔ The latest upstream changes (presumably #94075) made this pull request unmergeable. Please resolve the merge conflicts. |
This shrinks `hir::Ty` from 72 to 48 bytes. `visit_lifetime` is added to the HIR stats collector because these types are now stored in memory on their own, instead of being within other types.
This shrinks `hir::Pat` from 88 to 72 bytes.
ae1a9c4
to
e67f39f
Compare
Rebased. @bors r=spastorino |
☀️ Test successful - checks-actions |
Finished benchmarking commit (24d6992): comparison URL. Overall result: ❌ regressions - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Footnotes |
The @rustbot label: +perf-regression-triaged |
…storino Shrink `hir::Ty` and `hir::Pat` r? `@ghost`
r? @ghost