Skip to content

Commit

Permalink
Add debugger benchmarks (#7182)
Browse files Browse the repository at this point in the history
benchmarks are run only when a file is modified on paths under
dd-java-agent/agent-debugger/*
  • Loading branch information
jpbempel committed Jul 4, 2024
1 parent 86a24ac commit 0327c4d
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .gitlab/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,36 @@ dsm-kafka-consumer-benchmark:
variables:
BP_KAFKA_SCENARIO_DIR: consumer-benchmark

debugger-benchmarks:
stage: benchmarks
rules:
- if: $CI_PIPELINE_SOURCE != "schedule"
changes:
paths:
- dd-java-agent/agent-debugger/**/*
compare_to: "master"
when: on_success
- when: manual
allow_failure: true
tags: ["runner:apm-k8s-tweaked-metal"]
interruptible: true
timeout: 1h
image: 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/benchmarking-platform:java-debugger
script:
- export ARTIFACTS_DIR="$(pwd)/reports" && mkdir -p "${ARTIFACTS_DIR}"
- git clone --branch java/debugger-benchmarks https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.ddbuild.io/DataDog/benchmarking-platform.git /platform && cd /platform
- numactl --cpunodebind=1 --membind=1 bp-runner bp-runner.yml --debug
- "./steps/create-report.sh || :"
- "./steps/post-pr-comment.sh || :"
artifacts:
name: "artifacts"
when: always
paths:
- /go/src/github.com/DataDog/apm-reliability/dd-trace-java/reports/
expire_in: 3 months
variables:
UPSTREAM_PROJECT_ID: $CI_PROJECT_ID # The ID of the current project. This ID is unique across all projects on the GitLab instance.
UPSTREAM_PROJECT_NAME: $CI_PROJECT_NAME # "dd-trace-java"
UPSTREAM_BRANCH: $CI_COMMIT_REF_NAME # The branch or tag name for which project is built.
UPSTREAM_COMMIT_SHA: $CI_COMMIT_SHA # The commit revision the project is built for.
FF_USE_LEGACY_KUBERNETES_EXECUTION_STRATEGY: "true"

0 comments on commit 0327c4d

Please sign in to comment.