[libcxx-commits] [libcxx] [libc++] Remove {Pause, Resume}Timing from fast push_back benchmarks (PR #209130)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 14 07:27:49 PDT 2026


================

----------------
ldionne wrote:

This benchmark says it inserts into an empty container, but in reality the container is reserved after the first iteration. So either we should reserve explicitly (like we do elsewhere), or we should truly start from an empty and non-reserved container every iteration. Doable in another PR.

https://github.com/llvm/llvm-project/pull/209130


More information about the libcxx-commits mailing list