Make has_attr check behind effects feature#127144
Make has_attr check behind effects feature#127144fee1-dead wants to merge 1 commit intorust-lang:masterfrom
has_attr check behind effects feature#127144Conversation
|
@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
compiler-errors
left a comment
There was a problem hiding this comment.
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