| 129 | |
| 130 | template <typename ParamType> |
| 131 | void BenchUnique(benchmark::State& state, const ParamType& params) { |
| 132 | std::shared_ptr<Array> arr; |
| 133 | params.GenerateTestData(&arr); |
| 134 | |
| 135 | while (state.KeepRunning()) { |
| 136 | ABORT_NOT_OK(Unique(arr)); |
| 137 | } |
| 138 | params.SetMetadata(state); |
| 139 | } |
| 140 | |
| 141 | template <typename ParamType> |
| 142 | void BenchDictionaryEncode(benchmark::State& state, const ParamType& params) { |
no test coverage detected