Skip to content

Commit 2e52b61

Browse files
committed
tweak: Revert k6 config to iterations count
1 parent 2326f8c commit 2e52b61

File tree

2 files changed

+4
-22
lines changed

2 files changed

+4
-22
lines changed

benchmark/load/insecure-bank/k6.js

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,9 @@ const baseUrl = 'http://localhost:8080';
66
export const options = {
77
discardResponseBodies: true,
88
scenarios: {
9-
[`load--insecure-bank--${__ENV.VARIANT}--warmup`]: {
10-
executor: 'constant-vus', // https://grafana.com/docs/k6/latest/using-k6/scenarios/executors/#all-executors
9+
[`load--insecure-bank--${__ENV.VARIANT}`]: {
1110
vus: 5,
12-
duration: '10s',
13-
gracefulStop: '2s',
14-
},
15-
[`load--insecure-bank--${__ENV.VARIANT}--high_load`]: {
16-
executor: 'constant-vus',
17-
vus: 5,
18-
startTime: '12s',
19-
duration: '20s',
20-
gracefulStop: '2s',
11+
iterations: 40000
2112
},
2213
}
2314
};

benchmark/load/petclinic/k6.js

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,9 @@ const baseUrl = 'http://localhost:8080';
66
export const options = {
77
discardResponseBodies: true,
88
scenarios: {
9-
[`load--petclinic--${__ENV.VARIANT}--warmup`]: {
10-
executor: 'constant-vus', // https://grafana.com/docs/k6/latest/using-k6/scenarios/executors/#all-executors
9+
[`load--petclinic--${__ENV.VARIANT}`]: {
1110
vus: 5,
12-
duration: '20s',
13-
gracefulStop: '2s',
14-
},
15-
[`load--petclinic--${__ENV.VARIANT}--high_load`]: {
16-
executor: 'constant-vus',
17-
vus: 5,
18-
startTime: '22s',
19-
duration: '20s',
20-
gracefulStop: '2s',
11+
iterations: 80000
2112
},
2213
}
2314
};

0 commit comments

Comments
 (0)