-
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
less symbol interner locks #122530
less symbol interner locks #122530
Conversation
r? @fee1-dead rustbot has assigned @fee1-dead. Use r? to explicitly pick a reviewer |
trait_ | ||
.items | ||
.iter() | ||
.find(|item| item.name.map(|n| n == *name).unwrap_or(false)) |
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.
Equal symbols <==> equal strings.
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
less symbol interner locks This reduces instructions under 1% (in rustdoc run), but essentially free.
This is well under 1%, so this can catch regressions only :-) |
This comment has been minimized.
This comment has been minimized.
If it results in instruction count changes, then it could be visible. Even if not, we can indeed check if it didn't produce a regression :) The perf. queue is empty anyway. |
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (cd7a399): comparison URL. Overall result: no relevant changes - no action neededBenchmarking 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 Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 669.125s -> 669.129s (0.00%) |
@bors r+ rollup |
…llaumeGomez Rollup of 6 pull requests Successful merges: - rust-lang#114651 (rustdoc: add `--test-builder-wrapper` arg to support wrappers such as RUSTC_WRAPPER when building doctests) - rust-lang#122468 (Cleanup `MirBorrowckCtxt::prefixes`) - rust-lang#122496 (Greatly reduce GCC build logs) - rust-lang#122512 (Cursor.rs documentation fix) - rust-lang#122513 (hir: Remove `opt_local_def_id_to_hir_id` and `opt_hir_node_by_def_id`) - rust-lang#122530 (less symbol interner locks) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#122530 - klensy:as_str, r=fee1-dead less symbol interner locks This reduces instructions under 1% (in rustdoc run), but essentially free.
This reduces instructions under 1% (in rustdoc run), but essentially free.