| 13 | namespace benchmark { |
| 14 | |
| 15 | Benchmark::Benchmark(const std::string& benchmarkPath, Database* database, BenchmarkConfig& config) |
| 16 | : config{config}, compareResult{true}, expectedNumTuples{0} { |
| 17 | conn = std::make_unique<Connection>(database); |
| 18 | conn->setMaxNumThreadForExec(config.numThreads); |
| 19 | loadBenchmark(benchmarkPath); |
| 20 | } |
| 21 | |
| 22 | void Benchmark::loadBenchmark(const std::string& benchmarkPath) { |
| 23 | BenchmarkParser parser; |
nothing calls this directly
no test coverage detected