-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Use const initializer for LOCAL_PANIC_COUNT #92461
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
@bors r+ rollup=never (plausible perf effect, but should be positive or neutral) |
📌 Commit 6e4c3b1 has been approved by |
⌛ Testing commit 6e4c3b1 with merge 64aaec50341510cde64227a2f67a73d8be26a35e... |
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
@bors retry spurious network error |
⌛ Testing commit 6e4c3b1 with merge 4484eacdad2cfbdfbfa56fbcb413dac1723889ff... |
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
Why does the |
Seems that const |
@rustbot ready |
☔ The latest upstream changes (presumably #95581) made this pull request unmergeable. Please resolve the merge conflicts. |
8a0c633
to
bfd45e0
Compare
☔ The latest upstream changes (presumably #95727) made this pull request unmergeable. Please resolve the merge conflicts. |
This reduces the size of the __getit function for LOCAL_PANIC_COUNT and should speed up accesses of LOCAL_PANIC_COUNT a bit.
bfd45e0
to
cbc0a15
Compare
Rebased |
r? @Mark-Simulacrum as you reviewed previously |
@bors r+ |
📌 Commit cbc0a15 has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (ef9b498): comparison url. Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
This reduces the size of the __getit function for LOCAL_PANIC_COUNT and should speed up accesses of LOCAL_PANIC_COUNT a bit.