Files
email-tracker/external/duckdb/benchmark/include/benchmark_configuration.hpp
2025-10-24 19:21:19 -05:00

34 lines
865 B
C++

//===----------------------------------------------------------------------===//
//
// DuckDB
//
// benchmark_configuration.hpp
//
//
//===----------------------------------------------------------------------===//
#pragma once
#include "duckdb/common/string.hpp"
#include "duckdb/common/vector.hpp"
#include "duckdb/common/helper.hpp"
#include "duckdb/common/optional_idx.hpp"
namespace duckdb {
enum class BenchmarkMetaType { NONE, INFO, QUERY };
enum class BenchmarkProfileInfo { NONE, NORMAL, DETAILED };
struct BenchmarkConfiguration {
public:
constexpr static size_t DEFAULT_TIMEOUT = 30;
public:
string name_pattern {};
BenchmarkMetaType meta = BenchmarkMetaType::NONE;
BenchmarkProfileInfo profile_info = BenchmarkProfileInfo::NONE;
optional_idx timeout_duration = optional_idx(DEFAULT_TIMEOUT);
};
} // namespace duckdb