This is an automated email from the ASF dual-hosted git repository.

brycemecum pushed a commit to branch exp/memory-pool-bench-threads
in repository https://gitbox.apache.org/repos/asf/arrow.git

commit 7aa23806162fe740ec1c56bab5b7a6f6a03432c8
Author: Bryce Mecum <[email protected]>
AuthorDate: Wed Mar 20 19:56:11 2024 -0800

    Use ThreadRange on memory_pool_benchmark
---
 cpp/src/arrow/memory_pool_benchmark.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpp/src/arrow/memory_pool_benchmark.cc 
b/cpp/src/arrow/memory_pool_benchmark.cc
index fe7a3dd2f8..e3069da68f 100644
--- a/cpp/src/arrow/memory_pool_benchmark.cc
+++ b/cpp/src/arrow/memory_pool_benchmark.cc
@@ -115,7 +115,7 @@ static void AllocateTouchDeallocate(
 }
 
 #define BENCHMARK_ALLOCATE_ARGS \
-  ->RangeMultiplier(16)->Range(4096, 16 * 1024 * 
1024)->ArgName("size")->UseRealTime()
+  ->RangeMultiplier(16)->Range(4096, 16 * 1024 * 
1024)->ArgName("size")->UseRealTime()->ThreadRange(1,32);
 
 #define BENCHMARK_ALLOCATE(benchmark_func, template_param) \
   BENCHMARK_TEMPLATE(benchmark_func, template_param) BENCHMARK_ALLOCATE_ARGS

Reply via email to