diff --git a/dev/archery/archery/benchmark/google.py b/dev/archery/archery/benchmark/google.py index 5d07ffab2edd..b07dc8cb30f8 100644 --- a/dev/archery/archery/benchmark/google.py +++ b/dev/archery/archery/benchmark/google.py @@ -57,7 +57,7 @@ def results(self, repetitions=1, repetition_min_time=None): "--benchmark_out_format=json"] if repetition_min_time is not None: - argv.append(f"--benchmark_min_time={repetition_min_time:.6f}") + argv.append(f"--benchmark_min_time={repetition_min_time:.6f}s") if self.benchmark_filter: argv.append(f"--benchmark_filter={self.benchmark_filter}") diff --git a/dev/conbench_envs/benchmarks.env b/dev/conbench_envs/benchmarks.env index 9a4f2da1b544..2a5a9c32a86e 100644 --- a/dev/conbench_envs/benchmarks.env +++ b/dev/conbench_envs/benchmarks.env @@ -16,6 +16,8 @@ CMAKE_BUILD_TYPE=release ARROW_BUILD_TESTS=OFF +ARROW_BUILD_BENCHMARKS=ON +ARROW_BUILD_BENCHMARKS_REFERENCE=OFF ARROW_BUILD_TYPE=release ARROW_DEPENDENCY_SOURCE=AUTO ARROW_DATASET=ON @@ -27,6 +29,7 @@ ARROW_GANDIVA=OFF ARROW_HDFS=ON ARROW_HOME=$CONDA_PREFIX ARROW_INSTALL_NAME_RPATH=ON +ARROW_JEMALLOC=OFF ARROW_MIMALLOC=ON ARROW_NO_DEPRECATED_API=ON ARROW_ORC=ON diff --git a/dev/conbench_envs/hooks.sh b/dev/conbench_envs/hooks.sh index 6bcfbe446152..a77189764aed 100755 --- a/dev/conbench_envs/hooks.sh +++ b/dev/conbench_envs/hooks.sh @@ -49,8 +49,9 @@ set_arrow_build_and_run_env_vars() { } build_arrow_cpp() { + export ARROW_BUILD_DIR="/tmp/$(uuidgen)" # Ignore the error when a cache can't be created - if ! ci/scripts/cpp_build.sh $(pwd) $(pwd) 2> error.log; then + if ! ci/scripts/cpp_build.sh $(pwd) $ARROW_BUILD_DIR 2> error.log; then if ! grep -q -F "Can\'t create temporary cache file" error.log; then cat error.log fi