Partially revert "Use drop_guard in some places in {core,alloc,std}" - #162067
Partially revert "Use drop_guard in some places in {core,alloc,std}"#162067GrigorenkoPV wants to merge 1 commit into
drop_guard in some places in {core,alloc,std}"#162067Conversation
This partially reverts commit 4f404c1.
|
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.
Partially revert "Use `drop_guard` in some places in {core,alloc,std}"
|
r? clarfonthey since I reviewed the other change |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (a10c6b9): 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 -0.5%, secondary 1.6%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -5.6%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary -1.1%, secondary -1.6%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 475.395s -> 475.011s (-0.08%) |
This partially reverts #161702, because there was a perf regression.
This only reverts the places where there was an
#[inline]onfn dropbefore. (See #161702 (review) for context.)<mem::DropGuard as Drop>::dropas#[inline]#162064core::mem::DropGuard#144426This probably deserves a perf run to see if the regression is fixed