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

Function FieldPathGetFromWideTable

cpp/src/arrow/type_benchmark.cc:545–551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543}
544
545static void FieldPathGetFromWideTable(
546 benchmark::State& state) { // NOLINT non-const reference
547 constexpr int kNumColumns = 10000;
548 const double chunk_proportion = state.range(0) / 100.0;
549 auto table = ToTable(GenerateTestArray(kNumColumns), chunk_proportion);
550 BenchmarkFieldPathGet(state, *table, kNumColumns, table->column(0)->num_chunks());
551}
552
553BENCHMARK(TypeEqualsSimple);
554BENCHMARK(TypeEqualsComplex);

Callers

nothing calls this directly

Calls 5

ToTableFunction · 0.85
GenerateTestArrayFunction · 0.85
BenchmarkFieldPathGetFunction · 0.85
num_chunksMethod · 0.45
columnMethod · 0.45

Tested by

no test coverage detected