Skip to content

Commit 40029fa

Browse files
committed
Temp config to speed up
1 parent b44f351 commit 40029fa

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
@@ -51,8 +51,7 @@ on:
5151
app_version:
5252
description: 'Which app version to benchmark'
5353
required: false
54-
# FIXME: for debugging, restore 'both' before merging
55-
default: 'pro_only'
54+
default: 'both'
5655
type: choice
5756
options:
5857
- 'both'
@@ -73,19 +72,20 @@ env:
7372
K6_VERSION: "1.3.0"
7473
VEGETA_VERSION: "12.13.0"
7574
# Determine which apps to run (default is 'pro_only' for all triggers)
76-
RUN_CORE: ${{ (github.event.inputs.app_version || 'pro_only') != 'pro_only' && 'true' || '' }}
77-
RUN_PRO: ${{ (github.event.inputs.app_version || 'pro_only') != 'core_only' && 'true' || '' }}
75+
RUN_CORE: ${{ (github.event.inputs.app_version || 'both') != 'pro_only' && 'true' || '' }}
76+
RUN_PRO: ${{ (github.event.inputs.app_version || 'both') != 'core_only' && 'true' || '' }}
7877
# Benchmark parameters (defaults in bench.rb unless overridden here for CI)
79-
ROUTES: ${{ github.event.inputs.routes }}
78+
# FIXME: default ROUTES, TOOLS and DURATION are set to speed up tests, remove before merging
79+
ROUTES: ${{ github.event.inputs.routes || '/' }}
8080
RATE: ${{ github.event.inputs.rate || 'max' }}
81-
DURATION: ${{ github.event.inputs.duration }}
81+
DURATION: ${{ github.event.inputs.duration || '5s' }}
8282
REQUEST_TIMEOUT: ${{ github.event.inputs.request_timeout }}
8383
CONNECTIONS: ${{ github.event.inputs.connections }}
8484
MAX_CONNECTIONS: ${{ github.event.inputs.connections }}
8585
WEB_CONCURRENCY: ${{ github.event.inputs.web_concurrency || 4 }}
8686
RAILS_MAX_THREADS: ${{ github.event.inputs.rails_threads || 3 }}
8787
RAILS_MIN_THREADS: ${{ github.event.inputs.rails_threads || 3 }}
88-
TOOLS: ${{ github.event.inputs.tools }}
88+
TOOLS: ${{ github.event.inputs.tools || 'fortio' }}
8989

9090
jobs:
9191
benchmark:

0 commit comments

Comments
 (0)