[all-commits] [llvm/llvm-project] 15f30e: [libc++] Fix the batch size used in the std::gcd b...

Louis Dionne via All-commits all-commits at lists.llvm.org
Mon Jan 6 12:34:54 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15f30e70eb18340fc422805707870e298d93161f
      https://github.com/llvm/llvm-project/commit/15f30e70eb18340fc422805707870e298d93161f
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M libcxx/test/benchmarks/numeric/gcd.bench.cpp

  Log Message:
  -----------
  [libc++] Fix the batch size used in the std::gcd benchmark (#120618)

Since that benchmark is testing n*n inputs, the batch size reported to
GoogleBenchmark should be that amount. Otherwise, GoogleBenchmark
reports the timing for calling std::gcd on the whole sequence, which is
misleading.



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