Reduce compilation costs of benchmarks

We replaced some simple std::algorithm usage by loops, and reduced
header inclusion.
This commit is contained in:
Martin Hořeňovský
2023-04-10 15:03:29 +02:00
parent 7d07efc92b
commit fe64c28925
7 changed files with 55 additions and 40 deletions

View File

@@ -22,6 +22,8 @@
#include <catch2/benchmark/detail/catch_benchmark_function.hpp>
#include <catch2/benchmark/detail/catch_estimate_clock.hpp>
#include <numeric>
namespace {
struct manual_clock {
public: