[all-commits] [llvm/llvm-project] 1ac93e: [libc++][pstl] Benchmark for parallel std::for_eac...

Michael G. Kazakov via All-commits all-commits at lists.llvm.org
Wed Sep 16 12:14:23 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ac93e094347b45208f215c98038606432c87d60
      https://github.com/llvm/llvm-project/commit/1ac93e094347b45208f215c98038606432c87d60
  Author: Michael G. Kazakov <mike.kazakov at gmail.com>
  Date:   2026-09-16 (Wed, 16 Sep 2026)

  Changed paths:
    A libcxx/test/benchmarks/algorithms/nonmodifying/pstl.for_each.bench.cpp

  Log Message:
  -----------
  [libc++][pstl] Benchmark for parallel std::for_each (#222153)

Adds the first benchmark suite for PSTL algorithms - `std::for_each`.
It measures the algorithm against 3 different sizes: `64`, `64K` and
`64M` elements; and against 3 different per-element operation costs:
`minimal`, `cheap` and `expensive`, thus producing 9 separate
benchmarks.
The suite normally runs only with `std::execution::par`, serial
benchmarks can be additionally executed by defining
`TEST_PSTL_ENABLE_SEQ_BASELINES`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list