Migration of LintDiagnostic - part 5#153152
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.
Migration of LintDiagnostic - part 5
|
Simplified |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (0c55ed2): 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)This benchmark run did not return any relevant results for this metric. CyclesResults (primary -6.1%, secondary 2.3%)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: 481.72s -> 480.975s (-0.15%) |
|
If not too annoying I'd like to see the perf regression fixed as well |
d39a00a to
f3d639f
Compare
|
@bors r+ rollup=never I've added taking a further look at this to the TODO list of the tracking issue, I have some ideas but don't have time right away to try those out |
|
IIUC this PR basically undoes my PR #125410 (its perf vs this PR's perf). It's very intentional that these were decorated lazily. Why can't the decorating keep happening lazily for |
|
That PR's perf had effect on primary benchmarks, while this one only regresses the secondary benchmark, so it's definitely not fully undoing your work. It's not easy because the new API we're working towards making I like perf just as much as you, and I do want to fix this, just don't think the perf regression is bad enough that it has to be done now |
7597288 to
8a824ee
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. |
|
^ Rebased to solve merge conflicts |
|
Try build cancelled. Cancelled workflows: |
This comment has been minimized.
This comment has been minimized.
Migration of LintDiagnostic - part 5
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (e2bd8b9): comparison URL. Overall result: ❌✅ regressions and 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 (primary 1.9%, secondary -0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 4.9%)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: 480.113s -> 479.022s (-0.23%) |
|
@bors r+ rollup |
…uwer Rollup of 12 pull requests Successful merges: - #152941 (prefer actual ABI-controling fields over target.abi when making ABI decisions) - #153227 (Don’t report missing fields in struct exprs with syntax errors.) - #153265 (Clarified doc comments + added tests confirming current behavior for intersperse/intersperse_with) - #152966 (Migrate 11 tests from tests/ui/issues to specific directories) - #153003 (rustdoc: make `--emit` and `--out-dir` mimic rustc) - #153034 (Remove unhelpful hint from trivial bound errors) - #153152 (Migration of LintDiagnostic - part 5) - #153177 (disable the ptr_fragment_in_final test on s390x) - #153221 (Add release notes for 1.94.0) - #153279 (feat: Provide an '.item_kind()' method on ItemEnum) - #153297 (Update the name of the Hermit operating system) - #153309 (Cleanup of c-variadic link test)
Rollup merge of #153152 - GuillaumeGomez:migrate-diag, r=JonathanBrouwer Migration of LintDiagnostic - part 5 Part of #153099. With this, `rust_lint` is finally done, although the change of API of `decorate_builtin_lint` impacted a few other crates, although minimal, still needed to be mentioned. r? @JonathanBrouwer
|
Thanks a bunch for addressing the perf regression, @JonathanBrouwer 🙏❤️ |
LintDiagnostic - part 5
View all comments
Part of #153099.
With this,
rust_lintis finally done, although the change of API ofdecorate_builtin_lintimpacted a few other crates, although minimal, still needed to be mentioned.r? @JonathanBrouwer