Repository navigation
perf: remove cache in DeepResolverIgnoringRegions - #166384
rust-bors[bot] merged 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.
…ngregions, r=<try> [EXPERIMENT] remove cache in `DeepResolverIgnoringRegions`
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (35cbf19): 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 (secondary -2.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -1.9%)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: 460.582s -> 460.964s (0.08%) |
|
i was measuring some cycle count regressions locally, but apparently they don't show up on CI, cool! i'm going to:
|
|
It looks to me like there is a clear cycles/wall-time signal on next-solver-stress and typenum. And instruction counts look great.
Maybe do that in a separate PR? If it's a different type folder, it's probably best to keep the changes separate to make the results tracking clearer. |
DeepResolverIgnoringRegionsDeepResolverIgnoringRegions
69a413d to
1b02873
Compare
|
the force push contains a polished version of the initial commit. i do not expect the performances to change (i literally just inlined a variable reference that was defined at the previous line). |
|
@bors r+ |
|
I don't exactly understand why was the cache added in the first place. It seems like this was a regression since the begining in the original PR. Did you figure it out? The original PR says that it fixes a hang in |
i don't understand either. the original PR was focused on avoiding a hang in nalgebra, so i wouldn't be surprised if avoiding perf regression was never considered. |
|
The new solver has seen a lot of changes (including optimizations) since #130821, which was over two years ago. Presumably one or more of those changes made this cache unnecessary. |
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 cc43a03 (parent) -> 4cedc6b (this PR) Test differencesShow 2 test diffs2 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 4cedc6bd576618ca90bc479c67e4ba16892a6188 --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 (4cedc6b): 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 (secondary -3.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -2.7%)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: 462.502s -> 461.503s (-0.22%) |
this was initially added in #130821 but apparently is no longer necessary. removing this cache reduces IC by 0.12% to 0.48% across all the primary benchmarks and improves cycles/wall time on next-solver-stress and typenum.
r? @nnethercote
Note