Skip to content

Commit e316fdc

Browse files
committed
increase number of threads in benchmarks
1 parent eae8d63 commit e316fdc

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/reusable_benchmarks.yml

+1
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ jobs:
137137
~/bench_workdir_umf
138138
--umf ${{env.BUILD_DIR}}
139139
--compare baseline
140+
--timeout 3000
140141
${{ inputs.upload_report && '--output-html' || '' }}
141142
${{ inputs.pr_no != 0 && '--output-markdown' || '' }}
142143
${{ inputs.bench_script_params }}

benchmark/benchmark.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
// Refer to the 'argsName()' function in each component to find detailed descriptions of these arguments.
3232

3333
static void multithreaded(benchmark::internal::Benchmark *benchmark) {
34+
benchmark->Threads(12);
35+
benchmark->Threads(8);
3436
benchmark->Threads(4);
3537
benchmark->Threads(1);
3638
}

0 commit comments

Comments
 (0)