Skip to content

Commit c5e6ecc

Browse files
committed
Change to two reps and 165s warmup time
1 parent cc72239 commit c5e6ecc

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

benchmark/load/insecure-bank/k6.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const options = function (variants) {
2828
scenarios[`load--insecure-bank--${variant}--warmup`] = {
2929
executor: 'constant-vus', // https://grafana.com/docs/k6/latest/using-k6/scenarios/executors/#all-executors
3030
vus: 5,
31-
duration: '60s',
31+
duration: '165s',
3232
gracefulStop: '2s',
3333
env: {
3434
"APP_URL": variants[variant]["APP_URL"]
@@ -38,8 +38,8 @@ export const options = function (variants) {
3838
scenarios[`load--insecure-bank--${variant}--high_load`] = {
3939
executor: 'constant-vus',
4040
vus: 5,
41-
startTime: '62s',
42-
duration: '240s',
41+
startTime: '167s',
42+
duration: '15s',
4343
gracefulStop: '2s',
4444
env: {
4545
"APP_URL": variants[variant]["APP_URL"]

benchmark/load/petclinic/k6.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const options = function (variants) {
2828
scenarios[`load--petclinic--${variant}--warmup`] = {
2929
executor: 'constant-vus', // https://grafana.com/docs/k6/latest/using-k6/scenarios/executors/#all-executors
3030
vus: 5,
31-
duration: '60s',
31+
duration: '165s',
3232
gracefulStop: '2s',
3333
env: {
3434
"APP_URL": variants[variant]["APP_URL"]
@@ -38,8 +38,8 @@ export const options = function (variants) {
3838
scenarios[`load--petclinic--${variant}--high_load`] = {
3939
executor: 'constant-vus',
4040
vus: 5,
41-
startTime: '62s',
42-
duration: '240s',
41+
startTime: '167s',
42+
duration: '15s',
4343
gracefulStop: '2s',
4444
env: {
4545
"APP_URL": variants[variant]["APP_URL"]

benchmark/load/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ for app in *; do
4343
# Using profiler variants for healthcheck as they are the slowest
4444
if [ "${app}" == "petclinic" ]; then
4545
HEALTHCHECK_URL=http://localhost:8082
46-
REPETITIONS_COUNT=3
46+
REPETITIONS_COUNT=2
4747
elif [ "${app}" == "insecure-bank" ]; then
4848
HEALTHCHECK_URL=http://localhost:8082/login
4949
REPETITIONS_COUNT=2

0 commit comments

Comments
 (0)