- Notifications
You must be signed in to change notification settings - Fork 13.9k
Micro-optimization in FunctionCx::initialize_locals
#147735
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?
Conversation
Some changes occurred in compiler/rustc_codegen_ssa |
r? @davidtwco rustbot has assigned @davidtwco. Use |
@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.
Micro-optimization in `FunctionCx::initialize_locals`
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (5b26667): 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)Results (primary -4.3%, secondary -3.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 2.3%)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: 474.854s -> 476.04s (0.25%) |
Doesn't make a dent in instruction counts, but reduces max RSS in some cases - which makes sense. So I think it's still worth merging. |
I'm not entirely convinced that the max RSS isn't just noise, but I think the new code is easier to read anyways, so lets merge this @bors r+ rollup=iffy |
…_opt, r=JonathanBrouwer Micro-optimization in `FunctionCx::initialize_locals` This showed up in a profile I was looking at, hoping this might improve perf by a little bit.
Rollup of 6 pull requests Successful merges: - #144936 (CFI: Fix types that implement Fn, FnMut, or FnOnce) - #147468 (Implement fs api set_times and set_times_nofollow) - #147660 (rustdoc-search: stringdex 0.0.2) - #147735 (Micro-optimization in `FunctionCx::initialize_locals`) - #147764 (Undo CopyForDeref assertion in const qualif) - #147783 (bootstrap: migrate to object 0.37) r? `@ghost` `@rustbot` modify labels: rollup
This showed up in a profile I was looking at, hoping this might improve perf by a little bit.