perf: reuse green-marking's edge walk when promoting a node#157781
perf: reuse green-marking's edge walk when promoting a node#157781xmakro wants to merge 1 commit into
Conversation
| // Find the highest edge in the new dep node indices | ||
| let edge_max = | ||
| edges.clone().map(|i| colors.current(i).unwrap().as_u32()).max().unwrap_or(0); | ||
| // Explicit loop: `iter().max()` doesn't inline here, so it doesn't vectorize. |
There was a problem hiding this comment.
I would love to see a smaller reproducer of this missed optimization
|
@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: reuse green-marking's edge walk when promoting a node
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (2132d40): 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 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 2.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.9%, secondary 3.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: 518.142s -> 518.408s (0.05%) |
990196d to
47a8a51
Compare
47a8a51 to
a4fd621
Compare
No description provided.