-
Notifications
You must be signed in to change notification settings - Fork 13.7k
rustdoc: a few micro-optimizations targeted at build_impl #145851
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
Conversation
Start a perf check whenever you think it's ready. 👍 |
Honestly I kinda want a baseline to see if a few tiny changes like this will show up at all or not. Even if it shows up as no change, that is useful data for future optimization attempts. @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.
rustdoc: a few micro-optimizations targeted at build_impl
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (05c0f81): comparison URL. Overall result: ❌✅ regressions and improvements - 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 -0.6%, secondary -1.1%)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 sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 467.387s -> 467.14s (-0.05%) |
Ok yeah, this is about what I expected, a small but measurable improvement to Confident the first change is worth it, unsure about the second. |
Didn't even know there were other metrics. O.o Anyway, only improvements so feel free to r=me. |
@bors r=GuillaumeGomez |
dc45ff1
to
f16d1fc
Compare
@bors r- |
whoops, meant to push to a new branch (reset the branch back to the approved commit) @bors r=GuillaumeGomez |
☀️ Test successful - checks-actions |
A job failed! Check out the build log: (web) (plain enhanced) (plain) Click to see the possible cause of the failure (guessed by this bot)
|
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing d829133 (parent) -> cdb45c8 (this PR) Test differencesShow 4 test diffs4 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard cdb45c87e2cd43495379f7e867e3cc15dcee9f93 --output-dir test-dashboard And then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
Finished benchmarking commit (cdb45c8): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -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.0%, secondary 0.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 3.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 469.024s -> 469.05s (0.01%) |
Unsure if these will be anything substantial, but the first one at least should git rid of quite a few branches, second one unsure if it's worth it.
r? @GuillaumeGomez