-
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
Create core::fmt::ArgumentV1
with generics instead of fn pointer
#90891
Conversation
r? @jackh726 (rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 2d042015faeb16b8ee59c98f2338c3573d1a805e with merge e7ca218bed4617e025bc0d11d072b26351ac6b29... |
☀️ Try build successful - checks-actions |
Queued e7ca218bed4617e025bc0d11d072b26351ac6b29 with parent b416e38, future comparison URL. |
Finished benchmarking commit (e7ca218bed4617e025bc0d11d072b26351ac6b29): comparison url. Summary: This change led to 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 |
The perf run shows that this change generally improves typechecking perf of Manually inlining Please queue another perf run, thanks! |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 1d60089fb0658e8d8fea6ce80833ea5855da18eb with merge c27884d95b11c30ef7e6320cfa2dd9772fce6b4a... |
☀️ Try build successful - checks-actions |
Queued c27884d95b11c30ef7e6320cfa2dd9772fce6b4a with parent ad44239, future comparison URL. |
Finished benchmarking commit (c27884d95b11c30ef7e6320cfa2dd9772fce6b4a): 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 |
core::fmt::ArgumentV1
with generics instead of fn pointercore::fmt::ArgumentV1
with generics instead of fn pointer
The later perf run shows that typeck is sped up in general, with some regression in debug profile codegen (which is expected, since |
I personally think this seems reasonable, but it's worth a perf run to see how regular inline fares. |
⌛ Testing commit b74eca7bee74116014db6b0bf6b14dd8562dbecb with merge 8036ccf3506596b40a474f9b2ffdde9f94e08879... |
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
This will prevent unstable order when HirIds are pertubated.
@bors r+ rollup=never |
📌 Commit 0d4bb0b has been approved by |
☀️ Test successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (e58e7b1): comparison url. Summary: This benchmark run shows 59 relevant improvements 🎉 but 14 relevant regressions 😿 to instruction counts.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Next Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression |
Create `core::fmt::ArgumentV1` with generics instead of fn pointer Split from (and prerequisite of) rust-lang#90488, as this seems to have perf implication. `@rustbot` label: +T-libs
Split from (and prerequisite of) #90488, as this seems to have perf implication.
@rustbot label: +T-libs