Skip to content

Commit 1d64105

Browse files
committed
Try longer benchmark time
1 parent 2e10824 commit 1d64105

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.gitlab/benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.benchmarks:
22
stage: benchmarks
33
interruptible: true
4-
timeout: 1h
4+
timeout: 3h
55
tags: ["runner:apm-k8s-tweaked-metal"]
66
image: 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/benchmarking-platform:dd-trace-java-benchmarks
77
needs: [ "build", "publish-artifacts-to-s3" ]

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: '20s',
31+
duration: '120s',
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: '22s',
42-
duration: '15s',
41+
startTime: '122s',
42+
duration: '60s',
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: '20s',
31+
duration: '120s',
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: '22s',
42-
duration: '15s',
41+
startTime: '122s',
42+
duration: '60s',
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=5
46+
REPETITIONS_COUNT=3
4747
elif [ "${app}" == "insecure-bank" ]; then
4848
HEALTHCHECK_URL=http://localhost:8082/login
4949
REPETITIONS_COUNT=2

0 commit comments

Comments
 (0)