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

Function ReadLevels_Rle

cpp/src/parquet/column_reader_benchmark.cc:339–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337}
338
339static void ReadLevels_Rle(::benchmark::State& state) {
340 int16_t max_level = static_cast<int16_t>(state.range(0));
341 int num_levels = static_cast<int>(state.range(1));
342 int batch_size = static_cast<int>(state.range(2));
343 int level_repeat_count = static_cast<int>(state.range(3));
344 DecodeLevels(Encoding::RLE, max_level, num_levels, batch_size, level_repeat_count,
345 state);
346}
347
348static void ReadLevels_BitPack(::benchmark::State& state) {
349 int16_t max_level = static_cast<int16_t>(state.range(0));

Callers

nothing calls this directly

Calls 1

DecodeLevelsFunction · 0.85

Tested by

no test coverage detected