perf: Avoid freshening the same predicate twice per selection - #160484
perf: Avoid freshening the same predicate twice per selection#160484xmakro wants to merge 1 commit into
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.
perf: Avoid freshening the same predicate twice per selection
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (e0160e1): 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 -0.6%, secondary -0.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -0.0%, secondary 7.2%)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: 489.838s -> 489.173s (-0.14%) |
candidate_from_obligationfreshens a predicate thatpush_stackalready freshened. The two results can only differ if the predicate contains type or const inference variables. If it has none, we reusestack.fresh_trait_predand skip the second freshening.