diff --git a/cpp/src/arrow/compute/kernels/vector_partition_benchmark.cc b/cpp/src/arrow/compute/kernels/vector_partition_benchmark.cc index ff009c65543a6..f21dd8317e493 100644 --- a/cpp/src/arrow/compute/kernels/vector_partition_benchmark.cc +++ b/cpp/src/arrow/compute/kernels/vector_partition_benchmark.cc @@ -52,7 +52,6 @@ BENCHMARK(NthToIndicesInt64) ->Apply(RegressionSetArgs) ->Args({1 << 20, 100}) ->Args({1 << 23, 100}) - ->MinTime(1.0) ->Unit(benchmark::TimeUnit::kNanosecond); } // namespace compute diff --git a/cpp/src/arrow/compute/kernels/vector_topk_benchmark.cc b/cpp/src/arrow/compute/kernels/vector_topk_benchmark.cc index 3f89eb6bea9cd..e95e7a6f02a04 100644 --- a/cpp/src/arrow/compute/kernels/vector_topk_benchmark.cc +++ b/cpp/src/arrow/compute/kernels/vector_topk_benchmark.cc @@ -52,7 +52,6 @@ BENCHMARK(SelectKInt64) ->Apply(RegressionSetArgs) ->Args({1 << 20, 100}) ->Args({1 << 23, 100}) - ->MinTime(1.0) ->Unit(benchmark::TimeUnit::kNanosecond); } // namespace compute diff --git a/cpp/src/gandiva/tests/micro_benchmarks.cc b/cpp/src/gandiva/tests/micro_benchmarks.cc index ed77f8ae5045b..f126b769b2010 100644 --- a/cpp/src/gandiva/tests/micro_benchmarks.cc +++ b/cpp/src/gandiva/tests/micro_benchmarks.cc @@ -460,24 +460,24 @@ static void DecimalAdd3Large(benchmark::State& state) { DoDecimalAdd3(state, DecimalTypeUtil::kMaxPrecision, 18, true); } -BENCHMARK(TimedTestAdd3)->MinTime(1.0)->Unit(benchmark::kMicrosecond); -BENCHMARK(TimedTestBigNested)->MinTime(1.0)->Unit(benchmark::kMicrosecond); -BENCHMARK(TimedTestExtractYear)->MinTime(1.0)->Unit(benchmark::kMicrosecond); -BENCHMARK(TimedTestFilterAdd2)->MinTime(1.0)->Unit(benchmark::kMicrosecond); -BENCHMARK(TimedTestFilterLike)->MinTime(1.0)->Unit(benchmark::kMicrosecond); -BENCHMARK(TimedTestCastFloatFromString)->MinTime(1.0)->Unit(benchmark::kMicrosecond); -BENCHMARK(TimedTestCastIntFromString)->MinTime(1.0)->Unit(benchmark::kMicrosecond); -BENCHMARK(TimedTestAllocs)->MinTime(1.0)->Unit(benchmark::kMicrosecond); -BENCHMARK(TimedTestOutputStringAllocs)->MinTime(1.0)->Unit(benchmark::kMicrosecond); -BENCHMARK(TimedTestMultiOr)->MinTime(1.0)->Unit(benchmark::kMicrosecond); -BENCHMARK(TimedTestInExpr)->MinTime(1.0)->Unit(benchmark::kMicrosecond); -BENCHMARK(DecimalAdd2Fast)->MinTime(1.0)->Unit(benchmark::kMicrosecond); -BENCHMARK(DecimalAdd2LeadingZeroes)->MinTime(1.0)->Unit(benchmark::kMicrosecond); -BENCHMARK(DecimalAdd2LeadingZeroesWithDiv)->MinTime(1.0)->Unit(benchmark::kMicrosecond); -BENCHMARK(DecimalAdd2Large)->MinTime(1.0)->Unit(benchmark::kMicrosecond); -BENCHMARK(DecimalAdd3Fast)->MinTime(1.0)->Unit(benchmark::kMicrosecond); -BENCHMARK(DecimalAdd3LeadingZeroes)->MinTime(1.0)->Unit(benchmark::kMicrosecond); -BENCHMARK(DecimalAdd3LeadingZeroesWithDiv)->MinTime(1.0)->Unit(benchmark::kMicrosecond); -BENCHMARK(DecimalAdd3Large)->MinTime(1.0)->Unit(benchmark::kMicrosecond); +BENCHMARK(TimedTestAdd3)->Unit(benchmark::kMicrosecond); +BENCHMARK(TimedTestBigNested)->Unit(benchmark::kMicrosecond); +BENCHMARK(TimedTestExtractYear)->Unit(benchmark::kMicrosecond); +BENCHMARK(TimedTestFilterAdd2)->Unit(benchmark::kMicrosecond); +BENCHMARK(TimedTestFilterLike)->Unit(benchmark::kMicrosecond); +BENCHMARK(TimedTestCastFloatFromString)->Unit(benchmark::kMicrosecond); +BENCHMARK(TimedTestCastIntFromString)->Unit(benchmark::kMicrosecond); +BENCHMARK(TimedTestAllocs)->Unit(benchmark::kMicrosecond); +BENCHMARK(TimedTestOutputStringAllocs)->Unit(benchmark::kMicrosecond); +BENCHMARK(TimedTestMultiOr)->Unit(benchmark::kMicrosecond); +BENCHMARK(TimedTestInExpr)->Unit(benchmark::kMicrosecond); +BENCHMARK(DecimalAdd2Fast)->Unit(benchmark::kMicrosecond); +BENCHMARK(DecimalAdd2LeadingZeroes)->Unit(benchmark::kMicrosecond); +BENCHMARK(DecimalAdd2LeadingZeroesWithDiv)->Unit(benchmark::kMicrosecond); +BENCHMARK(DecimalAdd2Large)->Unit(benchmark::kMicrosecond); +BENCHMARK(DecimalAdd3Fast)->Unit(benchmark::kMicrosecond); +BENCHMARK(DecimalAdd3LeadingZeroes)->Unit(benchmark::kMicrosecond); +BENCHMARK(DecimalAdd3LeadingZeroesWithDiv)->Unit(benchmark::kMicrosecond); +BENCHMARK(DecimalAdd3Large)->Unit(benchmark::kMicrosecond); } // namespace gandiva