Skip to content

Commit 38db9f7

Browse files
committed
Reorder workflow parameters more logically
1 parent c45acb3 commit 38db9f7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/benchmark.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@ on:
3333
description: 'Maximum connections/virtual users'
3434
required: false
3535
type: number
36-
tools:
37-
description: 'Comma-separated list of tools to run'
38-
required: false
39-
default: 'fortio,vegeta,k6'
40-
type: string
4136
web_concurrency:
4237
description: 'Number of Puma worker processes'
4338
required: false
4439
default: 2
4540
type: number
41+
tools:
42+
description: 'Comma-separated list of tools to run'
43+
required: false
44+
default: 'fortio,vegeta,k6'
45+
type: string
4646
push:
4747
branches:
4848
- master
@@ -58,8 +58,8 @@ env:
5858
REQUEST_TIMEOUT: ${{ github.event.inputs.request_timeout || '60s' }}
5959
CONNECTIONS: ${{ github.event.inputs.connections || '10' }}
6060
MAX_CONNECTIONS: ${{ github.event.inputs.max_connections || github.event.inputs.connections || '10' }}
61-
TOOLS: ${{ github.event.inputs.tools || 'fortio,vegeta,k6' }}
6261
WEB_CONCURRENCY: ${{ github.event.inputs.web_concurrency || '2' }}
62+
TOOLS: ${{ github.event.inputs.tools || 'fortio,vegeta,k6' }}
6363

6464
jobs:
6565
benchmark:
@@ -268,8 +268,8 @@ jobs:
268268
echo " - REQUEST_TIMEOUT: ${REQUEST_TIMEOUT}"
269269
echo " - CONNECTIONS: ${CONNECTIONS}"
270270
echo " - MAX_CONNECTIONS: ${MAX_CONNECTIONS}"
271-
echo " - TOOLS: ${TOOLS}"
272271
echo " - WEB_CONCURRENCY: ${WEB_CONCURRENCY}"
272+
echo " - TOOLS: ${TOOLS}"
273273
echo ""
274274
275275
if ! spec/performance/bench.sh; then

0 commit comments

Comments
 (0)