Repository navigation
Conversation
|
Some changes occurred in compiler/rustc_codegen_llvm/src/debuginfo cc @Walnut356 |
|
r? @jieyouxu rustbot has assigned @jieyouxu. Use Why was this reviewer chosen?The reviewer was selected based on:
|
f845c0c to
ddb99a6
Compare
|
Will be fighting CI this weekend. |
|
@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.
cache last file returned by lookup_debug_loc in the llvm backend
ddb99a6 to
1da8284
Compare
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (7193fa7): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking means the PR may be perf-sensitive. Consider adding rollup=never if this change is not fit for rolling up. @bors rollup=iffy rustc-perf 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 (secondary 2.6%)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: 460.905s -> 493.975s (7.18%) |
|
I was hoping for more visible results, my local tests ran on |
This comment has been minimized.
This comment has been minimized.
1da8284 to
4ca7b78
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. |
|
I think that the wins are genuine (albeit small). I was also looking into this recently and this place seems quite hot. I wonder if we could generalize this though, and maybe keep a small buffer (e.g. 5 last files) that we would scan through linearly. |
|
Let’s give this another shot since #166140 is merged now and plausibly interacts with this: reusing more DISubprograms should mean fewer location lookups, but may also make a single-entry cache more effective since inlined callees are usually from other files and, so skipping those lookups may reduce thrashing. @bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
cache last file returned by lookup_debug_loc in the llvm backend
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
I've also opened #166457 as a possible alternative. Could I get a perf run please? |
|
Finished benchmarking commit (77abf1a): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking means the PR may be perf-sensitive. Consider adding rollup=never if this change is not fit for rolling up. @rustbot label: -S-waiting-on-perf -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.4%, secondary 2.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -2.4%)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: 462.461s -> 461.616s (-0.18%) |
View all comments