-
Notifications
You must be signed in to change notification settings - Fork 13.7k
[WIP] Move more early buffered lints to dyn lint diagnostics #145881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
fa582a9
to
5e2b622
Compare
e37e022
to
37c36c5
Compare
Seems worth a try.
You might consider finishing the set you currently have and doing a perf run.
@fmease Regarding the potential performance issues, reading the previous PRs I don't think this is likely to hit the same issues. It could potentially regress for other reasons, but this change won't make the decorating any less lazy.
37c36c5
to
5cecd4a
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.
[WIP] Move more early buffered lints to dyn lint diagnostics
@bors try cancel
Try build cancelled. Cancelled workflows:
Dropped in favor a hard error in RUST-127907.
5cecd4a
to
6358700
Compare
@bors try @rust-timer queue
This comment has been minimized.
This comment has been minimized.
[WIP] Move more early buffered lints to dyn lint diagnostics
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (9d79411): 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 (primary 1.3%, secondary -0.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.2%, 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: 465.026s -> 464.899s (-0.03%) |
Uh oh!
There was an error while loading. Please reload this page.
Follow-up to #145747.
TODO: Migrate more variants. Presently, it's unclear if it's possible to migrate all variants to dyn lint diagnostics without regressing performance because for some early lints
decorate_builtin_lint
performs a bit more work (past PR #124417 has shown that eagerly decorating early lints is incredibly heavy and we had to revert back to lazily decorating in #125410). Let's see how this fares once I tackle the more 'risky' variants).cc @joshtriplett (you can immediately unsubscribe again, I just want to prevent duplicate efforts).