Repository navigation
Use SmallVec in LocalizedConstraintGraph - #163190
Conversation
|
|
|
Disclosure: An LLM was used to identify this perf effect and to check the performance of the solution. |
4a5cea6 to
df8fb0f
Compare
|
@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.
Use SmallVec in LocalizedConstraintGraph
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (dff5fd0): 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.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 1.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary -0.2%, secondary -0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 490.182s -> 493.573s (0.69%) |
| ) -> Self { | ||
| let mut edges: FxHashMap<_, FxIndexSet<_>> = FxHashMap::default(); | ||
| let mut logical_edges: IndexVec<_, FxIndexSet<_>> = IndexVec::new(); | ||
| let mut edges: FxHashMap<_, SmallVec<[RegionVid; 4]>> = FxHashMap::default(); |
There was a problem hiding this comment.
random thought I had while reading this: it may be slightly be easier to minmax the best cutoffs for physical and logical edges in the future if there was only a SmallVec<_> type ascription here.
|
🚀 @bors r+ |
|
@bors p=6 |
This comment has been minimized.
This comment has been minimized.
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing 52d0fd8 (parent) -> 9a9d194 (this PR) Test differencesNo test diffs found Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 9a9d1946d1e119676b7a6a8a26a264061e61027d --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
|
Finished benchmarking commit (9a9d194): 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)Results (primary -2.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 39.3%)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: 494.96s -> 489.957s (-1.01%) |
This seems to be good for some of the rustc-perf benches that remain regressed under polonius.
r? lqd
LLM-generated perf summary table