Uh oh!
There was an error while loading. Please reload this page.
Use panic() instead of panic!() in some places in core. - #92155
Conversation
rust-highfive
commented
Dec 21, 2021
r? @kennytm (rust-highfive has picked a reviewer for you, use r? to override) |
m-ou-se
commented
Dec 21, 2021
@bors try @rust-timer queue |
rust-timer
commented
Dec 21, 2021
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
bors
commented
Dec 21, 2021
⌛ Trying commit ad6ef48 with merge 412eae87151e5669c0fabb73403ce60f665eff6b... |
bors
commented
Dec 21, 2021
☀️ Try build successful - checks-actions |
rust-timer
commented
Dec 21, 2021
Queued 412eae87151e5669c0fabb73403ce60f665eff6b with parent 87e8639, future comparison URL. |
rust-timer
commented
Dec 21, 2021
Finished benchmarking commit (412eae87151e5669c0fabb73403ce60f665eff6b): comparison url. Summary: This change led to moderate 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 |
eddyb
commented
Dec 21, 2021
Only one test regressed and it's in LLVM time (only with optimizations on), so if I had to guess, it's spending more time optimizing because it has more opportunities(?) or maybe it's just a spurious CGU reshuffle. |
m-ou-se
commented
Dec 21, 2021
r? @eddyb |
I took another look and this is pretty telling: To me that suggests that the r=me whenever that is resolved and we can compare w/o the extra noise cc @Mark-Simulacrum |
Mark-Simulacrum
commented
Dec 21, 2021
rust-lang/rustc-perf#1127 should be deployed, so new try builds should pick that up -- let's @bors try @rust-timer queue |
rust-timer
commented
Dec 21, 2021
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
bors
commented
Dec 21, 2021
⌛ Trying commit ad6ef48 with merge 9ea815ce02d0627e5c079fa6cec343a2d1ecac66... |
bors
commented
Dec 21, 2021
☀️ Try build successful - checks-actions |
rust-timer
commented
Dec 21, 2021
Queued 9ea815ce02d0627e5c079fa6cec343a2d1ecac66 with parent 8ad3c1d, future comparison URL. |
This comment has been minimized.
This comment has been minimized.
m-ou-se
commented
Dec 22, 2021
@bors r=eddyb |
bors
commented
Dec 22, 2021
📌 Commit 22c4160 has been approved by |
bors
commented
Dec 22, 2021
⌛ Testing commit 22c4160 with merge b994e3e57ed19e25954da3432746e403ffdf1544... |
ehuss
commented
Dec 22, 2021
@bors treeclosed=100 Something seems wrong with the windows builders, this will likely fail. |
rust-log-analyzer
commented
Dec 22, 2021
The job Click to see the possible cause of the failure (guessed by this bot) |
bors
commented
Dec 22, 2021
💔 Test failed - checks-actions |
ehuss
commented
Dec 22, 2021
@bors retry Windows test_interior_nul issue |
ehuss
commented
Dec 22, 2021
@bors treeclosed- |
bors
commented
Dec 23, 2021
bors
commented
Dec 23, 2021
☀️ Test successful - checks-actions |
rust-timer
commented
Dec 23, 2021
Finished benchmarking commit (390bb34): comparison url. Summary: This benchmark run did not return any relevant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |

See #92068 and #92140.
This avoids the
panic!()macro in a few potentially hot paths. This becomes more relevant when switchingcoreto Rust 2021, as it'll avoid format_args!() and save some compilation time. (It doesn't make a huge difference, but still.) (Also the errors in const panic become slightly nicer.)