mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01: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
	 Martin Hořeňovský
					Martin Hořeňovský