Mark <mem::DropGuard as Drop>::drop as #[inline] - #162064
Conversation
|
@GrigorenkoPV: 🔑 Insufficient privileges: not in try users |
|
r? @JohnTitor rustbot has assigned @JohnTitor. 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.
Mark `<mem::DropGuard as Drop>::drop` as `#[inline]`
|
r? clarfonthey since I reviewed the other change |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (4606595): 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 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 (primary 2.6%, secondary -2.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -3.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary -0.5%, secondary -1.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 475.395s -> 473.906s (-0.31%) |
|
Tempted to say these are a net positive but will take another look later. |
|
This is positive, yes, especially if you look at binary sizes - in some benchmarks, like This doesn't address the original regression so we have to be a bit careful to asses the impact overall. It's possible (but unlikely in my opinion) that this is only positive because #161702 was negative and the benefit of this PR largely disappears when we address the root cause. Not a blocking concern, but something to keep in mind for example if later results come back unexpectedly red. |
|
Right, this does not address the main regression, but still is a net positive, IMO. I guess I'll hold off on merging in case we'd rather revert the original before implementing a proper fix. |
|
Side note: with the full revert in #162128, it's up to you if you want to reuse this PR or open a new one for whatever fix you come up with. I'm not sure I can delegate perf runs, but will try and run them when you ask. |
|
@rustbot author |
|
Reminder, once the PR becomes ready for a review, use |
301ea4e to
50c40f4
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. |
|
Cool. Looks like bors didn't pick up the edit? @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.
Mark `<mem::DropGuard as Drop>::drop` as `#[inline]`
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (4c21a3f): comparison URL. Overall result: ❌ regressions - 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 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 (primary -0.1%, secondary -2.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.5%, secondary -0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 1.3%, secondary 1.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: missing data |
|
The failure looks unrelated. cc @Kobzol @JonathanBrouwer is this possibly related to something you're working on right now? |
|
No, it looks like some (hopefully transient) error in fetching SHAs from GitHub on the collector machines 🤔 It should only affect the bootstrap build. |
View all comments
#161702 has caused a perf regression. As suggested in #161702 (review), this might help.
This is a revert of #162128 (which was a revert of #161702) +
<mem::DropGuard as Drop>::dropis now marked#[inline].Tracking issue: #144426