Specialize dropless arena for common alignment#159515
Conversation
|
Local benchmarks:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This comment has been minimized.
This comment has been minimized.
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
Specialize dropless arena for common alignment
|
@rust-timer build e63fa69 |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (e63fa69): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Benchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. Next, please: If you can, justify the regressions found in this try perf run in writing along with @bors rollup=never rustc-perf Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (secondary -0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesThis perf run didn't have relevant results for this metric. Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 485.656s -> 484.454s (-0.25%) |
This adds a dropless arena (
AlignedDroplessArena) which is specialized for a specific alignment andAlignedDroplessArenaswhich dispatches to an appropriate arena based on the required alignment. This saves instructions for alignment and memory for padding, with the drawback of more active arenas.This PR is LLM written.