Use PGO for Cargo#159149
Conversation
|
@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.
|
💔 Test for 0109abd failed: CI. Failed job:
|
This comment has been minimized.
This comment has been minimized.
5b7c55c to
6fc8fbe
Compare
|
@bors try |
This comment has been minimized.
This comment has been minimized.
|
💔 Test for 7353424 failed: CI. Failed job:
|
This comment has been minimized.
This comment has been minimized.
6fc8fbe to
f96c8fe
Compare
|
@bors try |
This comment has been minimized.
This comment has been minimized.
|
💔 Test for 1f59755 failed: CI. Failed job:
|
This comment has been minimized.
This comment has been minimized.
f96c8fe to
1a74d3b
Compare
|
@bors try |
This comment has been minimized.
This comment has been minimized.
|
💔 Test for cf8ac50 failed: CI. Failed job:
|
This comment has been minimized.
This comment has been minimized.
|
@bors try |
This comment has been minimized.
This comment has been minimized.
e35ad1c to
28266f3
Compare
|
This pull request was unapproved. |
|
This pull request was not previously approved. |
This comment has been minimized.
This comment has been minimized.
Use PGO for Cargo try-job: dist-x86_64-msvc
|
Good. @bors r=jieyouxu |
|
@bors p=2 scheduling,perf |
This comment has been minimized.
This comment has been minimized.
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 87e5904 (parent) -> 5a8cd23 (this PR) Test differencesShow 2 test diffs2 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 5a8cd237d4fad99d862aed51fab8cb5345c97013 --output-dir test-dashboardAnd 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 (5a8cd23): 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 (secondary -0.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -2.1%, secondary -4.0%)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: 486.983s -> 487.476s (0.10%) |
|
How come that this is perf improvement on rustc-perf? I though we don't measure cargo overhead. |
|
Good question. In theory, we shouldn't be, but I know that often when the Cargo submodule is updated, it tends to produce slight changes in perf. results. The only explanation I have for that is that slight changes in Cargo and rustc invocations made by it somehow perturb the collection of PGO profiles 🤷♂️ |
View all comments
I downloaded the built Cargo and compared it with the parent commit locally on
bors(which is of course not in the PGO training set). The results are quite nice:~7.5% icount improvement, that's pretty cool.