Skip to content

chore(benchmarks): run macrobenchmark on latest changes #226

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

Merged
merged 7 commits into from
Jul 25, 2025

Conversation

dubloom
Copy link
Contributor

@dubloom dubloom commented Jun 24, 2025

Before this PR, the macrobenchmarks were run only on the latest release which is highly reducing their utility.

This PR runs the macrobenchmarks on the latest changes.

Important: macrobenchmarks will fail until this PR is merged because changes were made also in the benchmarking-platform repo.

@dubloom dubloom requested a review from a team as a code owner June 24, 2025 14:20
@dubloom dubloom requested review from cataphract and dmehala and removed request for a team June 24, 2025 14:20
@dubloom dubloom changed the title chore(benchmarks): run macrobenchmark on last changes chore(benchmarks): run macrobenchmark on latest changes Jun 26, 2025
@bm1549 bm1549 removed the request for review from dmehala July 18, 2025 14:17
@igoragoli igoragoli self-requested a review July 22, 2025 11:14
Copy link
Contributor

@igoragoli igoragoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @dubloom, just a quick thing that went under my radar on #220 and that we could potentially include in this PR.

The check-slo-breaches image should be set to registry.ddbuild.io/images/benchmarking-platform-tools-ubuntu:latest so that the threshold comparison tooling is up to date.

I'm setting up Slack notifications for cases other than breaches/warnings so we know early when a gating job is failing for other reasons (like not running benchmarks on latest changes).

@ddyurchenko
Copy link
Contributor

Augusto is right, you need to update the image

check-slo-breaches:
  stage: gate
  when: always
  tags: ["arch:amd64"]
  image: $MACROBENCHMARKS_CI_IMAGE

to

check-slo-breaches:
  stage: gate
  when: always
  tags: ["arch:amd64"]
  image: registry.ddbuild.io/images/benchmarking-platform-tools-ubuntu:latest

in order to always be up to date with latest fixes & improvements for SLOs tracking and gates.

@dmehala dmehala force-pushed the dubloom/benchmarks-on-last-changes branch from fe5ceef to 3775344 Compare July 24, 2025 12:53
@@ -8,14 +9,41 @@ include:
file: 'images/templates/gitlab/notify-slo-breaches.template.yml'

variables:
MACROBENCHMARKS_CI_IMAGE: 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/benchmarking-platform:cpp-nginx
MACROBENCHMARKS_CI_IMAGE: registry.ddbuild.io/images/benchmarking-platform-tools-ubuntu:latest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was correct, the image here should remain MACROBENCHMARKS_CI_IMAGE: 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/benchmarking-platform:cpp-nginx

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to update image only in check-slo-breaches CI job to image: registry.ddbuild.io/images/benchmarking-platform-tools-ubuntu:latest instead of using $MACROBENCHMARKS_CI_IMAGE

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Ok, I have no idea what's going on at this point

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed in 0b672c6

Copy link
Contributor

@ddyurchenko ddyurchenko Jul 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dmehala There are 2 different Docker images.

MACROBENCHMARKS_CI_IMAGE is the one that contains Nginx and C++ benchmarks. It is used by all benchmark variants jobs. You own it, update it as you fit / when you change Nginx setup.

registry.ddbuild.io/images/benchmarking-platform-tools-ubuntu:latest is the one that contains SLO gates tooling & other BP tooling, should be used by check-slo-breaches job. APM DCS Performance owns it, updates it continuously.

Copy link
Contributor

@ddyurchenko ddyurchenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert the change to MACROBENCHMARKS_CI_IMAGE: 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/benchmarking-platform:cpp-nginx and update check-slo-breaches's job image.

Copy link
Contributor

@ddyurchenko ddyurchenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good from my side!

Copy link

@zacharycmontoya zacharycmontoya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dmehala dmehala merged commit 4d83d3a into master Jul 25, 2025
49 of 50 checks passed
@dmehala dmehala deleted the dubloom/benchmarks-on-last-changes branch July 25, 2025 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants