Repository navigation
Implement clone_from for BorrowckDomain - #164089
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.
Implement `clone_from` for `BorrowckDomain`
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (f776b65): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking 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. @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 0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 0.7%, secondary 4.5%)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: 487.044s -> 488.946s (0.39%) |
|
r? @mati865 rustbot has assigned @mati865. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
@bors rollup=iffy |
…uwer Rollup of 4 perf-sensitive pull requests Successful merges: - #163425 (Treat union fields as aliasing each other in value_analysis) - #164074 (Avoid cloning impl trait AST nodes in late resolution) - #164089 (Implement `clone_from` for `BorrowckDomain`) - #164150 (Reserve more capacity for Symbol interner)
Rollup merge of #164089 - TaKO8Ki:borrowck-domain-clone-from, r=mati865 Implement `clone_from` for `BorrowckDomain` I've added a similar implementation for `BorrowckDomain` as for `rustc_const_eval::check_consts::resolver::State`. https://github.com/rust-lang/rust/blob/208a58d8c1b22a5b43c8e671077ed5ac4032abde/compiler/rustc_const_eval/src/check_consts/resolver.rs#L270-L281
|
Note This PR was benchmarked as part of triage of its containing rollup: triage URL. Finished benchmarking commit (078dd24): 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)This perf run didn't have relevant results for this metric. CyclesResults (secondary 2.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.1%, secondary 0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Artifact size: 406.63 MiB -> 406.94 MiB (0.08%) |
I've added a similar implementation for
BorrowckDomainas forrustc_const_eval::check_consts::resolver::State.rust/compiler/rustc_const_eval/src/check_consts/resolver.rs
Lines 270 to 281 in 208a58d