-
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
Box thir::ExprKind::Adt
for performance
#86266
Conversation
r? @davidtwco (rust-highfive has picked a reviewer for you, use r? to override) |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 42f11b32fc40cf11cc6f18abd58f0f47bbcb39a4 with merge 2a510203a71897c9c924e66fa49eb444dabc13c3... |
☀️ Try build successful - checks-actions |
Queued 2a510203a71897c9c924e66fa49eb444dabc13c3 with parent 6cc5d54, future comparison URL. |
42f11b3
to
5e802e5
Compare
Finished benchmarking try commit (2a510203a71897c9c924e66fa49eb444dabc13c3): comparison url. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up. @bors rollup=never |
ExprKind::Adt
thir::ExprKind
I'd like to try boxing |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 7ba16512599d9e491b2035de106185b0f1c338e6 with merge cebaf13eee5bbb1bf05df1339bcddf37ce4288a1... |
☀️ Try build successful - checks-actions |
Queued cebaf13eee5bbb1bf05df1339bcddf37ce4288a1 with parent fb3ea63, future comparison URL. |
Finished benchmarking try commit (cebaf13eee5bbb1bf05df1339bcddf37ce4288a1): comparison url. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up. @bors rollup=never |
7ba1651
to
5e802e5
Compare
thir::ExprKind
thir::ExprKind::Adt
for performance
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a mild improvement that is worth landing, looks good to me.
@bors r+ |
📌 Commit 5e802e5 has been approved by |
Perf were better on the first run no? |
@marmeladema yes, @LeSeulArtichaut reverted to that commit. |
⌛ Testing commit 5e802e5 with merge 5b60db2f4cb8a914e0c1041fc66e6a4096377b75... |
The job Click to see the possible cause of the failure (guessed by this bot)
|
💔 Test failed - checks-actions |
Looks spurious. @bors retry |
☀️ Test successful - checks-actions |
Adt
is the biggest variant in the enum and probably isn't used very often compared to the other expr kinds, so boxing it should be beneficial for performance. We need a perf test to be sure.