-
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
Make has_attr
check behind effects feature
#127144
Conversation
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
Make `has_attr` check behind effects feature attempt to fix the performance regression in rust-lang#120639. cc rust-lang#110395 r? project-const-traits
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.
r=me if perf is improved 💀
has_attr
calls are notorious for causing problems with perf -- we could perhaps whether a trait is const to the TraitDef
good as a followup. Will do when I get time |
thanks lmao i realized i forgot a verb in that sentence -- "record" whether |
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (0c92609): 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)This benchmark run did not return any relevant results for this metric. CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 696.374s -> 697.881s (0.22%) |
Inspired by rust-lang#127144 (review) and previous success in rust-lang#94897.
Queryify `has_attr` to improve performance Inspired by rust-lang#127144 (review) and previous success in rust-lang#94897. r? `@compiler-errors`
attempt to fix the performance regression in #120639.
cc #110395
r? project-const-traits