mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 21:05:39 +02:00
Reduce compilation costs of benchmarks
We replaced some simple std::algorithm usage by loops, and reduced header inclusion.
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user