| 118 | } |
| 119 | |
| 120 | void 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 | |
| 130 | void SetMultiPassArgs(benchmark::internal::Benchmark* bench) { |
| 131 | for (int batch_size = 1000; batch_size <= kTotalBatchSize; batch_size *= 10) { |
nothing calls this directly
no outgoing calls
no test coverage detected