diff --git a/.github/workflows/reusable_benchmarks.yml b/.github/workflows/reusable_benchmarks.yml index a7c9e5e28..4cf5325ab 100644 --- a/.github/workflows/reusable_benchmarks.yml +++ b/.github/workflows/reusable_benchmarks.yml @@ -137,6 +137,7 @@ jobs: ~/bench_workdir_umf --umf ${{env.BUILD_DIR}} --compare baseline + --timeout 3000 ${{ inputs.upload_report && '--output-html' || '' }} ${{ inputs.pr_no != 0 && '--output-markdown' || '' }} ${{ inputs.bench_script_params }} diff --git a/benchmark/benchmark.cpp b/benchmark/benchmark.cpp index 60636a559..fb9cf68f4 100644 --- a/benchmark/benchmark.cpp +++ b/benchmark/benchmark.cpp @@ -31,6 +31,8 @@ // Refer to the 'argsName()' function in each component to find detailed descriptions of these arguments. static void multithreaded(benchmark::internal::Benchmark *benchmark) { + benchmark->Threads(12); + benchmark->Threads(8); benchmark->Threads(4); benchmark->Threads(1); }