Remove WithCachedTypeInfo::stable_hash.#155329
Remove WithCachedTypeInfo::stable_hash.#155329nnethercote wants to merge 1 commit intorust-lang:mainfrom
WithCachedTypeInfo::stable_hash.#155329Conversation
|
@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.
…, r=<try> Remove `WithCachedTypeInfo::stable_hash`.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (aef2982): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Benchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. Next, please: If you can, justify the regressions found in this try perf run in 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 -1.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -3.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 495.503s -> 489.042s (-1.30%) |
|
Pull request author cannot be assigned as reviewer. Please choose another assignee. |
0b026be to
27f66fe
Compare
|
Perf is pretty interesting here.
I think this is one of those cases where icounts is misleading, and overall the perf here is slightly positive. Combine that with it being a code simplification, and I'm inclined to pursue this. @rustbot label: +perf-regression-triaged |
|
|
|
|
|
The bootstrap time might be noise again. Base commit had a similarly big regression, and the next one on main is down by the same amount again. I guess this might also make the wall-time numbers tricky to analyze. It depends on whether the source of noise is something on the machine or something in the artifact. If it's on the machine, then those wall-time improvements might also be noise. |
27f66fe to
515530e
Compare
|
As an experiment I tried removing |
This comment has been minimized.
This comment has been minimized.
515530e to
1f1c4cd
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. |
|
I rebased. |
|
☔ The latest upstream changes (presumably #155392) made this pull request unmergeable. Please resolve the merge conflicts. |
We store a stable hash value in the most common interned values (e.g. types, predicates, regions). This is 16 bytes of data.
r? @oli-obk