Improve cgu size estimate#156684
Conversation
|
r? @mati865 rustbot has assigned @mati865. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
@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.
Improve cgu size estimate
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (4f3300d): comparison URL. Overall result: ❌✅ regressions and improvements - BENCHMARK(S) FAILEDBenchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. Next, please: If you can, justify the regressions found in this try perf run in 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 2.0%, secondary 0.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.7%, secondary 4.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.6%, secondary 1.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: missing data |
|
The job failed, May I have a retry? @lqd rustc-perf did generated a report, but not sure if it's the expected one. walltime improved with -5% in mean. Error while benchmarking job BenchmarkJob {
id: 36134,
target: X86_64UnknownLinuxGnu,
backend: Llvm,
profile: Opt,
request_tag: "4f3300d930eca8fd67617858ee4961c9cc52c522",
benchmark_set: BenchmarkSet(
0,
),
created_at: 2026-05-18T09:36:03.125470Z,
status: InProgress {
started_at: 2026-05-18T10:09:13.752235Z,
collector_name: "x64-1",
},
deque_counter: 4,
kind: Rustc,
is_optional: false,
}
Job failed after being dequeued for 3 times |
|
Sure, I can queue another run for a different commit, otherwise the runner will say that sha1 is already benchmarked. So you may need to rebase or add another empty commit, something like that. |
|
I'll cc @Kobzol on that job failure though. |
6f2fac7 to
68b4d79
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
@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.
Improve cgu size estimate
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (9776c7e): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Benchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. Next, please: If you can, justify the regressions found in this try perf run in 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 1.6%, secondary 2.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.7%, secondary 3.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.7%, secondary 1.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 511.688s -> 512.164s (0.09%) |
|
Rustc itself (the bootstrap benchmark) failed to build on the first try, not sure why, I won't have access to rustc-perf runner logs this week. It could have been a transient issue downloading some rustc dependency from the web. |
This reverts commit 68b4d79.
c383a00 to
295e11c
Compare
|
Another perf-run requested |
|
@bors try @rust-timer queue |
|
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
|
⌛ Trying commit 295e11c with merge aa28d85… To cancel the try build, run the command Workflow: https://github.com/rust-lang/rust/actions/runs/26096412514 |
Improve cgu size estimate
View all comments
This patch improved walltime with -3% and rss with -120MB in my local benchmark of compiling rust-analyzer repo.
May I request a perf-run r?@bjorn3