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

Method registerBenchmarks

tools/benchmark/benchmark_runner.cpp:23–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23void BenchmarkRunner::registerBenchmarks(const std::string& path) {
24 if (std::filesystem::is_regular_file(path)) {
25 registerBenchmark(path);
26 } else if (std::filesystem::is_directory(path)) {
27 for (auto& f : std::filesystem::directory_iterator(path)) {
28 registerBenchmark(f.path().string());
29 }
30 }
31}
32
33void BenchmarkRunner::runAllBenchmarks() {
34 for (auto& benchmark : benchmarks) {

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected