Skip to content

Reduce VirtualThread tests flakiness#10834

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit intomasterfrom
bbujon/virtual-threads
Mar 13, 2026
Merged

Reduce VirtualThread tests flakiness#10834
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit intomasterfrom
bbujon/virtual-threads

Conversation

@PerfectSlayer
Copy link
Copy Markdown
Contributor

What Does This Do

This PR aims to reduce flakiness when checking for trace structure using async calls.

Motivation

Additional Notes

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.

Introduce generic blockUntil method to wait for trace pattern before evaluating them
@PerfectSlayer PerfectSlayer requested review from a team as code owners March 13, 2026 09:58
@PerfectSlayer PerfectSlayer requested review from sarahchen6 and removed request for a team March 13, 2026 09:58
@PerfectSlayer PerfectSlayer added tag: no release notes Changes to exclude from release notes tag: flaky test Flaky tests inst: java Core Java language instrumentation labels Mar 13, 2026
@PerfectSlayer PerfectSlayer requested a review from amarziali March 13, 2026 09:58
Copy link
Copy Markdown
Contributor

@amarziali amarziali left a comment

Choose a reason for hiding this comment

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

The approach is cleaner however I don't know if this will reduce the flakiness since it waits similarly for the same stuff

@PerfectSlayer
Copy link
Copy Markdown
Contributor Author

I don't know if this will reduce the flakiness since it waits similarly for the same stuff

I used to check for the jobs to complete. Now I check for the spans to be written.
As it's async code, this could be different. And as we test spans not jobs, I expect it to reduce the flakiness.

@PerfectSlayer
Copy link
Copy Markdown
Contributor Author

/merge

@gh-worker-devflow-routing-ef8351
Copy link
Copy Markdown

gh-worker-devflow-routing-ef8351 bot commented Mar 13, 2026

View all feedbacks in Devflow UI.

2026-03-13 10:06:23 UTC ℹ️ Start processing command /merge


2026-03-13 10:06:29 UTC ℹ️ MergeQueue: waiting for PR to be ready

This pull request is not mergeable according to GitHub. Common reasons include pending required checks, missing approvals, or merge conflicts — but it could also be blocked by other repository rules or settings.
It will be added to the queue as soon as checks pass and/or get approvals. View in MergeQueue UI.
Note: if you pushed new commits since the last approval, you may need additional approval.
You can remove it from the waiting list with /remove command.


2026-03-13 10:47:09 UTC ℹ️ MergeQueue: merge request added to the queue

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


2026-03-13 11:43:36 UTC ℹ️ MergeQueue: This merge request was merged

@pr-commenter
Copy link
Copy Markdown

pr-commenter bot commented Mar 13, 2026

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master bbujon/virtual-threads
git_commit_date 1774050014 1774258282
git_commit_sha c00f676 03f4969
release_version 1.61.0-SNAPSHOT~c00f676bb9 1.61.0-SNAPSHOT~03f496964a
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1774260109 1774260109
ci_job_id 1529396462 1529396462
ci_pipeline_id 103942452 103942452
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-0-x1hnrp0i 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 Linux runner-zfyrx7zua-project-304-concurrent-0-x1hnrp0i 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
module Agent Agent
parent None None

Summary

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

Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.61.0-SNAPSHOT~03f496964a, baseline=1.61.0-SNAPSHOT~c00f676bb9

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.056 s) : 0, 1055685
Total [baseline] (8.821 s) : 0, 8820939
Agent [candidate] (1.056 s) : 0, 1056342
Total [candidate] (8.88 s) : 0, 8879825
section iast
Agent [baseline] (1.226 s) : 0, 1225538
Total [baseline] (9.611 s) : 0, 9611479
Agent [candidate] (1.233 s) : 0, 1232647
Total [candidate] (9.54 s) : 0, 9540389
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.056 s -
Agent iast 1.226 s 169.853 ms (16.1%)
Total tracing 8.821 s -
Total iast 9.611 s 790.539 ms (9.0%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.056 s -
Agent iast 1.233 s 176.305 ms (16.7%)
Total tracing 8.88 s -
Total iast 9.54 s 660.565 ms (7.4%)
gantt
    title insecure-bank - break down per module: candidate=1.61.0-SNAPSHOT~03f496964a, baseline=1.61.0-SNAPSHOT~c00f676bb9

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.207 ms) : 0, 1207
crashtracking [candidate] (1.199 ms) : 0, 1199
BytebuddyAgent [baseline] (626.81 ms) : 0, 626810
BytebuddyAgent [candidate] (628.506 ms) : 0, 628506
AgentMeter [baseline] (29.375 ms) : 0, 29375
AgentMeter [candidate] (29.299 ms) : 0, 29299
GlobalTracer [baseline] (256.127 ms) : 0, 256127
GlobalTracer [candidate] (256.682 ms) : 0, 256682
AppSec [baseline] (31.633 ms) : 0, 31633
AppSec [candidate] (31.614 ms) : 0, 31614
Debugger [baseline] (59.419 ms) : 0, 59419
Debugger [candidate] (59.446 ms) : 0, 59446
Remote Config [baseline] (587.634 µs) : 0, 588
Remote Config [candidate] (580.831 µs) : 0, 581
Telemetry [baseline] (9.435 ms) : 0, 9435
Telemetry [candidate] (9.509 ms) : 0, 9509
Flare Poller [baseline] (5.101 ms) : 0, 5101
Flare Poller [candidate] (3.536 ms) : 0, 3536
section iast
crashtracking [baseline] (1.197 ms) : 0, 1197
crashtracking [candidate] (1.218 ms) : 0, 1218
BytebuddyAgent [baseline] (794.413 ms) : 0, 794413
BytebuddyAgent [candidate] (800.274 ms) : 0, 800274
AgentMeter [baseline] (11.374 ms) : 0, 11374
AgentMeter [candidate] (11.615 ms) : 0, 11615
GlobalTracer [baseline] (246.953 ms) : 0, 246953
GlobalTracer [candidate] (247.955 ms) : 0, 247955
IAST [baseline] (25.378 ms) : 0, 25378
IAST [candidate] (25.582 ms) : 0, 25582
AppSec [baseline] (26.427 ms) : 0, 26427
AppSec [candidate] (26.632 ms) : 0, 26632
Debugger [baseline] (70.454 ms) : 0, 70454
Debugger [candidate] (68.774 ms) : 0, 68774
Remote Config [baseline] (535.401 µs) : 0, 535
Remote Config [candidate] (544.782 µs) : 0, 545
Telemetry [baseline] (9.281 ms) : 0, 9281
Telemetry [candidate] (10.241 ms) : 0, 10241
Flare Poller [baseline] (3.435 ms) : 0, 3435
Flare Poller [candidate] (3.65 ms) : 0, 3650
Loading
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.61.0-SNAPSHOT~03f496964a, baseline=1.61.0-SNAPSHOT~c00f676bb9

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.056 s) : 0, 1056341
Total [baseline] (11.065 s) : 0, 11064933
Agent [candidate] (1.057 s) : 0, 1056783
Total [candidate] (11.047 s) : 0, 11047392
section appsec
Agent [baseline] (1.244 s) : 0, 1244380
Total [baseline] (11.179 s) : 0, 11178989
Agent [candidate] (1.257 s) : 0, 1257306
Total [candidate] (11.195 s) : 0, 11195299
section iast
Agent [baseline] (1.232 s) : 0, 1232247
Total [baseline] (11.381 s) : 0, 11380789
Agent [candidate] (1.227 s) : 0, 1227197
Total [candidate] (11.278 s) : 0, 11278137
section profiling
Agent [baseline] (1.196 s) : 0, 1195519
Total [baseline] (11.226 s) : 0, 11226359
Agent [candidate] (1.183 s) : 0, 1183456
Total [candidate] (11.009 s) : 0, 11008610
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.056 s -
Agent appsec 1.244 s 188.039 ms (17.8%)
Agent iast 1.232 s 175.906 ms (16.7%)
Agent profiling 1.196 s 139.178 ms (13.2%)
Total tracing 11.065 s -
Total appsec 11.179 s 114.057 ms (1.0%)
Total iast 11.381 s 315.856 ms (2.9%)
Total profiling 11.226 s 161.427 ms (1.5%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.057 s -
Agent appsec 1.257 s 200.523 ms (19.0%)
Agent iast 1.227 s 170.414 ms (16.1%)
Agent profiling 1.183 s 126.673 ms (12.0%)
Total tracing 11.047 s -
Total appsec 11.195 s 147.907 ms (1.3%)
Total iast 11.278 s 230.745 ms (2.1%)
Total profiling 11.009 s -38.782 ms (-0.4%)
gantt
    title petclinic - break down per module: candidate=1.61.0-SNAPSHOT~03f496964a, baseline=1.61.0-SNAPSHOT~c00f676bb9

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.195 ms) : 0, 1195
crashtracking [candidate] (1.187 ms) : 0, 1187
BytebuddyAgent [baseline] (628.295 ms) : 0, 628295
BytebuddyAgent [candidate] (629.081 ms) : 0, 629081
AgentMeter [baseline] (29.172 ms) : 0, 29172
AgentMeter [candidate] (29.207 ms) : 0, 29207
GlobalTracer [baseline] (256.273 ms) : 0, 256273
GlobalTracer [candidate] (256.458 ms) : 0, 256458
AppSec [baseline] (31.601 ms) : 0, 31601
AppSec [candidate] (31.632 ms) : 0, 31632
Debugger [baseline] (60.231 ms) : 0, 60231
Debugger [candidate] (60.342 ms) : 0, 60342
Remote Config [baseline] (585.768 µs) : 0, 586
Remote Config [candidate] (591.452 µs) : 0, 591
Telemetry [baseline] (7.99 ms) : 0, 7990
Telemetry [candidate] (8.047 ms) : 0, 8047
Flare Poller [baseline] (5.079 ms) : 0, 5079
Flare Poller [candidate] (4.295 ms) : 0, 4295
section appsec
crashtracking [baseline] (1.186 ms) : 0, 1186
crashtracking [candidate] (1.196 ms) : 0, 1196
BytebuddyAgent [baseline] (656.992 ms) : 0, 656992
BytebuddyAgent [candidate] (664.849 ms) : 0, 664849
AgentMeter [baseline] (12.078 ms) : 0, 12078
AgentMeter [candidate] (12.19 ms) : 0, 12190
GlobalTracer [baseline] (257.45 ms) : 0, 257450
GlobalTracer [candidate] (260.563 ms) : 0, 260563
IAST [baseline] (24.124 ms) : 0, 24124
IAST [candidate] (24.395 ms) : 0, 24395
AppSec [baseline] (177.684 ms) : 0, 177684
AppSec [candidate] (178.637 ms) : 0, 178637
Debugger [baseline] (66.055 ms) : 0, 66055
Debugger [candidate] (66.462 ms) : 0, 66462
Remote Config [baseline] (632.628 µs) : 0, 633
Remote Config [candidate] (642.812 µs) : 0, 643
Telemetry [baseline] (8.41 ms) : 0, 8410
Telemetry [candidate] (8.359 ms) : 0, 8359
Flare Poller [baseline] (3.609 ms) : 0, 3609
Flare Poller [candidate] (3.646 ms) : 0, 3646
section iast
crashtracking [baseline] (1.191 ms) : 0, 1191
crashtracking [candidate] (1.19 ms) : 0, 1190
BytebuddyAgent [baseline] (798.987 ms) : 0, 798987
BytebuddyAgent [candidate] (795.897 ms) : 0, 795897
AgentMeter [baseline] (11.463 ms) : 0, 11463
AgentMeter [candidate] (11.397 ms) : 0, 11397
GlobalTracer [baseline] (248.069 ms) : 0, 248069
GlobalTracer [candidate] (247.279 ms) : 0, 247279
IAST [baseline] (25.449 ms) : 0, 25449
IAST [candidate] (25.292 ms) : 0, 25292
AppSec [baseline] (26.617 ms) : 0, 26617
AppSec [candidate] (26.426 ms) : 0, 26426
Debugger [baseline] (71.058 ms) : 0, 71058
Debugger [candidate] (70.516 ms) : 0, 70516
Remote Config [baseline] (540.267 µs) : 0, 540
Remote Config [candidate] (526.567 µs) : 0, 527
Telemetry [baseline] (9.311 ms) : 0, 9311
Telemetry [candidate] (9.255 ms) : 0, 9255
Flare Poller [baseline] (3.461 ms) : 0, 3461
Flare Poller [candidate] (3.396 ms) : 0, 3396
section profiling
crashtracking [baseline] (1.185 ms) : 0, 1185
crashtracking [candidate] (1.163 ms) : 0, 1163
BytebuddyAgent [baseline] (690.084 ms) : 0, 690084
BytebuddyAgent [candidate] (683.198 ms) : 0, 683198
AgentMeter [baseline] (9.139 ms) : 0, 9139
AgentMeter [candidate] (9.04 ms) : 0, 9040
GlobalTracer [baseline] (217.797 ms) : 0, 217797
GlobalTracer [candidate] (215.645 ms) : 0, 215645
AppSec [baseline] (32.353 ms) : 0, 32353
AppSec [candidate] (32.142 ms) : 0, 32142
Debugger [baseline] (66.011 ms) : 0, 66011
Debugger [candidate] (64.996 ms) : 0, 64996
Remote Config [baseline] (570.798 µs) : 0, 571
Remote Config [candidate] (554.704 µs) : 0, 555
Telemetry [baseline] (8.567 ms) : 0, 8567
Telemetry [candidate] (8.494 ms) : 0, 8494
Flare Poller [baseline] (3.527 ms) : 0, 3527
Flare Poller [candidate] (3.447 ms) : 0, 3447
ProfilingAgent [baseline] (94.852 ms) : 0, 94852
ProfilingAgent [candidate] (93.886 ms) : 0, 93886
Profiling [baseline] (95.427 ms) : 0, 95427
Profiling [candidate] (94.444 ms) : 0, 94444
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master bbujon/virtual-threads
git_commit_date 1774050014 1774258282
git_commit_sha c00f676 03f4969
release_version 1.61.0-SNAPSHOT~c00f676bb9 1.61.0-SNAPSHOT~03f496964a
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1774260585 1774260585
ci_job_id 1529396465 1529396465
ci_pipeline_id 103942452 103942452
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-0-6mtuta0a 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 Linux runner-zfyrx7zua-project-304-concurrent-0-6mtuta0a 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 0 performance improvements and 6 performance regressions! Performance is the same for 14 metrics, 16 unstable metrics.

scenario Δ mean agg_http_req_duration_p50 Δ mean agg_http_req_duration_p95 Δ mean throughput candidate mean agg_http_req_duration_p50 candidate mean agg_http_req_duration_p95 candidate mean throughput baseline mean agg_http_req_duration_p50 baseline mean agg_http_req_duration_p95 baseline mean throughput
scenario:load:petclinic:profiling:high_load worse
[+0.754ms; +1.463ms] or [+4.141%; +8.037%]
worse
[+0.796ms; +2.268ms] or [+2.670%; +7.602%]
unstable
[-37.889op/s; +11.889op/s] or [-15.141%; +4.751%]
19.312ms 31.362ms 237.250op/s 18.204ms 29.830ms 250.250op/s
scenario:load:petclinic:no_agent:high_load worse
[+0.759ms; +2.211ms] or [+4.386%; +12.777%]
worse
[+0.681ms; +3.446ms] or [+2.350%; +11.888%]
unstable
[-45.886op/s; +9.011op/s] or [-17.560%; +3.448%]
18.790ms 31.049ms 242.875op/s 17.305ms 28.986ms 261.312op/s
scenario:load:petclinic:code_origins:high_load worse
[+0.659ms; +1.520ms] or [+3.803%; +8.768%]
worse
[+0.598ms; +2.029ms] or [+2.098%; +7.116%]
unstable
[-40.173op/s; +12.798op/s] or [-15.232%; +4.852%]
18.426ms 29.824ms 250.062op/s 17.336ms 28.511ms 263.750op/s
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.61.0-SNAPSHOT~03f496964a, baseline=1.61.0-SNAPSHOT~c00f676bb9
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.202 ms) : 1190, 1214
.   : milestone, 1202,
iast (3.286 ms) : 3242, 3329
.   : milestone, 3286,
iast_FULL (5.739 ms) : 5682, 5797
.   : milestone, 5739,
iast_GLOBAL (3.526 ms) : 3470, 3582
.   : milestone, 3526,
profiling (2.039 ms) : 2021, 2057
.   : milestone, 2039,
tracing (1.8 ms) : 1786, 1814
.   : milestone, 1800,
section candidate
no_agent (1.189 ms) : 1177, 1200
.   : milestone, 1189,
iast (3.264 ms) : 3222, 3306
.   : milestone, 3264,
iast_FULL (5.768 ms) : 5712, 5825
.   : milestone, 5768,
iast_GLOBAL (3.698 ms) : 3633, 3763
.   : milestone, 3698,
profiling (1.97 ms) : 1953, 1986
.   : milestone, 1970,
tracing (1.794 ms) : 1779, 1809
.   : milestone, 1794,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.202 ms [1.19 ms, 1.214 ms] -
iast 3.286 ms [3.242 ms, 3.329 ms] 2.084 ms (173.3%)
iast_FULL 5.739 ms [5.682 ms, 5.797 ms] 4.537 ms (377.3%)
iast_GLOBAL 3.526 ms [3.47 ms, 3.582 ms] 2.324 ms (193.3%)
profiling 2.039 ms [2.021 ms, 2.057 ms] 836.301 µs (69.6%)
tracing 1.8 ms [1.786 ms, 1.814 ms] 597.705 µs (49.7%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.189 ms [1.177 ms, 1.2 ms] -
iast 3.264 ms [3.222 ms, 3.306 ms] 2.075 ms (174.6%)
iast_FULL 5.768 ms [5.712 ms, 5.825 ms] 4.58 ms (385.3%)
iast_GLOBAL 3.698 ms [3.633 ms, 3.763 ms] 2.51 ms (211.1%)
profiling 1.97 ms [1.953 ms, 1.986 ms] 780.846 µs (65.7%)
tracing 1.794 ms [1.779 ms, 1.809 ms] 605.239 µs (50.9%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.61.0-SNAPSHOT~03f496964a, baseline=1.61.0-SNAPSHOT~c00f676bb9
    dateFormat X
    axisFormat %s
section baseline
no_agent (17.857 ms) : 17677, 18036
.   : milestone, 17857,
appsec (18.275 ms) : 18089, 18461
.   : milestone, 18275,
code_origins (17.688 ms) : 17515, 17861
.   : milestone, 17688,
iast (17.651 ms) : 17476, 17825
.   : milestone, 17651,
profiling (18.651 ms) : 18465, 18836
.   : milestone, 18651,
tracing (17.842 ms) : 17665, 18018
.   : milestone, 17842,
section candidate
no_agent (19.219 ms) : 19023, 19416
.   : milestone, 19219,
appsec (18.548 ms) : 18357, 18739
.   : milestone, 18548,
code_origins (18.666 ms) : 18477, 18854
.   : milestone, 18666,
iast (17.777 ms) : 17601, 17953
.   : milestone, 17777,
profiling (19.674 ms) : 19473, 19875
.   : milestone, 19674,
tracing (17.597 ms) : 17421, 17773
.   : milestone, 17597,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 17.857 ms [17.677 ms, 18.036 ms] -
appsec 18.275 ms [18.089 ms, 18.461 ms] 418.268 µs (2.3%)
code_origins 17.688 ms [17.515 ms, 17.861 ms] -168.971 µs (-0.9%)
iast 17.651 ms [17.476 ms, 17.825 ms] -206.231 µs (-1.2%)
profiling 18.651 ms [18.465 ms, 18.836 ms] 793.645 µs (4.4%)
tracing 17.842 ms [17.665 ms, 18.018 ms] -15.318 µs (-0.1%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 19.219 ms [19.023 ms, 19.416 ms] -
appsec 18.548 ms [18.357 ms, 18.739 ms] -671.179 µs (-3.5%)
code_origins 18.666 ms [18.477 ms, 18.854 ms] -553.798 µs (-2.9%)
iast 17.777 ms [17.601 ms, 17.953 ms] -1.443 ms (-7.5%)
profiling 19.674 ms [19.473 ms, 19.875 ms] 455.003 µs (2.4%)
tracing 17.597 ms [17.421 ms, 17.773 ms] -1.622 ms (-8.4%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master bbujon/virtual-threads
git_commit_date 1774050014 1774258282
git_commit_sha c00f676 03f4969
release_version 1.61.0-SNAPSHOT~c00f676bb9 1.61.0-SNAPSHOT~03f496964a
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1774260296 1774260296
ci_job_id 1529396468 1529396468
ci_pipeline_id 103942452 103942452
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-1-kyh8lbxw 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 Linux runner-zfyrx7zua-project-304-concurrent-1-kyh8lbxw 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 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 1 unstable metrics.

Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.61.0-SNAPSHOT~03f496964a, baseline=1.61.0-SNAPSHOT~c00f676bb9
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.474 ms) : 1462, 1486
.   : milestone, 1474,
appsec (3.699 ms) : 3482, 3916
.   : milestone, 3699,
iast (2.255 ms) : 2187, 2324
.   : milestone, 2255,
iast_GLOBAL (2.305 ms) : 2236, 2374
.   : milestone, 2305,
profiling (2.094 ms) : 2038, 2151
.   : milestone, 2094,
tracing (2.068 ms) : 2014, 2121
.   : milestone, 2068,
section candidate
no_agent (1.472 ms) : 1461, 1484
.   : milestone, 1472,
appsec (3.806 ms) : 3584, 4029
.   : milestone, 3806,
iast (2.244 ms) : 2176, 2313
.   : milestone, 2244,
iast_GLOBAL (2.306 ms) : 2237, 2376
.   : milestone, 2306,
profiling (2.089 ms) : 2034, 2143
.   : milestone, 2089,
tracing (2.067 ms) : 2013, 2121
.   : milestone, 2067,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.474 ms [1.462 ms, 1.486 ms] -
appsec 3.699 ms [3.482 ms, 3.916 ms] 2.225 ms (150.9%)
iast 2.255 ms [2.187 ms, 2.324 ms] 781.403 µs (53.0%)
iast_GLOBAL 2.305 ms [2.236 ms, 2.374 ms] 830.904 µs (56.4%)
profiling 2.094 ms [2.038 ms, 2.151 ms] 620.507 µs (42.1%)
tracing 2.068 ms [2.014 ms, 2.121 ms] 593.968 µs (40.3%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.472 ms [1.461 ms, 1.484 ms] -
appsec 3.806 ms [3.584 ms, 4.029 ms] 2.334 ms (158.6%)
iast 2.244 ms [2.176 ms, 2.313 ms] 772.278 µs (52.5%)
iast_GLOBAL 2.306 ms [2.237 ms, 2.376 ms] 834.132 µs (56.7%)
profiling 2.089 ms [2.034 ms, 2.143 ms] 616.452 µs (41.9%)
tracing 2.067 ms [2.013 ms, 2.121 ms] 594.825 µs (40.4%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.61.0-SNAPSHOT~03f496964a, baseline=1.61.0-SNAPSHOT~c00f676bb9
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.037 s) : 15037000, 15037000
.   : milestone, 15037000,
appsec (14.63 s) : 14630000, 14630000
.   : milestone, 14630000,
iast (18.473 s) : 18473000, 18473000
.   : milestone, 18473000,
iast_GLOBAL (17.824 s) : 17824000, 17824000
.   : milestone, 17824000,
profiling (14.99 s) : 14990000, 14990000
.   : milestone, 14990000,
tracing (15.143 s) : 15143000, 15143000
.   : milestone, 15143000,
section candidate
no_agent (15.548 s) : 15548000, 15548000
.   : milestone, 15548000,
appsec (14.766 s) : 14766000, 14766000
.   : milestone, 14766000,
iast (18.219 s) : 18219000, 18219000
.   : milestone, 18219000,
iast_GLOBAL (17.856 s) : 17856000, 17856000
.   : milestone, 17856000,
profiling (14.967 s) : 14967000, 14967000
.   : milestone, 14967000,
tracing (14.707 s) : 14707000, 14707000
.   : milestone, 14707000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.037 s [15.037 s, 15.037 s] -
appsec 14.63 s [14.63 s, 14.63 s] -407.0 ms (-2.7%)
iast 18.473 s [18.473 s, 18.473 s] 3.436 s (22.9%)
iast_GLOBAL 17.824 s [17.824 s, 17.824 s] 2.787 s (18.5%)
profiling 14.99 s [14.99 s, 14.99 s] -47.0 ms (-0.3%)
tracing 15.143 s [15.143 s, 15.143 s] 106.0 ms (0.7%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.548 s [15.548 s, 15.548 s] -
appsec 14.766 s [14.766 s, 14.766 s] -782.0 ms (-5.0%)
iast 18.219 s [18.219 s, 18.219 s] 2.671 s (17.2%)
iast_GLOBAL 17.856 s [17.856 s, 17.856 s] 2.308 s (14.8%)
profiling 14.967 s [14.967 s, 14.967 s] -581.0 ms (-3.7%)
tracing 14.707 s [14.707 s, 14.707 s] -841.0 ms (-5.4%)

@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d bot merged commit 243ec0b into master Mar 13, 2026
577 of 580 checks passed
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d bot deleted the bbujon/virtual-threads branch March 13, 2026 11:43
@github-actions github-actions bot added this to the 1.61.0 milestone Mar 13, 2026
Comment on lines +149 to +161
protected void blockUntilTracesMatch(Predicate<List<List<DDSpan>>> predicate) {
long deadline = System.currentTimeMillis() + TIMEOUT_MILLIS;
while (!predicate.test(this.writer)) {
if (System.currentTimeMillis() > deadline) {
throw new RuntimeException(new TimeoutException("Timed out waiting for traces/spans."));
}
try {
Thread.sleep(10);
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
}
}
}
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.

praise: nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

inst: java Core Java language instrumentation tag: flaky test Flaky tests tag: no release notes Changes to exclude from release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants