Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add debugger benchmarks #7182

Merged
merged 1 commit into from
Jul 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
Loading