| 117 | BENCHMARK(BM_PlainDecodingBooleanToBitmap)->Range(MIN_RANGE, MAX_RANGE); |
| 118 | |
| 119 | static void BM_PlainEncodingInt64(benchmark::State& state) { |
| 120 | std::vector<int64_t> values(state.range(0), 64); |
| 121 | auto encoder = MakeTypedEncoder<Int64Type>(Encoding::PLAIN); |
| 122 | for (auto _ : state) { |
| 123 | encoder->Put(values.data(), static_cast<int>(values.size())); |
| 124 | encoder->FlushValues(); |
| 125 | } |
| 126 | state.SetBytesProcessed(state.iterations() * state.range(0) * sizeof(int64_t)); |
| 127 | } |
| 128 | |
| 129 | BENCHMARK(BM_PlainEncodingInt64)->Range(MIN_RANGE, MAX_RANGE); |
| 130 |
nothing calls this directly
no test coverage detected