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

Function SetSelectivityArgs

cpp/src/arrow/acero/filter_benchmark.cc:120–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120void SetSelectivityArgs(benchmark::internal::Benchmark* bench) {
121 for (int batch_size = 1000; batch_size <= kTotalBatchSize; batch_size *= 10) {
122 for (double null_prob : {0.1, 0.5, 0.75, 1.0}) {
123 bench->ArgNames({"batch_size", "null_prob", "bool_true_prob"})
124 ->Args({batch_size, static_cast<int64_t>(null_prob * 100.0), 50})
125 ->UseRealTime();
126 }
127 }
128}
129
130void SetMultiPassArgs(benchmark::internal::Benchmark* bench) {
131 for (int batch_size = 1000; batch_size <= kTotalBatchSize; batch_size *= 10) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected