-
Notifications
You must be signed in to change notification settings - Fork 13.9k
re-use self.get_all_attrs result for pass indirectly attribute
#148600
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
base: master
Are you sure you want to change the base?
re-use self.get_all_attrs result for pass indirectly attribute
#148600
Conversation
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
re-use `self.get_all_attrs` result for pass indirectly attribute
|
|
|
Does anything else in #144529 jump out to you? |
|
Hmmm we do need to call I just took a look at the implementation of Alternatively it could've just been noise, since the benchmark did just bounce back. I think it being noise is the most likely answer. |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (1869732): comparison URL. Overall result: no relevant changes - no action neededBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible 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. CyclesResults (primary -2.4%, secondary -3.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 475.185s -> 475.633s (0.09%) |
|
@bors rollup |
Could be a fix for a potential performance regression reported here #144529 (comment). Apparently the regression later disappeared. Nevertheless, this seems like a decent refactor.
r? @JonathanBrouwer (vaguely attribute-related, maybe there are other optimizations to that PR that we're missing)