Repository navigation
perf: remove cache in TypeRelating - #166454
Conversation
|
@bors try @rust-timer queue priority=-1 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…try> [EXPERIMENT] perf: remove cache in `TypeRelating`
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (c9caef8): 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.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.0%, secondary -2.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: 462.461s -> 461.928s (-0.12%) |
|
changes to the core type system cc @lcnr |
TypeRelatingTypeRelating
|
Looks good. Can you check the PR that originally added it to see if there are any non-obvious reasons for keeping it around? |
|
so: this cache was introduced in #130821. the tests added in this PR (coherence-alias-hang-with-region.rs, coherence-alias-hang.rs, nalgebra-hang) don't hang after removing this cache. i think we're good! i'll update the PR description. |
|
@bors r+ |
|
The cache should was added for the new solver, which has since been split into
|
|
@bors p=6 scheduling |
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 bc9132d (parent) -> 42e0b13 (this PR) Test differencesShow 3 test diffs3 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 42e0b13fb7310a12a827f6a28891c11d2e10923a --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 (42e0b13): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Our benchmarks found a performance regression caused by this PR. Next Steps:
@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 -1.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 3.1%, secondary -2.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: 462.454s -> 459.97s (-0.54%) |
removing this cache gives us 0.11% - 0.21% IC reduction on some primary benchmarks and up to 0.46% IC reduction on secondary benchmarks.
this cache was introduced in #130821 to address a hang. none of the tests added in this PR hang anymore after removing the cache.
r? @nnethercote
Note