diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2023-07-03 16:40:16 -0400 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2023-07-03 16:40:16 -0400 |
| commit | 5323632210b0e17c33a77abc1be2c3a62c1f47ed (patch) | |
| tree | 190bfd0868025025355f6bcea6be918208934bc0 /benchmarks/include | |
| parent | 4ee495b0727ed40ec5923fe0909b9fda7c119263 (diff) | |
| download | dynamic-extension-5323632210b0e17c33a77abc1be2c3a62c1f47ed.tar.gz | |
Benchmark updates
Diffstat (limited to 'benchmarks/include')
| -rw-r--r-- | benchmarks/include/bench.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/include/bench.h b/benchmarks/include/bench.h index e14460e..3e1c6b2 100644 --- a/benchmarks/include/bench.h +++ b/benchmarks/include/bench.h @@ -130,9 +130,9 @@ static bool static_latency_bench(Shard *shard, std::vector<QP> queries, size_t t auto start = std::chrono::high_resolution_clock::now(); for (size_t j=0; j<queries.size(); j++) { - states[0] = Q::get_query_state(shard, &queries[i]); + states[0] = Q::get_query_state(shard, &queries[j]); Q::process_query_states(shard, states, nullptr); - auto res = Q::query(shard, states[0], &queries[i]); + auto res = Q::query(shard, states[0], &queries[j]); total_results += res.size(); Q::delete_query_state(states[0]); } |