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

Function BM_DictDecodingInt64_literals

cpp/src/parquet/encoding_benchmark.cc:1146–1153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1144BENCHMARK(BM_DictEncodingInt64_repeats)->Range(MIN_RANGE, MAX_RANGE);
1145
1146static void BM_DictDecodingInt64_literals(benchmark::State& state) {
1147 typedef Int64Type Type;
1148 typedef typename Type::c_type T;
1149
1150 std::vector<T> values(state.range(0));
1151 std::iota(values.begin(), values.end(), 0);
1152 DecodeDict<Type>(values, state);
1153}
1154
1155BENCHMARK(BM_DictDecodingInt64_literals)->Range(MIN_RANGE, MAX_RANGE);
1156

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected