-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Fix performance regression with #[instrument] #89363
Conversation
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 30c3b7e0fe425917bd8356ed3334b216243b3e96 with merge b5602a152eaddec13f5618989f4828d111cdfef2... |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
3844b26
to
a907681
Compare
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit a9076811504e29807cde539aeeae2b4c9ecc530e with merge fa066f98f2e0ca15f41722c40c5cee5c7d71fddb... |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit d40c21b734cb5e7d1689d85e5fb5022018a525a6 with merge 3faf913e5755711caf4fddb8a822679e4584afbc... |
This comment has been minimized.
This comment has been minimized.
☀️ Try build successful - checks-actions |
Queued 3faf913e5755711caf4fddb8a822679e4584afbc with parent 50f9f78, future comparison URL. |
Finished benchmarking commit (3faf913e5755711caf4fddb8a822679e4584afbc): comparison url. Summary: This change led to very large relevant mixed results 🤷 in compiler performance.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR led to changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @bors rollup=never |
d40c21b
to
69274aa
Compare
r? rust-lang/compiler |
Reviewing the results, this looks like a substantial improvement. |
I do note that tracing-subscriber now takes ~1.8x as long to compile -- some of that might be noise, but maybe worth mentioning upstream. The minor performance regressions on a number of benchmarks do seem to be outweighed by the far larger and more consistent wins, though, so this seems good to merge to me in the meantime - we can always bump again if there's further improvements (e.g., to tracing-subscriber compile times). @bors r+ |
📌 Commit 69274aa has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (25ec827): comparison url. Summary: This change led to very large relevant improvements 🎉 in compiler performance.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
linked tracing PR: tokio-rs/tracing#1600
regression introduced by #89048