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

Function BM_SpacedArgs

cpp/src/parquet/encoding_benchmark.cc:245–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243};
244
245static void BM_SpacedArgs(benchmark::internal::Benchmark* bench) {
246 constexpr auto kPlainSpacedSize = 32 * 1024; // 32k
247
248 bench->Args({/*size*/ kPlainSpacedSize, /*null_in_ten_thousand*/ 1});
249 bench->Args({/*size*/ kPlainSpacedSize, /*null_in_ten_thousand*/ 100});
250 bench->Args({/*size*/ kPlainSpacedSize, /*null_in_ten_thousand*/ 1000});
251 bench->Args({/*size*/ kPlainSpacedSize, /*null_in_ten_thousand*/ 5000});
252 bench->Args({/*size*/ kPlainSpacedSize, /*null_in_ten_thousand*/ 10000});
253}
254
255template <typename ParquetType>
256static void BM_EncodingSpaced(benchmark::State& state, Encoding::type encoding) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected