Skip to content

Run profiling and debugger tests on standard runners - #13410

Closed
PabloRzBo wants to merge 1 commit into
masterfrom
pablo/sdct-1444-standard-runners
Closed

PabloRzBo wants to merge 1 commit into
masterfrom
pablo/sdct-1444-standard-runners

Conversation

@PabloRzBo

@PabloRzBo PabloRzBo commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

What Does This Do

Runs the amd64 test_profiling and test_debugger jobs on standard runners (arch:amd64) instead of docker-in-docker micro-VMs, like agent_integration_tests and test_smoke_graalvm already do. Each job takes about 40% less time.

Motivation

These suites don't use Testcontainers, so they don't need Docker. In the micro-VMs, every phase except pod preparation took longer: clone, cache restore, the Gradle script and the report upload.

Additional Notes

Results

Measured on DDCI against a control branch on the same base (3 JVMs plus semeru8 for the debugger, one run per arm).

Job (mean per JVM) Control (micro-VM) This change (standard)
test_debugger 8.6 min 4.9 min
test_profiling 6.6 min 4.1 min
  • test_debugger phases (s): prepare 11 → 36, clone 56 → 14, cache 86 → 41, script 327 → 188, after_script 30 → 12.
  • Same test counts as the control, all green.
  • Not a bigger allocation: both pools gave the jobs the same cgroup limits (16 GiB memory, no CPU quota), and the build container's CPU time per job was 3–22% lower. The shared pool's nodes are larger hosts.
  • Estimate, not measured: about 360 runner-hours over 5.25 days (2026-11-07 to 11-12) across ~7.5k jobs, 1.2% of GitLab main-pipeline runner time.

Trade-offs and limits

  • Only JVMs 8, 17, 21 and semeru8 have run on standard runners, once. Master and the merge queue run 13 JVMs, and some tests run only on some of them (for example JFRAccessTest.testJ9JFRAccess on J9).
  • This PR's own pipeline may restore these tests from the build cache, because no test input changes, so it won't prove much.
  • The owner decided an extra all-JVM run isn't needed before review.
  • About 1.4k jobs a day move from the micro-VM pool to the shared pool.
  • arm64 variants are unchanged.

Jira ticket: SDCT-1444

🤖 Generated with Claude Code

These suites don't use Testcontainers, so they don't need docker-in-docker micro-VMs, which take longer to set up.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@PabloRzBo PabloRzBo added tag: no release notes Changes to exclude from release notes type: refactoring comp: tooling Build & Tooling tag: ai generated Largely based on code generated by an AI or LLM labels Nov 12, 2026
@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

🎯 Code Coverage (details)
• Patch Coverage: 100.00%
• Overall Coverage: 59.76% (+0.00%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 8ca2ce2 | Docs | Give us feedback!

@dd-octo-sts

dd-octo-sts Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

🟢 Java Benchmark SLOs — All performance SLOs passed

Suite Status
Startup 🟢 pass

SLO thresholds are defined here based on automatically generated metrics. A warning is raised when results are within 5% of the threshold.

PR vs. master results
Scenario Candidate master Δ (95% CI of mean)
startup:insecure-bank:iast:Agent 14.06 s 13.97 s [-0.2%; +1.4%] (no difference)
startup:insecure-bank:tracing:Agent 13.04 s 13.04 s [-0.7%; +0.7%] (no difference)
startup:petclinic:appsec:Agent 17.28 s 17.12 s [+0.3%; +1.6%] (maybe worse)
startup:petclinic:iast:Agent 16.93 s 17.13 s [-2.1%; -0.2%] (maybe better)
startup:petclinic:profiling:Agent 16.65 s 16.86 s [-2.3%; -0.1%] (maybe better)
startup:petclinic:sca:Agent 17.23 s 16.61 s [-0.7%; +8.2%] (no difference)
startup:petclinic:tracing:Agent 15.81 s 16.32 s [-7.2%; +0.9%] (no difference)

Commit: 8ca2ce25 · CI Pipeline · Benchmarking Platform UI


Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion.

@PabloRzBo

Copy link
Copy Markdown
Contributor Author

Closing: the owner decided to keep a single, scoped CI PR for SDCT-1444 (#13409). The measured speedup (about 40% per job) is recorded in SDCT-1444 for a later PR.

@PabloRzBo PabloRzBo closed this Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: tooling Build & Tooling tag: ai generated Largely based on code generated by an AI or LLM tag: no release notes Changes to exclude from release notes type: refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant