-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Try to fix a perf regression by updating log #47161
Conversation
r? @arielb1 (rust_highfive has picked a reviewer for you, use r? to override) |
a529057
to
773c60a
Compare
@bors: r+ |
📌 Commit 773c60a has been approved by |
@bors p=4 (Try to see if this can reduce the recent timeout failures) |
⌛ Testing commit 773c60a98e971c4ceba6e7c1bfc0d0286eb1384a with merge fbc632342d9c510f4b01d79e7364f220b89165f2... |
💔 Test failed - status-appveyor |
A legit error caused by bad interaction between the C library The
|
Could this try updating just |
@alexcrichton We could deal with it later if we don't update cargo. (why the error is not caught in cargo's CI though?) |
Yeah it's fine to not update Cargo here, the perf impact, in theory, is mostly in rustc. As to why it's not caught in Cargo no idea myself, they're inevitably different in some way and it's only a matter of time until you add something which exposes it. |
Upgrade `log` to `0.4` in multiple crates.
773c60a
to
3f073c4
Compare
I've rebased and removed the |
@bors r=alexcrichton |
📌 Commit 3f073c4 has been approved by |
…chton Try to fix a perf regression by updating log Upgrade `log` to `0.4` in multiple crates ~and `cargo`~. Cc: #47154.
☀️ Test successful - status-appveyor, status-travis |
It seems to have worked: http://perf.rust-lang.org/compare.html?start=8724337c233f593e9961609d8b0855d0ec2357a0&end=ee220daca345302c3277befee2732b6b2a5a711c&stat=wall-time Awesome! Thank you, @MaloJaffre! |
Does this needs to be beta-backported? (PR #46278 causing this regression was merged before the 1.24.0 beta release) |
Good catch! Yes, I think the performance difference is big enough to warrant a backport. |
Tagging as accepted as this helps fix the regression |
So I currently get log output like this:
in particular, the |
@KodrAus hm do you know why that may be occurring? |
Ah I see, it's because we're using |
@alexcrichton I'll get rust-cli/env_logger#53 merged and then push |
Upgrade
log
to0.4
in multiple cratesand.cargo
Cc: #47154.