-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Inline ty::Const::ty()
and ty::Const::val()
getters
#96022
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
Conversation
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 692bba6 with merge b2f31be77ed70401ca507b09dd41e49597ad4df6... |
☀️ Try build successful - checks-actions |
Queued b2f31be77ed70401ca507b09dd41e49597ad4df6 with parent 0d13f6a, future comparison URL. |
LOL, r=me once the CI perf results come in. |
Finished benchmarking commit (b2f31be77ed70401ca507b09dd41e49597ad4df6): comparison url. Summary:
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 may lead to changes in compiler perf. @bors rollup=never Footnotes |
|
Now that #96020 has landed, let's try again. @bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 692bba6 with merge 157d1bbcba9d4182b038493d964f4e7f8e332f9f... |
☀️ Try build successful - checks-actions |
Queued 157d1bbcba9d4182b038493d964f4e7f8e332f9f with parent 4ca19e0, future comparison URL. |
Finished benchmarking commit (157d1bbcba9d4182b038493d964f4e7f8e332f9f): comparison url. Summary:
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 may lead 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 Footnotes |
Perf results look good. I think the @rustbot label: +perf-regression-triaged |
@bors r+ |
📌 Commit 692bba6 has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (0034bbc): comparison url. Summary:
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
These were not inlined into
super_relate_consts
, which is one of the hottest functions in a callgrind profile of compilingbitmaps-3.1.0
.Yields some small speedups across various benchmarks locally:
Primary benchmarks
Secondary benchmarks
r? @nnethercote