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

Function BenchmarkBitmapAnd

cpp/src/arrow/util/bit_util_benchmark.cc:157–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157static void BenchmarkBitmapAnd(benchmark::State& state) {
158 BenchmarkAndImpl(state, [](const internal::Bitmap(&bitmaps)[2], internal::Bitmap* out) {
159 internal::BitmapAnd(bitmaps[0].data(), bitmaps[0].offset(), bitmaps[1].data(),
160 bitmaps[1].offset(), bitmaps[0].length(), 0, out->mutable_data());
161 });
162}
163
164static void BenchmarkBitmapVisitBitsetAnd(benchmark::State& state) {
165 BenchmarkAndImpl(state, [](const internal::Bitmap(&bitmaps)[2], internal::Bitmap* out) {

Callers

nothing calls this directly

Calls 6

BenchmarkAndImplFunction · 0.85
BitmapAndFunction · 0.85
dataMethod · 0.45
offsetMethod · 0.45
lengthMethod · 0.45
mutable_dataMethod · 0.45

Tested by

no test coverage detected