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

Function BM_RowArray_DecodeOneOfColumns

cpp/src/arrow/acero/hash_join_benchmark.cc:739–748  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

737 ->ArgsProduct({{32, 64, 128}});
738
739static void BM_RowArray_DecodeOneOfColumns(benchmark::State& st,
740 std::vector<std::shared_ptr<DataType>> types) {
741 SchemaBuilder schema_builder;
742 for (const auto& type : types) {
743 DCHECK_OK(schema_builder.AddField(field("", type)));
744 }
745 auto schema = *schema_builder.Finish();
746 int column_to_decode = static_cast<int>(st.range(0));
747 RowArrayDecodeBenchmark(st, schema, column_to_decode);
748}
749
750const std::vector<std::shared_ptr<DataType>> fixed_length_row_column_types{
751 boolean(), int32(), fixed_size_binary(64)};

Callers

nothing calls this directly

Calls 4

RowArrayDecodeBenchmarkFunction · 0.85
fieldFunction · 0.50
AddFieldMethod · 0.45
FinishMethod · 0.45

Tested by

no test coverage detected