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

Function FieldPathGetFromWideTable

cpp/src/arrow/type_benchmark.cc:531–537  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529}
530
531static void FieldPathGetFromWideTable(
532 benchmark::State& state) { // NOLINT non-const reference
533 constexpr int kNumColumns = 10000;
534 const double chunk_proportion = state.range(0) / 100.0;
535 auto table = ToTable(GenerateTestArray(kNumColumns), chunk_proportion);
536 BenchmarkFieldPathGet(state, *table, kNumColumns, table->column(0)->num_chunks());
537}
538
539BENCHMARK(TypeEqualsSimple);
540BENCHMARK(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