-
Notifications
You must be signed in to change notification settings - Fork 14k
rustdoc: add fmt_json helper and use it to avoid allocations #148950
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: main
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.
rustdoc: add fmt_json helper and use it to avoid allocations
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (294b29d): comparison URL. Overall result: ❌ regressions - no action neededBenchmarking 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. @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 9.3%, secondary -2.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeResults (secondary -0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 472.486s -> 473.739s (0.27%) |
|
Wow that is an extremely noisy benchmark.... the supposed "regression" doesn't even appear to be in a doc-related test. now i'm wondering if there's a way we can decrease the noise of the benchmark, as that would let us identify smaller regressions and improves. |
One thing that would probably be pretty good ROI is to allow scheduling perf runs for specific profiles, so i.e. would could benchmark only the "Doc" profile. |
|
Another thing that might help is adding more test scenarios, i.e. adding crates on which running rustdoc is significantly more time-consuming. (and if we never enable the non-"Doc" profiles for those, they won't make the normal, all-profile perf runs take too much more time) |
No description provided.