Repository navigation
Conversation
|
First, let's perf this w/o setting @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] [perf] rustdoc: Fix the rendering and the disguising of the sized hierarchy
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (9fab6aa): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking means the PR may be perf-sensitive. Consider adding rollup=never if this change is not fit for rolling up. @rustbot label: -S-waiting-on-perf -perf-regression 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 -3.4%, secondary -4.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 4.5%)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: 463.652s -> 461.994s (-0.36%) |
3e259ed to
ed97bfd
Compare
|
@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] [perf] rustdoc: Fix the rendering and the disguising of the sized hierarchy
|
Perf'ing in parallel: #146483 (comment). |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (73a1484): comparison URL. Overall result: ❌ regressions - no action neededBenchmarking means the PR may be perf-sensitive. Consider adding rollup=never if this change is not fit for rolling up. @rustbot label: -S-waiting-on-perf -perf-regression 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 2.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 1.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: 461.503s -> 463.506s (0.43%) |
On main, we always (try to) "disguise" the sized hierarchy .. except this actually only happens for the middle::ty IR1 and not the HIR2 (so while we succeed in disguising it in the
stdfaçade we fail to disguise it incorefor example).Under this WIP PR, (the HIR issue is fixed but more crucially) we only disguise it if the feature
sized_hierarchyisn't enabled in the local crateor if the crate root declares.#![doc(disguise_sized_hierarchy)], a new temporary internal attribute intended to be used in the std libraryFixes #157247.
Part of #144404.
Likely needs a bunch of perf iterations.
Needs clean up, extra work & tests.
(No LLM was or will be used by me during the entire creation process of this PR)
Footnotes
Inlined cross-crate re-exports and synthetic impls. ↩
Local items including inlined local re-exports. ↩