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

Function TakeFSBSetArgs

cpp/src/arrow/compute/kernels/vector_selection_benchmark.cc:601–611  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

599}
600
601void TakeFSBSetArgs(benchmark::internal::Benchmark* bench) {
602 for (int64_t size : g_data_sizes) {
603 for (auto nulls : std::vector<ArgsType>({1000, 10, 2, 1, 0})) {
604 // FixedSizeBinary of primitive sizes (powers of two up to 32)
605 // have a faster path.
606 for (int32_t byte_width : {8, 9}) {
607 bench->Args({static_cast<ArgsType>(size), nulls, byte_width});
608 }
609 }
610 }
611}
612
613// Flat values x Flat indices
614BENCHMARK(TakeInt64RandomIndicesNoNulls)->Apply(TakeSetArgs);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected