[llvm-branch-commits] [Support] Increase the standard bump allocator slab size (PR #241235)

Pengcheng Wang via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Nov 11 03:25:07 PST 2026


https://github.com/wangpc-pp created https://github.com/llvm/llvm-project/pull/241235

Increase the standard allocator slab size from 4 KiB to 16 KiB.

This amortizes malloc and free calls across LLVM and Clang arenas.

Capacity-sensitive tests keep using an explicit 4 KiB allocator.

Three interleaved CTMark pairs reduce total compile time by 0.418%.

The workload geomean is reduced by 0.384%.

Assisted-by: TRAE CLI (GPT-6)





More information about the llvm-branch-commits mailing list