-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Skip codegen_crate call in check mode #148035
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
base: master
Are you sure you want to change the base?
Conversation
|
Some changes occurred in compiler/rustc_codegen_ssa |
|
@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.
Skip codegen_crate call in check mode
This comment has been minimized.
This comment has been minimized.
Sounds allowed by https://rust-lang.github.io/rfcs/3477-cargo-check-lang-policy.html, so no issue so long as it's not skipping anything that would be needed particularly often. (Not reporting things that'll be reported for any full build, like missing flags for a target, seems totally fine to me. That wouldn't be part of the core inner dev loop where check is most important.) |
|
Finished benchmarking commit (3eae4c9): 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.7%, secondary -3.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -2.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (secondary -0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 474.995s -> 475.128s (0.03%) |
3e6df8b to
5a8ffa4
Compare
|
@bors try @rust-timer queue To check how perf.rust-lang.org handles the change in timers. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Skip codegen_crate call in check mode
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (1d990a0): 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.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 0.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (secondary 0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 474.959s -> 474.684s (-0.06%) |
This way we don't have to spawn the coordinator thread. Some errors will no longer be emitted with this in check mode. For example the check that
-Ctarget-cpuis passed on targets that need this.Suggested by @saethlin