Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf119821

Browse files
committed
chore: fix benchmark_authz.sh script
1 parent92e4c8c commitf119821

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎coderd/rbac/scripts/benchmark_authz.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ set -euo pipefail
1818
# Go benchmark parameters
1919
GOMAXPROCS=16
2020
TIMEOUT=30m
21-
BENCHTIME=1s# TODO: add5s
22-
COUNT=1# TODO: add5
21+
BENCHTIME=5s
22+
COUNT=5
2323

2424
# Script configuration
2525
OUTPUT_DIR="benchmark_outputs"
@@ -46,7 +46,7 @@ function run_benchmarks() {
4646
forbenchin"${BENCHMARKS[@]}";do
4747
local output_file="${output_file_prefix}_${bench}.txt"
4848
echo"Running benchmark$bench on$branch..."
49-
GOMAXPROCS=$GOMAXPROCS gotest -timeout$TIMEOUT -bench="^${bench}$" -run=^$ -benchtime=$BENCHTIME -count=$COUNT./..| tee"$output_file"
49+
GOMAXPROCS=$GOMAXPROCS gotest -timeout$TIMEOUT -bench="^${bench}$" -run=^$ -benchtime=$BENCHTIME -count=$COUNT| tee"$output_file"
5050
done
5151
}
5252

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp