-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Revert "Use an UTF-8 locale for the linker." #74478
Conversation
r? @eddyb (rust_highfive has picked a reviewer for you, use r? to override) |
@bors try @rust-timer queue |
Awaiting bors try build completion |
⌛ Trying commit 09240a4 with merge 556b0eb41b4273f0dcde2cbc2bc9f53e2c09d688... |
☀️ Try build successful - checks-actions, checks-azure |
Queued 556b0eb41b4273f0dcde2cbc2bc9f53e2c09d688 with parent d3df851, future comparison URL. |
Finished benchmarking try commit (556b0eb41b4273f0dcde2cbc2bc9f53e2c09d688): comparison url. |
Yeah that was it. r? @oli-obk |
@bors r+ |
📌 Commit 09240a4 has been approved by |
@bors p=1 |
…arth Rollup of 7 pull requests Successful merges: - rust-lang#70817 (Add core::task::ready! macro) - rust-lang#73762 (Document the trait keyword) - rust-lang#74021 (impl Index<RangeFrom> for CStr) - rust-lang#74071 (rustc_metadata: Make crate loading fully speculative) - rust-lang#74445 (add test for rust-lang#62878) - rust-lang#74459 (Make unreachable_unchecked a const fn) - rust-lang#74478 (Revert "Use an UTF-8 locale for the linker.") Failed merges: r? @ghost
This 100% should have not landed in a rollup. It had an obvious and very large performance improvement. It's quite possible that this improvement masked a regression caused by another PR in the rollup. Rollup application has become a lot more aggressive recently, and this week it is causing all sorts of problems in diagnosing performance regressions. @Manishearth: please avoid including PRs that obviously have perf effects in rollups. Looking for perf CI runs ("comparison URL") is one thing to check for. (Watch out for GitHub hiding comments when the PR gets long.) @jonas-schievink: please use "rollup=never" to mark PRs that have known perf effects. |
@nnethercote yeah, I've been more aggressive because the queue has gotten bigger a couple times. I try to avoid including perf-affecting PRs in rollups, it's just easier if they're marked as rollup=never. In this case I figured we already knew what the impact was so wouldn't care. I guess I misunderstood the reasons behind avoiding rollups here (namely, masking the perf impact of the other PRs) I don't think it's reasonable for me to look through comments for this, if there's a perf impact that you care to measure separately, please use rollup=never. |
Even when there is a fixed string you can look for? My perf triage this week is an utter disaster. So many regressions, almost all in rollups. Some rollups with multiple regressions. Some rollups with both improvements and regressions. I don't even know for sure how many regressions we've had. I fear that we might not be able to determine them all without heroics, and we simply won't get perf back to where it was a week ago due to lack of information. I understand that rollups are unavoidable, but in my opinion the current approach is untenable when it comes to avoiding performance regressions, and I will be starting discussions about what we can do to improve things moving forward. In the meantime, if you are able to reduce the number of PRs per rollup -- even 10 is better than 18, for example -- that would also be helpful. |
In multiple PRs, many of which have the "show hidden comments" thing. Perhaps there should be tooling to automatically rollup=never any PR when it gets a perf run? (which can be undone if necessary) Like, that flag exists precisely as a signal so that rollup authors don't need to do this. Anyway, part of the issue was that I did not know that "may significantly impact perf" was a reason to always exclude from rollups in the first place. I knew that some perf PRs were rollup=never'd, but I didn't realize the reason behind that was that otherwise it's hard to triage the perf impact of the rollup. I thought the reason was simply that the authors desired a clean perf page for the PR. So I can definitely keep an eye out and proactively rollup=never things that affect perf. I already proactively do that kind of thing for funky build system PRs.
I can try, the problem is that a single PR takes four hours to test, and there's significant shepherding, so it ends up being like one rollup a day, letting rollup=nevers (which also pile up) land overnight. Note that most rollups have a relatively small number of nontrivial PRs, the rollups of size 18 typically contain the same number of nontrivial PRs as the rollups of size 10 -- when making a rollup I'll select a small number of iffy/maybe PRs and then basically everything in the rollup=always section. I can change this part very easily, the rollup=always PRs typically don't matter much. |
Yes, this is a good idea.
Is there documentation on how to do rollups, and manage landings in general? It would be good to have, to make it easier for new people who take on the role. E.g. for perf triage I have these docs, which I have updated several times.
Great, thank you.
Ok. My sense is that the "is trivial" judgment is harder than it seems, for anybody. So a rollup with 18 is much more likely to have one or more seems-trivial-but-isn't PRs in it than a rollup with 9. |
I've been meaning to write some.
I typically just trust the categorization, but I can also look closer at them. |
What's that? Is it a label the author puts on it? |
@nnethercote no, I meant the categorization of rollup=always but I used to do rollups before we had this categorization, so I have a decent sense of what might be less than trivial for perf or for other reasons |
@rust-timer make-pr-for a83e294 This should hopefully confirm my latest theory that this is indeed entirely responsible for that rollups results. |
Original message: Rollup merge of rust-lang#74478 - rust-lang:revert-74416-linker-locale-utf8, r=Mark-Simulacrum Revert "Use an UTF-8 locale for the linker." Reverts rust-lang#74416 This is suspected to have caused significant compile time regressions: https://perf.rust-lang.org/compare.html?start=39d5a61f2e4e237123837f5162cc275c2fd7e625&end=d3df8512d2c2afc6d2e7d8b5b951dd7f2ad77b02&stat=instructions:u
Reverts #74416
This is suspected to have caused significant compile time regressions: https://perf.rust-lang.org/compare.html?start=39d5a61f2e4e237123837f5162cc275c2fd7e625&end=d3df8512d2c2afc6d2e7d8b5b951dd7f2ad77b02&stat=instructions:u