summaryrefslogtreecommitdiffstats
path: root/benchmarks/include
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2024-04-19 17:38:16 -0400
committerDouglas Rumbaugh <dbr4@psu.edu>2024-04-19 17:38:16 -0400
commit438feac7e56fee425d9c6f1a43298ff9dc5b71d1 (patch)
tree986ea9a630494be1af6bdf8ccb7639b6f3934576 /benchmarks/include
parent8479f3ce863dfb6d3b20ff4678fa6fe92ee86b52 (diff)
downloaddynamic-extension-438feac7e56fee425d9c6f1a43298ff9dc5b71d1.tar.gz
Properly implemented support for iteratively decomposable problems
Diffstat (limited to 'benchmarks/include')
-rw-r--r--benchmarks/include/standard_benchmarks.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/benchmarks/include/standard_benchmarks.h b/benchmarks/include/standard_benchmarks.h
index 83e3aaa..f5af558 100644
--- a/benchmarks/include/standard_benchmarks.h
+++ b/benchmarks/include/standard_benchmarks.h
@@ -22,20 +22,17 @@ static double delete_proportion = 0.05;
template<typename DE, typename QP>
static void run_queries(DE *extension, std::vector<QP> &queries) {
- size_t total;
for (size_t i=0; i<queries.size(); i++) {
auto q = &queries[i];
auto res = extension->query(q);
auto r = res.get();
- total += r.size();
}
}
template<typename S, typename QP, typename Q>
static void run_static_queries(S *shard, std::vector<QP> &queries) {
- size_t total;
for (size_t i=0; i<queries.size(); i++) {
auto q = &queries[i];
@@ -45,10 +42,7 @@ static void run_static_queries(S *shard, std::vector<QP> &queries) {
std::vector<void*> states = {state};
Q::process_query_states(q, states, nullptr);
-
auto res = Q::query(shard, state, q);
-
- total += res.size();
}
}