[all-commits] [llvm/llvm-project] fd7847: [libc++] Rewrite minmax_element benchmark

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Sat Dec 21 11:09:04 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fd784726db70a5155594c32ee839b8807fafd87d
      https://github.com/llvm/llvm-project/commit/fd784726db70a5155594c32ee839b8807fafd87d
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-12-21 (Sat, 21 Dec 2024)

  Changed paths:
    M libcxx/test/benchmarks/algorithms/min_max_element.bench.cpp

  Log Message:
  -----------
  [libc++] Rewrite minmax_element benchmark

The benchmark currently uses makeCartesianProductBenchmark, which
doesn't make a ton of sense, since minmax_element always goes through
every element one by one. The runtime doesn't depend on the values
of the elements.

Fixes #120758



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