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

Function BM_DictEncodingInt64_literals

cpp/src/parquet/encoding_benchmark.cc:1157–1164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1155BENCHMARK(BM_DictDecodingInt64_literals)->Range(MIN_RANGE, MAX_RANGE);
1156
1157static void BM_DictEncodingInt64_literals(benchmark::State& state) {
1158 using Type = Int64Type;
1159 using T = typename Type::c_type;
1160
1161 std::vector<T> values(state.range(0));
1162 std::iota(values.begin(), values.end(), 0);
1163 EncodeDict<Type>(values, state);
1164}
1165
1166BENCHMARK(BM_DictEncodingInt64_literals)->Range(MIN_RANGE, MAX_RANGE);
1167

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected