Uh oh!
There was an error while loading. Please reload this page.
Small highlight.rs optimizations - #147106
Conversation
GuillaumeGomez
commented
Sep 27, 2025
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
… r=<try> Small `highlight.rs` optimizations
This comment has been minimized.
This comment has been minimized.
yotamofek
commented
Sep 27, 2025
(for the record) cc #146992 |
workingjubilee
commented
Sep 27, 2025
I wonder if we should have a rustdoc-specific perf check for cases where something only can affect rustdoc performance. |
yotamofek
commented
Sep 27, 2025
I've been fantasizing about that a lot. That would be sooo cool, at least for me personally (as someone whose majority of contributions tend to be around rustdoc perf and trying to improve it or at least not hurt it). But to be fair, it does sound like something that would require too much investment from the already-swamped infra team, for something that wouldn't be THAT beneficial across the board. I mean, apart from rustdoc people, it might make the perf runner queue shorter, but it does seem to be pretty short lately (probably more so since the migration to the beefier runner) |
workingjubilee
commented
Sep 27, 2025
It doesn't sound that costly on the backend side of things, honestly. It probably just needs someone willing to implement it. |
This comment has been minimized.
This comment has been minimized.
rust-timer
commented
Sep 28, 2025
Finished benchmarking commit (ee53c6e): comparison URL. Overall result: ❌ regressions - 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.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.7%, secondary -3.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 1.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 471.818s -> 471.944s (0.03%) |
bors
commented
Oct 26, 2025
☔ The latest upstream changes (presumably #146992) made this pull request unmergeable. Please resolve the merge conflicts. |
Let's get a perf run to see if these actually make any difference?
r? @GuillaumeGomez
(third commit is a cleanup, first two are the optimizations)