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

Function BM_HashJoinBasic_Selectivity

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

Source from the content-addressed store, hash-verified

252#ifdef ARROW_BUILD_DETAILED_BENCHMARKS // Necessary to suppress warnings
253template <typename... Args>
254static void BM_HashJoinBasic_Selectivity(benchmark::State& st,
255 std::vector<std::shared_ptr<DataType>> key_types,
256 Args&&...) {
257 BenchmarkSettings settings;
258 settings.selectivity = static_cast<double>(st.range(0)) / 100.0;
259
260 settings.num_build_batches = static_cast<int>(st.range(1));
261 settings.num_probe_batches = settings.num_build_batches;
262 settings.key_types = std::move(key_types);
263
264 HashJoinBasicBenchmarkImpl(st, settings);
265}
266
267template <typename... Args>
268static void BM_HashJoinBasic_JoinType(benchmark::State& st, JoinType join_type,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected