diff options
Diffstat (limited to 'benchmarks')
| -rw-r--r-- | benchmarks/include/standard_benchmarks.h | 6 | ||||
| -rw-r--r-- | benchmarks/vldb/ts_parmsweep.cpp | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/benchmarks/include/standard_benchmarks.h b/benchmarks/include/standard_benchmarks.h index 797b0c5..d3408c1 100644 --- a/benchmarks/include/standard_benchmarks.h +++ b/benchmarks/include/standard_benchmarks.h @@ -55,17 +55,15 @@ static void run_queries(DE *extension, std::vector<typename Q::Parameters> &quer itr++; } }else if constexpr (std::is_same_v<PGM, DE>) { - size_t tot = 0; auto ptr = extension->find(queries[i].lower_bound); while (ptr != extension->end() && ptr->first <= queries[i].upper_bound) { - tot++; ++ptr; } } else { auto q = queries[i]; auto res = extension->query(std::move(q)); if constexpr (!BSM) { - auto result = res.get(); + [[maybe_unused]] auto result = res.get(); #ifdef BENCH_PRINT_RESULTS fprintf(stdout, "\n\n"); for (int i=result.size()-1; i>=0; i--) { @@ -111,7 +109,7 @@ static void run_static_queries(S *shard, std::vector<typename Q::Parameters> &qu std::vector<typename Q::LocalQuery*> local_queries = {Q::local_preproc(shard, q)}; Q::distribute_query(q, local_queries, nullptr); - auto res = Q::local_query(shard, local_queries[0]); + [[maybe_unused]] auto res = Q::local_query(shard, local_queries[0]); #ifdef BENCH_PRINT_RESULTS fprintf(stdout, "\n\n"); diff --git a/benchmarks/vldb/ts_parmsweep.cpp b/benchmarks/vldb/ts_parmsweep.cpp index a9203ab..0141c53 100644 --- a/benchmarks/vldb/ts_parmsweep.cpp +++ b/benchmarks/vldb/ts_parmsweep.cpp @@ -18,7 +18,7 @@ typedef de::Record<uint64_t, uint64_t> Rec; typedef de::TrieSpline<Rec> Shard; -typedef de::rc::Query<Shard, true> Q; +typedef de::rc::Query<Shard> Q; typedef de::DynamicExtension<Shard, Q, de::LayoutPolicy::TEIRING, de::DeletePolicy::TOMBSTONE, de::SerialScheduler> Ext; typedef de::DynamicExtension<Shard, Q, de::LayoutPolicy::LEVELING, de::DeletePolicy::TOMBSTONE, de::SerialScheduler> Ext2; typedef Q::Parameters QP; |