-
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
ast: Optimize list and value extraction primitives for attributes #107569
Conversation
It's not necessary to convert the whole attribute into a meta item to extract something specific
r? @eholk (rustbot has picked a reviewer for you, use r? to override) |
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit a9c8a5c with merge 2af8a52b328ed208751d49ed4a2a2b2f1e35f328... |
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (2af8a52b328ed208751d49ed4a2a2b2f1e35f328): comparison URL. Overall result: ✅ improvements - 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 is a highly reliable metric that was used to determine the overall result at the top of this comment.
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.
CyclesThis benchmark run did not return any relevant results for this metric. |
r? @nnethercote |
"Non-relevant results" are interesting here, especially if you select |
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (a94b9fd): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
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.
CyclesThis benchmark run did not return any relevant results for this metric. |
…woerister rustc_ast: Merge impls and reorder methods for attributes and meta items Merge `impl` blocks for the same types, change order of methods to be more predictable and consistent between impls. No functional changes. Follow up to rust-lang#107569.
It's not necessary to convert the whole attribute into a meta item to extract something specific.