should be it
This commit is contained in:
33
external/duckdb/benchmark/include/benchmark_configuration.hpp
vendored
Normal file
33
external/duckdb/benchmark/include/benchmark_configuration.hpp
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user