File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ set -euo pipefail
18
18
# Go benchmark parameters
19
19
GOMAXPROCS=16
20
20
TIMEOUT=30m
21
- BENCHTIME=1s # TODO: add 5s
22
- COUNT=1 # TODO: add 5
21
+ BENCHTIME=5s
22
+ COUNT=5
23
23
24
24
# Script configuration
25
25
OUTPUT_DIR=" benchmark_outputs"
@@ -46,7 +46,7 @@ function run_benchmarks() {
46
46
for bench in " ${BENCHMARKS[@]} " ; do
47
47
local output_file=" ${output_file_prefix} _${bench} .txt"
48
48
echo " Running benchmark $bench on $branch ..."
49
- GOMAXPROCS=$GOMAXPROCS go test -timeout $TIMEOUT -bench=" ^${bench} $" -run=^$ -benchtime=$BENCHTIME -count=$COUNT ./.. | tee " $output_file "
49
+ GOMAXPROCS=$GOMAXPROCS go test -timeout $TIMEOUT -bench=" ^${bench} $" -run=^$ -benchtime=$BENCHTIME -count=$COUNT | tee " $output_file "
50
50
done
51
51
}
52
52
You can’t perform that action at this time.
0 commit comments