Skip to content

Commit ec518f1

Browse files
committed
work
1 parent 0bdd59c commit ec518f1

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

cpp/src/parquet/arrow/reader_writer_benchmark.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ static void BenchmarkReadBinaryColumn(::benchmark::State& state,
502502
BenchmarkReadTable(state, *table, properties, table->num_rows(), total_bytes);
503503
}
504504

505-
static void SetReadBinaryColumnArgs(arrow::BenchmarkType* b) {
505+
static void SetReadBinaryColumnArgs(::arrow::BenchmarkType* b) {
506506
b->ArgNames({"null_probability", "unique_values"})
507507
// We vary unique values to trigger the dictionary-encoded (for low-cardinality)
508508
// and plain (for high-cardinality) code paths.
@@ -517,7 +517,7 @@ static void SetReadBinaryColumnArgs(arrow::BenchmarkType* b) {
517517
}
518518

519519
static void SetReadBinaryColumnArgsWithoutDictEncoding(
520-
arrow::BenchmarkType* b) {
520+
::arrow::BenchmarkType* b) {
521521
b->ArgNames({"null_probability", "unique_values"})
522522
// Dict-encoding is already tested in the PLAIN benchmarks, so only exercise
523523
// non-dict-encoding using high cardinality.

cpp/src/parquet/encoding_benchmark.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ struct BM_SpacedEncodingTraits<BooleanType> {
243243
using CType = bool;
244244
};
245245

246-
static void BM_SpacedArgs(arrow::BenchmarkType* bench) {
246+
static void BM_SpacedArgs(::arrow::BenchmarkType* bench) {
247247
constexpr auto kPlainSpacedSize = 32 * 1024; // 32k
248248

249249
bench->Args({/*size*/ kPlainSpacedSize, /*null_in_ten_thousand*/ 1});
@@ -778,7 +778,7 @@ BENCHMARK(BM_DeltaBitPackingDecode_Int64_Narrow)->Range(MIN_RANGE, MAX_RANGE);
778778
BENCHMARK(BM_DeltaBitPackingDecode_Int32_Wide)->Range(MIN_RANGE, MAX_RANGE);
779779
BENCHMARK(BM_DeltaBitPackingDecode_Int64_Wide)->Range(MIN_RANGE, MAX_RANGE);
780780

781-
static void ByteArrayCustomArguments(arrow::BenchmarkType* b) {
781+
static void ByteArrayCustomArguments(::arrow::BenchmarkType* b) {
782782
b->ArgsProduct({{8, 64, 1024}, {512, 2048}})
783783
->ArgNames({"max-string-length", "batch-size"});
784784
}
@@ -999,7 +999,7 @@ static void BM_DeltaDecodingByteArray(benchmark::State& state) {
999999
static_cast<double>(plain_encoded_size) / encoded_size;
10001000
}
10011001

1002-
static void ByteArrayDeltaCustomArguments(arrow::BenchmarkType* b) {
1002+
static void ByteArrayDeltaCustomArguments(::arrow::BenchmarkType* b) {
10031003
for (int max_string_length : {8, 64, 1024}) {
10041004
for (int batch_size : {512, 2048}) {
10051005
for (int prefixed_percent : {10, 90, 99}) {
@@ -1619,7 +1619,7 @@ class BM_DecodeArrowBooleanRle : public BenchmarkDecodeArrowBoolean {
16191619
}
16201620
};
16211621

1622-
static void BooleanWithNullCustomArguments(arrow::BenchmarkType* b) {
1622+
static void BooleanWithNullCustomArguments(::arrow::BenchmarkType* b) {
16231623
b->ArgsProduct({
16241624
benchmark::CreateRange(MIN_RANGE, MAX_RANGE, /*multi=*/4),
16251625
{1, 100, 1000, 5000, 10000},

cpp/src/parquet/metadata_benchmark.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class MetadataBenchmark {
112112
std::shared_ptr<WriterProperties> writer_properties_;
113113
};
114114

115-
void WriteMetadataSetArgs(arrow::BenchmarkType* bench) {
115+
void WriteMetadataSetArgs(::arrow::BenchmarkType* bench) {
116116
bench->ArgNames({"num_columns", "num_row_groups"});
117117

118118
for (int num_columns : {1, 10, 100}) {
@@ -128,7 +128,7 @@ void WriteMetadataSetArgs(arrow::BenchmarkType* bench) {
128128
}
129129
}
130130

131-
void ReadMetadataSetArgs(arrow::BenchmarkType* bench) {
131+
void ReadMetadataSetArgs(::arrow::BenchmarkType* bench) {
132132
WriteMetadataSetArgs(bench);
133133
}
134134

0 commit comments

Comments
 (0)