MCPcopy Create free account
hub / github.com/apache/arrow / HashJoinBasicBenchmarkImpl

Function HashJoinBasicBenchmarkImpl

cpp/src/arrow/acero/hash_join_benchmark.cc:212–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210};
211
212static void HashJoinBasicBenchmarkImpl(benchmark::State& st,
213 BenchmarkSettings& settings) {
214 uint64_t total_rows = 0;
215 for (auto _ : st) {
216 st.PauseTiming();
217 {
218 JoinBenchmark bm(settings);
219 st.ResumeTiming();
220 bm.RunJoin();
221 st.PauseTiming();
222 total_rows += (settings.stats_probe_rows ? bm.stats_.num_probe_rows
223 : bm.stats_.num_build_rows);
224 }
225 st.ResumeTiming();
226 }
227 st.counters["rows/sec"] =
228 benchmark::Counter(static_cast<double>(total_rows), benchmark::Counter::kIsRate);
229}
230
231template <typename... Args>
232static void BM_HashJoinBasic_KeyTypes(benchmark::State& st,

Calls 1

RunJoinMethod · 0.80

Tested by

no test coverage detected