8000 test: Use constant-arrival-rate executor · DataDog/dd-trace-java@b7d0061 · GitHub
[go: up one dir, main page]

Skip to content

Commit b7d0061

Browse files
committed
test: Use constant-arrival-rate executor
1 parent 6f0e4ea commit b7d0061

File tree

1 file changed

+8
-4
lines changed
  • benchmark/load/petclinic

1 file changed

+8
-4
lines changed

benchmark/load/petclinic/k6.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,21 @@ export const options = {
77
discardResponseBodies: true,
88
scenarios: {
99
[`load--petclinic--${__ENV.VARIANT}--warmup`]: {
10-
executor: 'constant-vus', // https://grafana.com/docs/k6/latest/using-k6/scenarios/executors/#all-executors
11-
vus: 5,
10+
executor: 'constant-arrival-rate', // https://grafana.com/docs/k6/latest/using-k6/scenarios/executors/#all-executors
11+
preAllocatedVUs: 5,
1212
duration: '10s',
1313
gracefulStop: '2s',
14+
timeUnit: '1s',
15+
rate: 200,
1416
},
1517
[`load--petclinic--${__ENV.VARIANT}--high_load`]: {
16-
executor: 'constant-vus',
17-
vus: 5,
18+
executor: 'constant-arrival-rate',
19+
preAllocatedVUs: 5,
1820
startTime: '12s',
1921
duration: '20s',
2022
gracefulStop: '2s',
23+
timeUnit: '1s',
24+
rate: 200,
2125
},
2226
}
2327
};

0 commit comments

Comments
 (0)
0