Conversation
|
LGTM |
|
@bors try @rust-timer queue Just to be sure :) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
06afe61 to
c1d3cfc
Compare
|
@bors try cancel |
|
Try build cancelled. Cancelled workflows: |
|
@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.
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (540561d): comparison URL. Overall result: ❌✅ regressions and improvements - 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 -3.2%, secondary -2.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 2.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 475.808s -> 473.718s (-0.44%) |
c1d3cfc to
52c330a
Compare
This comment has been minimized.
This comment has been minimized.
|
Locally I get small perf improvements, of a similar magnitude to the regressions seen on CI :( Cachegrind diffs indicate it's something about @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.
|
Finished benchmarking commit (fb757e0): comparison URL. Overall result: ❌ regressions - no action neededBenchmarking 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. @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 -1.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 3.6%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 472.94s -> 473.52s (0.12%) |
That worked. @bors r=cjgillot |
This comment has been minimized.
This comment has been minimized.
It has a single use. It doesn't need to be public. It doesn't use `self` and so doesn't need to be in the trait. And `IGNORED_ATTRIBUTES` can be moved within it.
It has a single `bool` field.
Calling `match` on a struct is a really weird thing to do. As the name suggests, it's an assert, so let's write it as one. Also clarify the comment a little.
It reads the `HashingControls::span` field, but there is also the `hashing_controls` method. No need to have two different ways of doing it.
It has a single impl, which does nothing, as you'd expect when hashing a type called `HashIgnoredAttrId`! So this commit just removes it, and `HashIgnoredAttrId::hash_stable` ends up doing nothing (with a comment) instead of calling the trait method to do nothing.
The new type makes the behaviour clearer: we start with the cache in an "unused" form and then instantiate it once it is actually used.
They both have a single use. Also adjust a couple of visibilities.
`HashStableContext` impls should be in `hcx.rs`, and `HashStable` impls should be in `impls_syntax.rs`. This commit moves a few that are in the wrong file.
It only has two uses. We can instead use `with_stable_hashing_context`, which has more than 30 uses.
I tried removing it to see what happened. Not a good idea!
f87bdac to
e35fd45
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
I rebased. @bors r=cjgillot |
|
The job Click to see the possible cause of the failure (guessed by this bot) |
I took a close look at
rustc_query_system::ichand found a bunch of things to improve.r? @cjgillot