Skip to content

Commit 2925550

Browse files
committed
TMP: Run all benchmark sizes
1 parent ff8566b commit 2925550

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

cpp/src/arrow/util/bpacking_benchmark.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ void BM_Unpack(benchmark::State& state, bool aligned, UnpackFunc<Int> unpack, bo
107107
// will not emit runs larger than 512 (though other implementation might), so we biased
108108
// the benchmarks towards a rather small scale.
109109
static const auto kNumValuesRange = benchmark::CreateRange(32, 512, 2);
110-
constexpr auto kBitWidths8 = std::initializer_list<int64_t>{1, 2, 8};
111-
constexpr auto kBitWidths16 = std::initializer_list<int64_t>{1, 2, 8, 13};
112-
constexpr auto kBitWidths32 = std::initializer_list<int64_t>{1, 2, 8, 20};
113-
constexpr auto kBitWidths64 = std::initializer_list<int64_t>{1, 2, 8, 20, 47};
110+
static const auto kBitWidths8 = benchmark::CreateDenseRange(0, 8, 1);
111+
static const auto kBitWidths16 = benchmark::CreateDenseRange(0, 16, 1);
112+
static const auto kBitWidths32 = benchmark::CreateDenseRange(0, 32, 1);
113+
static const auto kBitWidths64 = benchmark::CreateDenseRange(0, 64, 1);
114114

115115
static const std::vector<std::vector<int64_t>> kBitWidthsNumValuesBool = {
116116
{0, 1},

0 commit comments

Comments
 (0)