Skip to content

Commit 204aba7

Browse files
committed
Reduce even more
1 parent 0f33324 commit 204aba7

File tree

6 files changed

+8
-9
lines changed

6 files changed

+8
-9
lines changed

.github/workflows/federation-v1.workflow.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
with:
4141
gateway: ${{ matrix.directory }}
4242
vu: 300
43-
time: ${{ github.event_name == 'pull_request' && '30s' || '240s' }}
43+
time: ${{ github.event_name == 'pull_request' && '30s' || '90s' }}
4444
baseDir: federation-v1
4545
scenarioDir: constant-vus-over-time
4646
scenarioName: constant-vus-over-time
@@ -80,7 +80,7 @@ jobs:
8080
with:
8181
gateway: ${{ matrix.directory }}
8282
vu: 300
83-
time: ${{ github.event_name == 'pull_request' && '30s' || '240s' }}
83+
time: ${{ github.event_name == 'pull_request' && '30s' || '90s' }}
8484
baseDir: federation-v1
8585
scenarioDir: constant-vus-over-time
8686
scenarioName: constant-vus-subgraphs-delay
@@ -121,7 +121,7 @@ jobs:
121121
with:
122122
gateway: ${{ matrix.directory }}
123123
vu: 500
124-
time: ${{ github.event_name == 'pull_request' && '30s' || '240s' }}
124+
time: ${{ github.event_name == 'pull_request' && '30s' || '90s' }}
125125
baseDir: federation-v1
126126
scenarioDir: constant-vus-over-time
127127
scenarioName: constant-vus-subgraphs-delay-resources
@@ -162,7 +162,7 @@ jobs:
162162
with:
163163
gateway: ${{ matrix.directory }}
164164
vu: 2000
165-
time: ${{ github.event_name == 'pull_request' && '60s' || '240s' }}
165+
time: ${{ github.event_name == 'pull_request' && '60s' || '90s' }}
166166
baseDir: federation-v1
167167
scenarioDir: ramping-vus
168168
scenarioName: ramping-vus

federation-v1/scenarios/constant-vus-over-time/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
This scenario runs 4 subgraphs and a GraphQL gateway with Federation v1 spec, and runs a heavy query. It's being executed with a constant amount of VUs over a fixed amount of time. It measure things like memory usage, CPU usage, average RPS. It also includes a summary of the entire execution, and metrics information about HTTP execution times.
55

66

7-
This scenario was running 300 VUs over 240s
7+
This scenario was running 300 VUs over 90s
88

99

1010
### Comparison

federation-v1/scenarios/constant-vus-subgraphs-delay-resources/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
This scenario runs 4 subgraphs and a GraphQL gateway with Federation v1 spec, and runs a heavy query. It's being executed with a constant amount of VUs over a fixed amount of time. It measure things like memory usage, CPU usage, average RPS. It also includes a summary of the entire execution, and metrics information about HTTP execution times.
55

66

7-
This scenario was running 500 VUs over 240s
7+
This scenario was running 500 VUs over 90s
88

99

1010
### Comparison

federation-v1/scenarios/constant-vus-subgraphs-delay/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
This scenario runs 4 subgraphs and a GraphQL gateway with Federation v1 spec, and runs a heavy query. It's being executed with a constant amount of VUs over a fixed amount of time. It measure things like memory usage, CPU usage, average RPS. It also includes a summary of the entire execution, and metrics information about HTTP execution times.
55

66

7-
This scenario was running 300 VUs over 240s
7+
This scenario was running 300 VUs over 90s
88

99

1010
### Comparison

federation-v1/scenarios/k6.shared.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ const graphqlRequest = {
7979
"Content-Type": "application/json",
8080
},
8181
},
82-
timeout: '240s',
8382
};
8483

8584
export function handleBenchmarkSummary(data, additionalContext = {}) {

federation-v1/scenarios/ramping-vus/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
This scenario runs 4 subgraphs and a GraphQL gateway with Federation v1 spec, and runs a heavy query. We are running a heavy load of concurrent VUs to measure response time and other stats, during stress. It measure things like memory usage, CPU usage, response times. It also includes a summary of the entire execution, and metrics information about HTTP execution times.
55

66

7-
This scenario was trying to reach 2000 concurrent VUs over 240s
7+
This scenario was trying to reach 2000 concurrent VUs over 90s
88

99

1010
### Comparison

0 commit comments

Comments
 (0)