MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / Benchmark

Method Benchmark

tools/benchmark/benchmark.cpp:15–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13namespace benchmark {
14
15Benchmark::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
22void Benchmark::loadBenchmark(const std::string& benchmarkPath) {
23 BenchmarkParser parser;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected