Skip to content

Avoid feature discover and java.nio.* access in Bazel Mode - #11232

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 5 commits into
masterfrom
daniel.mohedano/bazel-fixes
Apr 30, 2026
Merged

Avoid feature discover and java.nio.* access in Bazel Mode#11232
gh-worker-dd-mergequeue-cf854d[bot] merged 5 commits into
masterfrom
daniel.mohedano/bazel-fixes

Conversation

@daniel-mohedano

Copy link
Copy Markdown
Contributor

What Does This Do

  • Avoids using java.nio.* classes during pre-main through the bazel mode resolution.
  • Avoids unnecessary feature discovery when working under bazel mode, where the bazel hermetic runs won't have network access either way.

Additional Notes

test-environment-trigger: skip

Contributor Checklist

Jira ticket: [PROJ-IDENT]

Note:Once your PR is ready to merge, add it to the merge queue by commenting /merge./merge -c cancels the queue request. /merge -f --reason "reason" skips all merge queue checks; please use this judiciously, as some checks do not run at the PR-level. For more information, see this doc.

@daniel-mohedano
daniel-mohedano requested review from a team as code ownersApril 29, 2026 13:58
@daniel-mohedanodaniel-mohedano added type: feature Enhancements and improvements comp: ci visibility Continuous Integration Visibility labels Apr 29, 2026
@daniel-mohedano
daniel-mohedano requested review from amarziali and removed request for a teamApril 29, 2026 13:58

@chatgpt-codex-connectorchatgpt-codex-connectorBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit:40d7a0b9eb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


DDAgentFeaturesDiscovery featuresDiscovery;
if (payloadFilesEnabled) {
featuresDiscovery = null;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Bypass data streams discovery in payload-files mode

When CI Visibility payload-files mode is enabled with the default tracer builder, setting this local featuresDiscovery to null does not actually avoid probing the agent: the constructor continues to create DefaultDataStreamsMonitoring, whose constructor unconditionally calls sharedCommunicationObjects.featuresDiscovery(config) in dd-trace-core/src/main/java/datadog/trace/core/datastreams/DefaultDataStreamsMonitoring.java:105 before data streams are conditionally registered. Hermetic Bazel runs will still create/schedule feature discovery as soon as the tracer starts, so payload-files mode needs to bypass that default data-streams initialization or use a no-op there too.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

addressed in 57987db

Comment threaddd-trace-core/src/main/java/datadog/trace/common/writer/WriterFactory.java Outdated
@daniel-mohedano
daniel-mohedano requested a review from a team as a code ownerApril 29, 2026 14:43
featuresDiscovery.discoverIfOutdated();
DDAgentFeaturesDiscovery featuresDiscovery;
if (payloadFilesEnabled) {
featuresDiscovery = null;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This might be a bit fragile to set this to null - have you considered introducing a NoopFeaturesDiscovery so that we never deal with null?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Good point! Addressed in 5a01757 with a NoopFeaturesDiscovery. Reverted the ordering changes also regarding when the discovery was being performed, as it now uses the Noop implementation when necessary 👍

try (BufferedReader reader = Files.newBufferedReader(manifestPath)) {
private static boolean isManifestCompatible(String manifestPath) {
try (BufferedReader reader =
new BufferedReader(new InputStreamReader(new FileInputStream(manifestPath), "UTF-8"))) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

using java.nio.charset.StandardCharsets.UTF_8 is acceptable

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Also addressed in 5a01757!

@pr-commenter

pr-commenterBot commented Apr 29, 2026

Copy link
Copy Markdown

Benchmarks

Startup

Parameters

BaselineCandidate
baseline_or_candidatebaselinecandidate
git_branchmasterdaniel.mohedano/bazel-fixes
git_commit_date17774595101777550524
git_commit_shaf551ff95a01757
release_version1.62.0-SNAPSHOT~f551ff99c21.62.0-SNAPSHOT~5a01757080
See matching parameters
BaselineCandidate
applicationinsecure-bankinsecure-bank
ci_job_date17775525441777552544
ci_job_id16458848461645884846
ci_pipeline_id110677889110677889
cpu_modelIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHzIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_versionLinux runner-zfyrx7zua-project-304-concurrent-0-l1nh4phc 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/LinuxLinux runner-zfyrx7zua-project-304-concurrent-0-l1nh4phc 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
moduleAgentAgent
parentNoneNone

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 62 metrics, 9 unstable metrics.

Startup time reports for insecure-bank
gantt
title insecure-bank - global startup overhead: candidate=1.62.0-SNAPSHOT~5a01757080, baseline=1.62.0-SNAPSHOT~f551ff99c2
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.063 s) : 0, 1063278
Total [baseline] (8.808 s) : 0, 8807892
Agent [candidate] (1.069 s) : 0, 1068954
Total [candidate] (8.887 s) : 0, 8887400
section iast
Agent [baseline] (1.242 s) : 0, 1242101
Total [baseline] (9.542 s) : 0, 9542007
Agent [candidate] (1.242 s) : 0, 1241907
Total [candidate] (9.518 s) : 0, 9518298
Loading
  • baseline results
ModuleVariantDurationΔ tracing
Agenttracing1.063 s-
Agentiast1.242 s178.824 ms (16.8%)
Totaltracing8.808 s-
Totaliast9.542 s734.115 ms (8.3%)
  • candidate results
ModuleVariantDurationΔ tracing
Agenttracing1.069 s-
Agentiast1.242 s172.954 ms (16.2%)
Totaltracing8.887 s-
Totaliast9.518 s630.899 ms (7.1%)
gantt
title insecure-bank - break down per module: candidate=1.62.0-SNAPSHOT~5a01757080, baseline=1.62.0-SNAPSHOT~f551ff99c2
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.229 ms) : 0, 1229
crashtracking [candidate] (1.236 ms) : 0, 1236
BytebuddyAgent [baseline] (634.606 ms) : 0, 634606
BytebuddyAgent [candidate] (639.154 ms) : 0, 639154
AgentMeter [baseline] (29.464 ms) : 0, 29464
AgentMeter [candidate] (29.571 ms) : 0, 29571
GlobalTracer [baseline] (248.653 ms) : 0, 248653
GlobalTracer [candidate] (249.455 ms) : 0, 249455
AppSec [baseline] (32.829 ms) : 0, 32829
AppSec [candidate] (32.982 ms) : 0, 32982
Debugger [baseline] (59.828 ms) : 0, 59828
Debugger [candidate] (59.703 ms) : 0, 59703
Remote Config [baseline] (612.145 µs) : 0, 612
Remote Config [candidate] (632.571 µs) : 0, 633
Telemetry [baseline] (8.4 ms) : 0, 8400
Telemetry [candidate] (9.514 ms) : 0, 9514
Flare Poller [baseline] (11.608 ms) : 0, 11608
Flare Poller [candidate] (9.861 ms) : 0, 9861
section iast
crashtracking [baseline] (1.232 ms) : 0, 1232
crashtracking [candidate] (1.228 ms) : 0, 1228
BytebuddyAgent [baseline] (822.075 ms) : 0, 822075
BytebuddyAgent [candidate] (822.587 ms) : 0, 822587
AgentMeter [baseline] (11.295 ms) : 0, 11295
AgentMeter [candidate] (11.369 ms) : 0, 11369
GlobalTracer [baseline] (237.532 ms) : 0, 237532
GlobalTracer [candidate] (236.608 ms) : 0, 236608
AppSec [baseline] (32.16 ms) : 0, 32160
AppSec [candidate] (32.029 ms) : 0, 32029
Debugger [baseline] (62.425 ms) : 0, 62425
Debugger [candidate] (62.071 ms) : 0, 62071
Remote Config [baseline] (530.54 µs) : 0, 531
Remote Config [candidate] (525.578 µs) : 0, 526
Telemetry [baseline] (7.904 ms) : 0, 7904
Telemetry [candidate] (7.969 ms) : 0, 7969
Flare Poller [baseline] (3.345 ms) : 0, 3345
Flare Poller [candidate] (3.359 ms) : 0, 3359
IAST [baseline] (27.522 ms) : 0, 27522
IAST [candidate] (27.307 ms) : 0, 27307
Loading
Startup time reports for petclinic
gantt
title petclinic - global startup overhead: candidate=1.62.0-SNAPSHOT~5a01757080, baseline=1.62.0-SNAPSHOT~f551ff99c2
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.069 s) : 0, 1068580
Total [baseline] (11.019 s) : 0, 11018787
Agent [candidate] (1.067 s) : 0, 1066537
Total [candidate] (10.919 s) : 0, 10918861
section appsec
Agent [baseline] (1.272 s) : 0, 1271614
Total [baseline] (11.074 s) : 0, 11074170
Agent [candidate] (1.273 s) : 0, 1273190
Total [candidate] (11.035 s) : 0, 11035292
section iast
Agent [baseline] (1.241 s) : 0, 1240849
Total [baseline] (11.181 s) : 0, 11180913
Agent [candidate] (1.252 s) : 0, 1251672
Total [candidate] (11.234 s) : 0, 11233507
section profiling
Agent [baseline] (1.186 s) : 0, 1186340
Total [baseline] (10.949 s) : 0, 10948588
Agent [candidate] (1.185 s) : 0, 1184938
Total [candidate] (10.982 s) : 0, 10982024
Loading
  • baseline results
ModuleVariantDurationΔ tracing
Agenttracing1.069 s-
Agentappsec1.272 s203.035 ms (19.0%)
Agentiast1.241 s172.27 ms (16.1%)
Agentprofiling1.186 s117.76 ms (11.0%)
Totaltracing11.019 s-
Totalappsec11.074 s55.383 ms (0.5%)
Totaliast11.181 s162.125 ms (1.5%)
Totalprofiling10.949 s-70.2 ms (-0.6%)
  • candidate results
ModuleVariantDurationΔ tracing
Agenttracing1.067 s-
Agentappsec1.273 s206.653 ms (19.4%)
Agentiast1.252 s185.135 ms (17.4%)
Agentprofiling1.185 s118.401 ms (11.1%)
Totaltracing10.919 s-
Totalappsec11.035 s116.432 ms (1.1%)
Totaliast11.234 s314.646 ms (2.9%)
Totalprofiling10.982 s63.163 ms (0.6%)
gantt
title petclinic - break down per module: candidate=1.62.0-SNAPSHOT~5a01757080, baseline=1.62.0-SNAPSHOT~f551ff99c2
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.223 ms) : 0, 1223
crashtracking [candidate] (1.246 ms) : 0, 1246
BytebuddyAgent [baseline] (638.122 ms) : 0, 638122
BytebuddyAgent [candidate] (638.609 ms) : 0, 638609
AgentMeter [baseline] (29.581 ms) : 0, 29581
AgentMeter [candidate] (29.649 ms) : 0, 29649
GlobalTracer [baseline] (249.657 ms) : 0, 249657
GlobalTracer [candidate] (247.658 ms) : 0, 247658
AppSec [baseline] (32.931 ms) : 0, 32931
AppSec [candidate] (32.737 ms) : 0, 32737
Debugger [baseline] (60.838 ms) : 0, 60838
Debugger [candidate] (60.691 ms) : 0, 60691
Remote Config [baseline] (603.222 µs) : 0, 603
Remote Config [candidate] (631.858 µs) : 0, 632
Telemetry [baseline] (9.891 ms) : 0, 9891
Telemetry [candidate] (8.589 ms) : 0, 8589
Flare Poller [baseline] (9.762 ms) : 0, 9762
Flare Poller [candidate] (9.826 ms) : 0, 9826
section appsec
crashtracking [baseline] (1.225 ms) : 0, 1225
crashtracking [candidate] (1.246 ms) : 0, 1246
BytebuddyAgent [baseline] (679.253 ms) : 0, 679253
BytebuddyAgent [candidate] (679.805 ms) : 0, 679805
AgentMeter [baseline] (12.378 ms) : 0, 12378
AgentMeter [candidate] (12.236 ms) : 0, 12236
GlobalTracer [baseline] (250.382 ms) : 0, 250382
GlobalTracer [candidate] (250.178 ms) : 0, 250178
AppSec [baseline] (185.265 ms) : 0, 185265
AppSec [candidate] (185.683 ms) : 0, 185683
Debugger [baseline] (64.734 ms) : 0, 64734
Debugger [candidate] (64.776 ms) : 0, 64776
Remote Config [baseline] (564.341 µs) : 0, 564
Remote Config [candidate] (566.571 µs) : 0, 567
Telemetry [baseline] (7.863 ms) : 0, 7863
Telemetry [candidate] (7.837 ms) : 0, 7837
Flare Poller [baseline] (7.368 ms) : 0, 7368
Flare Poller [candidate] (8.453 ms) : 0, 8453
IAST [baseline] (24.636 ms) : 0, 24636
IAST [candidate] (24.867 ms) : 0, 24867
section iast
crashtracking [baseline] (1.23 ms) : 0, 1230
crashtracking [candidate] (1.228 ms) : 0, 1228
BytebuddyAgent [baseline] (820.956 ms) : 0, 820956
BytebuddyAgent [candidate] (828.965 ms) : 0, 828965
AgentMeter [baseline] (11.264 ms) : 0, 11264
AgentMeter [candidate] (11.485 ms) : 0, 11485
GlobalTracer [baseline] (237.032 ms) : 0, 237032
GlobalTracer [candidate] (238.155 ms) : 0, 238155
AppSec [baseline] (30.534 ms) : 0, 30534
AppSec [candidate] (30.641 ms) : 0, 30641
Debugger [baseline] (63.781 ms) : 0, 63781
Debugger [candidate] (63.276 ms) : 0, 63276
Remote Config [baseline] (515.571 µs) : 0, 516
Remote Config [candidate] (518.577 µs) : 0, 519
Telemetry [baseline] (7.939 ms) : 0, 7939
Telemetry [candidate] (7.953 ms) : 0, 7953
Flare Poller [baseline] (3.467 ms) : 0, 3467
Flare Poller [candidate] (3.401 ms) : 0, 3401
IAST [baseline] (28.114 ms) : 0, 28114
IAST [candidate] (28.342 ms) : 0, 28342
section profiling
crashtracking [baseline] (1.182 ms) : 0, 1182
crashtracking [candidate] (1.173 ms) : 0, 1173
BytebuddyAgent [baseline] (691.56 ms) : 0, 691560
BytebuddyAgent [candidate] (691.124 ms) : 0, 691124
AgentMeter [baseline] (9.016 ms) : 0, 9016
AgentMeter [candidate] (9.274 ms) : 0, 9274
GlobalTracer [baseline] (208.729 ms) : 0, 208729
GlobalTracer [candidate] (206.367 ms) : 0, 206367
AppSec [baseline] (32.874 ms) : 0, 32874
AppSec [candidate] (32.671 ms) : 0, 32671
Debugger [baseline] (65.927 ms) : 0, 65927
Debugger [candidate] (65.703 ms) : 0, 65703
Remote Config [baseline] (574.013 µs) : 0, 574
Remote Config [candidate] (568.947 µs) : 0, 569
Telemetry [baseline] (8.022 ms) : 0, 8022
Telemetry [candidate] (8.25 ms) : 0, 8250
Flare Poller [baseline] (3.5 ms) : 0, 3500
Flare Poller [candidate] (3.588 ms) : 0, 3588
ProfilingAgent [baseline] (93.615 ms) : 0, 93615
ProfilingAgent [candidate] (94.129 ms) : 0, 94129
Profiling [baseline] (94.171 ms) : 0, 94171
Profiling [candidate] (94.682 ms) : 0, 94682
Loading

Load

Parameters

BaselineCandidate
baseline_or_candidatebaselinecandidate
git_branchmasterdaniel.mohedano/bazel-fixes
git_commit_date17774595101777550524
git_commit_shaf551ff95a01757
release_version1.62.0-SNAPSHOT~f551ff99c21.62.0-SNAPSHOT~5a01757080
See matching parameters
BaselineCandidate
applicationinsecure-bankinsecure-bank
ci_job_date17775530311777553031
ci_job_id16458848491645884849
ci_pipeline_id110677889110677889
cpu_modelIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHzIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_versionLinux runner-zfyrx7zua-project-304-concurrent-0-cx6w0s5g 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/LinuxLinux runner-zfyrx7zua-project-304-concurrent-0-cx6w0s5g 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

Found 2 performance improvements and 0 performance regressions! Performance is the same for 18 metrics, 16 unstable metrics.

scenarioΔ mean agg_http_req_duration_p50Δ mean agg_http_req_duration_p95Δ mean throughputcandidate mean agg_http_req_duration_p50candidate mean agg_http_req_duration_p95candidate mean throughputbaseline mean agg_http_req_duration_p50baseline mean agg_http_req_duration_p95baseline mean throughput
scenario:load:insecure-bank:iast_GLOBAL:high_loadbetter
[-245.518µs; -75.003µs] or [-7.769%; -2.373%]
better
[-930.885µs; -233.285µs] or [-10.329%; -2.589%]
unstable
[-78.323op/s; +175.448op/s] or [-6.736%; +15.089%]
3.000ms8.430ms1211.344op/s3.160ms9.012ms1162.781op/s
Request duration reports for insecure-bank
gantt
title insecure-bank - request duration [CI 0.99] : candidate=1.62.0-SNAPSHOT~5a01757080, baseline=1.62.0-SNAPSHOT~f551ff99c2
dateFormat X
axisFormat %s
section baseline
no_agent (1.26 ms) : 1248, 1272
. : milestone, 1260,
iast (3.465 ms) : 3416, 3513
. : milestone, 3465,
iast_FULL (6.107 ms) : 6045, 6169
. : milestone, 6107,
iast_GLOBAL (3.951 ms) : 3894, 4009
. : milestone, 3951,
profiling (2.409 ms) : 2385, 2434
. : milestone, 2409,
tracing (1.862 ms) : 1845, 1878
. : milestone, 1862,
section candidate
no_agent (1.249 ms) : 1236, 1261
. : milestone, 1249,
iast (3.369 ms) : 3324, 3415
. : milestone, 3369,
iast_FULL (5.957 ms) : 5897, 6016
. : milestone, 5957,
iast_GLOBAL (3.789 ms) : 3726, 3851
. : milestone, 3789,
profiling (2.461 ms) : 2435, 2487
. : milestone, 2461,
tracing (1.919 ms) : 1902, 1935
. : milestone, 1919,
Loading
  • baseline results
VariantRequest duration [CI 0.99]Δ no_agent
no_agent1.26 ms [1.248 ms, 1.272 ms]-
iast3.465 ms [3.416 ms, 3.513 ms]2.205 ms (175.0%)
iast_FULL6.107 ms [6.045 ms, 6.169 ms]4.847 ms (384.8%)
iast_GLOBAL3.951 ms [3.894 ms, 4.009 ms]2.692 ms (213.7%)
profiling2.409 ms [2.385 ms, 2.434 ms]1.15 ms (91.3%)
tracing1.862 ms [1.845 ms, 1.878 ms]601.892 µs (47.8%)
  • candidate results
VariantRequest duration [CI 0.99]Δ no_agent
no_agent1.249 ms [1.236 ms, 1.261 ms]-
iast3.369 ms [3.324 ms, 3.415 ms]2.121 ms (169.8%)
iast_FULL5.957 ms [5.897 ms, 6.016 ms]4.708 ms (377.0%)
iast_GLOBAL3.789 ms [3.726 ms, 3.851 ms]2.54 ms (203.4%)
profiling2.461 ms [2.435 ms, 2.487 ms]1.212 ms (97.1%)
tracing1.919 ms [1.902 ms, 1.935 ms]670.085 µs (53.7%)
Request duration reports for petclinic
gantt
title petclinic - request duration [CI 0.99] : candidate=1.62.0-SNAPSHOT~5a01757080, baseline=1.62.0-SNAPSHOT~f551ff99c2
dateFormat X
axisFormat %s
section baseline
no_agent (18.529 ms) : 18339, 18720
. : milestone, 18529,
appsec (18.422 ms) : 18236, 18608
. : milestone, 18422,
code_origins (17.833 ms) : 17659, 18007
. : milestone, 17833,
iast (17.969 ms) : 17792, 18146
. : milestone, 17969,
profiling (18.302 ms) : 18119, 18485
. : milestone, 18302,
tracing (17.976 ms) : 17798, 18154
. : milestone, 17976,
section candidate
no_agent (19.283 ms) : 19087, 19479
. : milestone, 19283,
appsec (18.351 ms) : 18169, 18534
. : milestone, 18351,
code_origins (17.809 ms) : 17631, 17986
. : milestone, 17809,
iast (17.877 ms) : 17704, 18050
. : milestone, 17877,
profiling (18.268 ms) : 18090, 18446
. : milestone, 18268,
tracing (17.685 ms) : 17512, 17858
. : milestone, 17685,
Loading
  • baseline results
VariantRequest duration [CI 0.99]Δ no_agent
no_agent18.529 ms [18.339 ms, 18.72 ms]-
appsec18.422 ms [18.236 ms, 18.608 ms]-107.422 µs (-0.6%)
code_origins17.833 ms [17.659 ms, 18.007 ms]-696.152 µs (-3.8%)
iast17.969 ms [17.792 ms, 18.146 ms]-560.252 µs (-3.0%)
profiling18.302 ms [18.119 ms, 18.485 ms]-227.516 µs (-1.2%)
tracing17.976 ms [17.798 ms, 18.154 ms]-553.242 µs (-3.0%)
  • candidate results
VariantRequest duration [CI 0.99]Δ no_agent
no_agent19.283 ms [19.087 ms, 19.479 ms]-
appsec18.351 ms [18.169 ms, 18.534 ms]-931.883 µs (-4.8%)
code_origins17.809 ms [17.631 ms, 17.986 ms]-1.474 ms (-7.6%)
iast17.877 ms [17.704 ms, 18.05 ms]-1.406 ms (-7.3%)
profiling18.268 ms [18.09 ms, 18.446 ms]-1.015 ms (-5.3%)
tracing17.685 ms [17.512 ms, 17.858 ms]-1.598 ms (-8.3%)

Dacapo

Parameters

BaselineCandidate
baseline_or_candidatebaselinecandidate
git_branchmasterdaniel.mohedano/bazel-fixes
git_commit_date17774595101777550524
git_commit_shaf551ff95a01757
release_version1.62.0-SNAPSHOT~f551ff99c21.62.0-SNAPSHOT~5a01757080
See matching parameters
BaselineCandidate
applicationbiojavabiojava
ci_job_date17775527411777552741
ci_job_id16458848511645884851
ci_pipeline_id110677889110677889
cpu_modelIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHzIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_versionLinux runner-zfyrx7zua-project-304-concurrent-1-yuo7c7k1 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/LinuxLinux runner-zfyrx7zua-project-304-concurrent-1-yuo7c7k1 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

Found 1 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 0 unstable metrics.

scenarioΔ mean execution_timecandidate mean execution_timebaseline mean execution_time
scenario:dacapo:tomcat:appsecbetter
[-1.470ms; -1.121ms] or [-38.086%; -29.038%]
2.565ms3.861ms
Execution time for tomcat
gantt
title tomcat - execution time [CI 0.99] : candidate=1.62.0-SNAPSHOT~5a01757080, baseline=1.62.0-SNAPSHOT~f551ff99c2
dateFormat X
axisFormat %s
section baseline
no_agent (1.492 ms) : 1480, 1503
. : milestone, 1492,
appsec (3.861 ms) : 3638, 4084
. : milestone, 3861,
iast (2.293 ms) : 2223, 2363
. : milestone, 2293,
iast_GLOBAL (2.333 ms) : 2263, 2404
. : milestone, 2333,
profiling (2.114 ms) : 2059, 2169
. : milestone, 2114,
tracing (2.092 ms) : 2039, 2146
. : milestone, 2092,
section candidate
no_agent (1.492 ms) : 1481, 1504
. : milestone, 1492,
appsec (2.565 ms) : 2509, 2621
. : milestone, 2565,
iast (2.296 ms) : 2226, 2366
. : milestone, 2296,
iast_GLOBAL (2.331 ms) : 2260, 2401
. : milestone, 2331,
profiling (2.121 ms) : 2066, 2176
. : milestone, 2121,
tracing (2.094 ms) : 2040, 2147
. : milestone, 2094,
Loading
  • baseline results
VariantExecution Time [CI 0.99]Δ no_agent
no_agent1.492 ms [1.48 ms, 1.503 ms]-
appsec3.861 ms [3.638 ms, 4.084 ms]2.369 ms (158.8%)
iast2.293 ms [2.223 ms, 2.363 ms]801.516 µs (53.7%)
iast_GLOBAL2.333 ms [2.263 ms, 2.404 ms]841.617 µs (56.4%)
profiling2.114 ms [2.059 ms, 2.169 ms]622.533 µs (41.7%)
tracing2.092 ms [2.039 ms, 2.146 ms]600.733 µs (40.3%)
  • candidate results
VariantExecution Time [CI 0.99]Δ no_agent
no_agent1.492 ms [1.481 ms, 1.504 ms]-
appsec2.565 ms [2.509 ms, 2.621 ms]1.073 ms (71.9%)
iast2.296 ms [2.226 ms, 2.366 ms]803.326 µs (53.8%)
iast_GLOBAL2.331 ms [2.26 ms, 2.401 ms]838.535 µs (56.2%)
profiling2.121 ms [2.066 ms, 2.176 ms]628.67 µs (42.1%)
tracing2.094 ms [2.04 ms, 2.147 ms]601.237 µs (40.3%)
Execution time for biojava
gantt
title biojava - execution time [CI 0.99] : candidate=1.62.0-SNAPSHOT~5a01757080, baseline=1.62.0-SNAPSHOT~f551ff99c2
dateFormat X
axisFormat %s
section baseline
no_agent (15.615 s) : 15615000, 15615000
. : milestone, 15615000,
appsec (15.042 s) : 15042000, 15042000
. : milestone, 15042000,
iast (18.662 s) : 18662000, 18662000
. : milestone, 18662000,
iast_GLOBAL (17.9 s) : 17900000, 17900000
. : milestone, 17900000,
profiling (15.464 s) : 15464000, 15464000
. : milestone, 15464000,
tracing (15.121 s) : 15121000, 15121000
. : milestone, 15121000,
section candidate
no_agent (15.424 s) : 15424000, 15424000
. : milestone, 15424000,
appsec (14.691 s) : 14691000, 14691000
. : milestone, 14691000,
iast (18.998 s) : 18998000, 18998000
. : milestone, 18998000,
iast_GLOBAL (18.022 s) : 18022000, 18022000
. : milestone, 18022000,
profiling (14.97 s) : 14970000, 14970000
. : milestone, 14970000,
tracing (15.111 s) : 15111000, 15111000
. : milestone, 15111000,
Loading
  • baseline results
VariantExecution Time [CI 0.99]Δ no_agent
no_agent15.615 s [15.615 s, 15.615 s]-
appsec15.042 s [15.042 s, 15.042 s]-573.0 ms (-3.7%)
iast18.662 s [18.662 s, 18.662 s]3.047 s (19.5%)
iast_GLOBAL17.9 s [17.9 s, 17.9 s]2.285 s (14.6%)
profiling15.464 s [15.464 s, 15.464 s]-151.0 ms (-1.0%)
tracing15.121 s [15.121 s, 15.121 s]-494.0 ms (-3.2%)
  • candidate results
VariantExecution Time [CI 0.99]Δ no_agent
no_agent15.424 s [15.424 s, 15.424 s]-
appsec14.691 s [14.691 s, 14.691 s]-733.0 ms (-4.8%)
iast18.998 s [18.998 s, 18.998 s]3.574 s (23.2%)
iast_GLOBAL18.022 s [18.022 s, 18.022 s]2.598 s (16.8%)
profiling14.97 s [14.97 s, 14.97 s]-454.0 ms (-2.9%)
tracing15.111 s [15.111 s, 15.111 s]-313.0 ms (-2.0%)

@amarzialiamarziali left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thanks for having done the suggested changes. lgtm for the platform

@daniel-mohedano

Copy link
Copy Markdown
ContributorAuthor

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351Bot commented Apr 30, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-04-30 14:23:45 UTC ℹ️ Start processing command /merge


2026-04-30 14:23:50 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 2h (p90).


2026-04-30 15:43:36 UTC ℹ️ MergeQueue: This merge request was merged

@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854dBot merged commit f398b3c into masterApr 30, 2026
568 checks passed
@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854dBot deleted the daniel.mohedano/bazel-fixes branch April 30, 2026 15:43
@github-actionsgithub-actionsBot added this to the 1.62.0 milestone Apr 30, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: ci visibilityContinuous Integration Visibilitytype: featureEnhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@daniel-mohedano@gnufede@anmarchenko@amarziali