Group dep nodes by chunks with sequential indices and only store the first index at the start of the chunk#140319
Group dep nodes by chunks with sequential indices and only store the first index at the start of the chunk#140319Zoxc wants to merge 1 commit intorust-lang:mainfrom
Conversation
|
r? @nnethercote rustbot has assigned @nnethercote. Use |
This comment has been minimized.
This comment has been minimized.
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
Group dep nodes by chunks with sequential indices and only store the first index at the start of the chunk This groups dep nodes by chunks with sequential indices and only stores the first index at the start of the chunk. This should reduce the dep graph size overhead from rust-lang#139756. This is based on rust-lang#139758.
|
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (4e914b4): comparison URL. Overall result: ❌✅ regressions and improvements - BENCHMARK(S) FAILEDBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @bors rollup=never ❗ ❗ ❗ ❗ ❗
❗ ❗ ❗ ❗ ❗ Instruction countThis is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.
Max RSS (memory usage)Results (primary -0.2%, secondary 2.8%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResults (primary 0.8%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 775.41s -> 777.006s (0.21%) |
|
This is marked as a draft so I will... @rustbot author |
|
Reminder, once the PR becomes ready for a review, use |
This comment has been minimized.
This comment has been minimized.
|
☔ The latest upstream changes (presumably #121909) made this pull request unmergeable. Please resolve the merge conflicts. |
4207ff7 to
5fc59da
Compare
…first index at the start of the chunk
5fc59da to
46a7d19
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.
Group dep nodes by chunks with sequential indices and only store the first index at the start of the chunk
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (5825e91): comparison URL. Overall result: ❌ regressions - please read the text belowBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient writing along with @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 (primary 0.1%, secondary 1.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 3.6%, secondary 1.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.0%, secondary 0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 470.454s -> 473.967s (0.75%) |
|
The expected dep graph reductions show up on perf, but I don't see why instructions would slightly regress, as we're now decoding / encoding less. Locally it's a slight improvement:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
rustc-perf is our gold standard. If that shows regressions on CI, that takes precedence over local measurements. |
|
I'll take an up to 0.45% (mean 0.1%) instruction regression to fix the dep graph size regression though. |
|
☔ The latest upstream changes (presumably #152516) made this pull request unmergeable. Please resolve the merge conflicts. |
This groups dep nodes by chunks with sequential indices and only stores the first index at the start of the chunk. This should reduce the dep graph size overhead from #139756.