Skip to content

Commit 33cf0e5

Browse files
rochdevwatson
andauthored
enable pr gates for all benchmarks and make them faster (#6590)
* enable pr gates for all benchmarks and make them faster * bump timeout because of bp queueing problem * cleanup Co-authored-by: Thomas Watson <thomas.watson@datadoghq.com> --------- Co-authored-by: Thomas Watson <thomas.watson@datadoghq.com>
1 parent b0f79f9 commit 33cf0e5

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.gitlab/benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ variables:
1313
tags: ["runner:apm-k8s-tweaked-metal"]
1414
image: $MICROBENCHMARKS_CI_IMAGE
1515
interruptible: true
16-
timeout: 20m
16+
timeout: 15m # TODO: Fix worker queueing and reduce this.
1717
script:
1818
- git clone --branch dd-trace-js https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.ddbuild.io/DataDog/benchmarking-platform platform && cd platform
1919
- bp-runner bp-runner.yml --debug

.gitlab/macrobenchmarks.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,15 @@ include:
77
.macrobenchmarks:
88
stage: macrobenchmarks
99
rules:
10-
- if: ($NIGHTLY_BENCHMARKS || $CI_PIPELINE_SOURCE != "schedule") && $CI_COMMIT_REF_NAME == "master"
11-
when: always
10+
- when: always
1211
- when: manual
1312
tags: ["runner:apm-k8s-same-cpu"]
1413
needs: []
1514
interruptible: true
16-
timeout: 1h
15+
timeout: 15m # TODO: Fix worker queueing and reduce this.
1716
image: 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/benchmarking-platform:js-hapi
1817
script:
19-
# TODO: Revert to js/hapi after https://github.com/DataDog/benchmarking-platform/pull/199 is merged
20-
- git clone --branch rochdev/parallel-experiments https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.ddbuild.io/DataDog/benchmarking-platform platform && cd platform
18+
- git clone --branch js/hapi https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.ddbuild.io/DataDog/benchmarking-platform platform && cd platform
2119
- bp-runner bp-runner.$EXPERIMENT.yml --debug -t
2220
artifacts:
2321
name: "artifacts"
@@ -27,13 +25,13 @@ include:
2725
expire_in: 3 months
2826
variables:
2927
K6_OPTIONS_WARMUP_RATE: 500
30-
K6_OPTIONS_WARMUP_DURATION: 1m
28+
K6_OPTIONS_WARMUP_DURATION: 30s
3129
K6_OPTIONS_WARMUP_GRACEFUL_STOP: 10s
3230
K6_OPTIONS_WARMUP_PRE_ALLOCATED_VUS: 4
3331
K6_OPTIONS_WARMUP_MAX_VUS: 4
3432

3533
K6_OPTIONS_NORMAL_OPERATION_RATE: 300
36-
K6_OPTIONS_NORMAL_OPERATION_DURATION: 10m
34+
K6_OPTIONS_NORMAL_OPERATION_DURATION: 3m
3735
K6_OPTIONS_NORMAL_OPERATION_GRACEFUL_STOP: 10s
3836
K6_OPTIONS_NORMAL_OPERATION_PRE_ALLOCATED_VUS: 4
3937
K6_OPTIONS_NORMAL_OPERATION_MAX_VUS: 4

0 commit comments

Comments
 (0)