Skip to content

Commit 68a4e77

Browse files
committed
Temp config to speed up
1 parent f750e64 commit 68a4e77

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'
@@ -68,19 +67,20 @@ env:
6867
K6_VERSION: "1.3.0"
6968
VEGETA_VERSION: "12.13.0"
7069
# Determine which apps to run (default is 'pro_only' for all triggers)
71-
RUN_CORE: ${{ (github.event.inputs.app_version || 'pro_only') != 'pro_only' && 'true' || '' }}
72-
RUN_PRO: ${{ (github.event.inputs.app_version || 'pro_only') != 'core_only' && 'true' || '' }}
70+
RUN_CORE: ${{ (github.event.inputs.app_version || 'both') != 'pro_only' && 'true' || '' }}
71+
RUN_PRO: ${{ (github.event.inputs.app_version || 'both') != 'core_only' && 'true' || '' }}
7372
# Benchmark parameters (defaults in bench.rb unless overridden here for CI)
74-
ROUTES: ${{ github.event.inputs.routes }}
73+
# FIXME: default ROUTES, TOOLS and DURATION are set to speed up tests, remove before merging
74+
ROUTES: ${{ github.event.inputs.routes || '/' }}
7575
RATE: ${{ github.event.inputs.rate || 'max' }}
76-
DURATION: ${{ github.event.inputs.duration }}
76+
DURATION: ${{ github.event.inputs.duration || '5s' }}
7777
REQUEST_TIMEOUT: ${{ github.event.inputs.request_timeout }}
7878
CONNECTIONS: ${{ github.event.inputs.connections }}
7979
MAX_CONNECTIONS: ${{ github.event.inputs.connections }}
8080
WEB_CONCURRENCY: ${{ github.event.inputs.web_concurrency || 4 }}
8181
RAILS_MAX_THREADS: ${{ github.event.inputs.rails_threads || 3 }}
8282
RAILS_MIN_THREADS: ${{ github.event.inputs.rails_threads || 3 }}
83-
TOOLS: ${{ github.event.inputs.tools }}
83+
TOOLS: ${{ github.event.inputs.tools || 'fortio' }}
8484

8585
jobs:
8686
benchmark:

0 commit comments

Comments
 (0)