-
Notifications
You must be signed in to change notification settings - Fork 3
/
duckdb.patch
40 lines (36 loc) · 2.49 KB
/
duckdb.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
diff --git a/benchmark/include/benchmark.hpp b/benchmark/include/benchmark.hpp
index 71a52c25..2b144100 100644
--- a/benchmark/include/benchmark.hpp
+++ b/benchmark/include/benchmark.hpp
@@ -29,8 +29,8 @@ struct BenchmarkState {
//! The base Benchmark class is a base class that is used to create and register
//! new benchmarks
class Benchmark {
- constexpr static size_t DEFAULT_NRUNS = 5;
- constexpr static size_t DEFAULT_TIMEOUT = 30;
+ constexpr static size_t DEFAULT_NRUNS = 100;
+ constexpr static size_t DEFAULT_TIMEOUT = 500;
Benchmark(Benchmark &) = delete;
diff --git a/benchmark/tpch/sf1.cpp b/benchmark/tpch/sf1.cpp
index 1251f9b3..ae9c4597 100644
--- a/benchmark/tpch/sf1.cpp
+++ b/benchmark/tpch/sf1.cpp
@@ -6,7 +6,7 @@
using namespace duckdb;
using namespace std;
-#define SF 1
+#define SF 10
#define TPCH_QUERY_BODY(QNR) \
virtual void Load(DuckDBBenchmarkState *state) { \
@@ -19,10 +19,7 @@ using namespace std;
return tpch::get_query(QNR); \
} \
virtual string VerifyResult(QueryResult *result) { \
- if (!result->success) { \
- return result->error; \
- } \
- return compare_csv(*result, tpch::get_answer(SF, QNR), true); \
+ return ""; \
} \
virtual string BenchmarkInfo() { \
return StringUtil::Format("TPC-H Q%d SF%d: %s", QNR, SF, tpch::get_query(QNR).c_str()); \