perf: Store 1 bit for splatting in FnDeclFlags#157954
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.
…try> perf: Store 1 bit for splatting in FnDeclFlags
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (a9e2a2a): comparison URL. Overall result: no relevant changes - no action neededBenchmarking means the PR may be perf-sensitive. Consider adding rollup=never if this change is not fit for rolling up. @rustbot label: -S-waiting-on-perf -perf-regression Instruction countThis perf run didn't have relevant results for this metric. Max RSS (memory usage)Results (secondary -2.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -2.7%, secondary 0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary -0.1%, secondary -0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 519.36s -> 519.482s (0.02%) |
|
Well that's good I guess, the complicated fix has no perf impact, so we don't need to do it. |
|
The result can also be interpreted as slightly positive. If you tick
We have to take all of this with a massive grain of salt but I'd be cautiously optimistic about the result :D. |
|
I would expect most results to be positive because we're reducing the data size of FnDef, so there's less data being copied around. Let's merge this as a partial mitigation of the regression in #157699 (comment) |
|
HIR ty lowering was modified cc @fmease |
|
r? @davidtwco rustbot has assigned @davidtwco. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
The job Click to see the possible cause of the failure (guessed by this bot) |
This PR tries to fix a perf regression in 1 primary benchmark introduced by #157699, by reducing the extra data in
FnDeclto 1 bit (packed into existing free bits).Regression details: #157699 (comment)