Remove Span from segments of AttrPath - #149790
Conversation
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
[PERF] How much does lowering the spans in `AttrPath` matter?
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 (d9eae17): 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 -1.5%, secondary 3.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -2.6%, secondary -3.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.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 473.701s -> 471.996s (-0.36%) |
284989d to
b14a451
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.
[PERF] How much does lowering the spans in `AttrPath` matter?
This comment has been minimized.
This comment has been minimized.
|
@bors try cancel |
|
Try build cancelled. Cancelled workflows: |
b14a451 to
6b42c4e
Compare
|
@bors try |
[PERF] How much does lowering the spans in `AttrPath` matter?
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.
This comment has been minimized.
This comment has been minimized.
[PERF] How much does lowering the spans in `AttrPath` matter?
AttrPath matter?Span from AttrPath
Span from AttrPathSpan from segments of AttrPath
| #[derive(Clone, Debug, HashStable_Generic, Encodable, Decodable)] | ||
| pub struct AttrPath { | ||
| pub segments: Box<[Ident]>, | ||
| pub segments: Box<[Symbol]>, |
There was a problem hiding this comment.
This is the core change, everything else is processing the consequences of this line
|
Some changes occurred in src/tools/clippy cc @rust-lang/clippy Some changes occurred in src/tools/rustfmt cc @rust-lang/rustfmt Some changes occurred in compiler/rustc_passes/src/check_attr.rs Some changes occurred in compiler/rustc_attr_parsing |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (59abdd0): comparison URL. Overall result: ✅ improvements - 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 -0.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -0.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary -0.0%, secondary -0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 481.595s -> 480.404s (-0.25%) |
|
@bors r+ rollup |
Rollup merge of #149790 - JonathanBrouwer:attr-path-perf, r=jdonszelmann Remove `Span` from segments of `AttrPath` r? jdonszelmann
…jdonszelmann Remove `Span` from segments of `AttrPath` r? jdonszelmann
Remove `Span` from segments of `AttrPath` r? jdonszelmann
Rollup of 3 pull requests Successful merges: - rust-lang/rust#149790 (Remove `Span` from segments of `AttrPath`) - rust-lang/rust#150384 (Tidying up tests/ui/issues 16 tests [7/N]) - rust-lang/rust#150697 (relate.rs: tiny cleanup: eliminate temp vars 2) r? `@ghost` `@rustbot` modify labels: rollup
r? jdonszelmann