Skip to content

Keep the correct profiling context on vthread mount/unmount#9699

Closed
jbachorik wants to merge 1 commit intomasterfrom
jb/vthread_profiling
Closed

Keep the correct profiling context on vthread mount/unmount#9699
jbachorik wants to merge 1 commit intomasterfrom
jb/vthread_profiling

Conversation

@jbachorik
Copy link
Contributor

What Does This Do

Motivation

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

@jbachorik jbachorik added type: enhancement Enhancements and improvements tag: do not merge Do not merge changes comp: profiling Profiling labels Oct 8, 2025
@datadog-official
Copy link

datadog-official bot commented Oct 8, 2025

🎯 Code Coverage
Patch Coverage: 100.00%
Total Coverage: 59.66% (-0.04%)

View detailed report

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 35ba4e5 | Docs | Was this helpful? Give us feedback!

@pr-commenter
Copy link

pr-commenter bot commented Oct 8, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master jb/vthread_profiling
git_commit_date 1759924549 1759927417
git_commit_sha a56894b 35ba4e5
release_version 1.55.0-SNAPSHOT~a56894b54b 1.55.0-SNAPSHOT~35ba4e5156
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1759929308 1759929308
ci_job_id 1169276364 1169276364
ci_pipeline_id 78715609 78715609
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-rckd4x0c 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-rckd4x0c 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 1 performance improvements and 0 performance regressions! Performance is the same for 60 metrics, 4 unstable metrics.

scenario Δ mean execution_time candidate mean execution_time baseline mean execution_time
scenario:startup:petclinic:iast:Remote Config better
[-50.603µs; -14.531µs] or [-8.196%; -2.354%]
584.852µs 617.420µs
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.55.0-SNAPSHOT~35ba4e5156, baseline=1.55.0-SNAPSHOT~a56894b54b

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.017 s) : 0, 1017016
Total [baseline] (8.708 s) : 0, 8707554
Agent [candidate] (1.017 s) : 0, 1017112
Total [candidate] (8.643 s) : 0, 8643347
section iast
Agent [baseline] (1.152 s) : 0, 1151632
Total [baseline] (9.271 s) : 0, 9270856
Agent [candidate] (1.148 s) : 0, 1147894
Total [candidate] (9.248 s) : 0, 9247647
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.017 s -
Agent iast 1.152 s 134.616 ms (13.2%)
Total tracing 8.708 s -
Total iast 9.271 s 563.301 ms (6.5%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.017 s -
Agent iast 1.148 s 130.782 ms (12.9%)
Total tracing 8.643 s -
Total iast 9.248 s 604.3 ms (7.0%)
gantt
    title insecure-bank - break down per module: candidate=1.55.0-SNAPSHOT~35ba4e5156, baseline=1.55.0-SNAPSHOT~a56894b54b

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.465 ms) : 0, 1465
crashtracking [candidate] (1.452 ms) : 0, 1452
BytebuddyAgent [baseline] (692.596 ms) : 0, 692596
BytebuddyAgent [candidate] (693.369 ms) : 0, 693369
GlobalTracer [baseline] (241.656 ms) : 0, 241656
GlobalTracer [candidate] (241.397 ms) : 0, 241397
AppSec [baseline] (32.537 ms) : 0, 32537
AppSec [candidate] (32.761 ms) : 0, 32761
Debugger [baseline] (6.421 ms) : 0, 6421
Debugger [candidate] (6.373 ms) : 0, 6373
Remote Config [baseline] (699.784 µs) : 0, 700
Remote Config [candidate] (697.449 µs) : 0, 697
Telemetry [baseline] (9.313 ms) : 0, 9313
Telemetry [candidate] (9.183 ms) : 0, 9183
Flare Poller [baseline] (11.174 ms) : 0, 11174
Flare Poller [candidate] (10.867 ms) : 0, 10867
section iast
crashtracking [baseline] (1.462 ms) : 0, 1462
crashtracking [candidate] (1.45 ms) : 0, 1450
BytebuddyAgent [baseline] (815.755 ms) : 0, 815755
BytebuddyAgent [candidate] (812.651 ms) : 0, 812651
GlobalTracer [baseline] (231.767 ms) : 0, 231767
GlobalTracer [candidate] (231.196 ms) : 0, 231196
AppSec [baseline] (35.411 ms) : 0, 35411
AppSec [candidate] (35.613 ms) : 0, 35613
Debugger [baseline] (6.11 ms) : 0, 6110
Debugger [candidate] (6.117 ms) : 0, 6117
Remote Config [baseline] (620.249 µs) : 0, 620
Remote Config [candidate] (596.22 µs) : 0, 596
Telemetry [baseline] (8.596 ms) : 0, 8596
Telemetry [candidate] (8.596 ms) : 0, 8596
Flare Poller [baseline] (4.221 ms) : 0, 4221
Flare Poller [candidate] (4.163 ms) : 0, 4163
IAST [baseline] (26.33 ms) : 0, 26330
IAST [candidate] (26.392 ms) : 0, 26392
Loading
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.55.0-SNAPSHOT~35ba4e5156, baseline=1.55.0-SNAPSHOT~a56894b54b

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.024 s) : 0, 1024298
Total [baseline] (10.772 s) : 0, 10772471
Agent [candidate] (1.019 s) : 0, 1018713
Total [candidate] (10.716 s) : 0, 10715901
section appsec
Agent [baseline] (1.199 s) : 0, 1199220
Total [baseline] (11.076 s) : 0, 11076469
Agent [candidate] (1.194 s) : 0, 1194044
Total [candidate] (11.076 s) : 0, 11075510
section iast
Agent [baseline] (1.151 s) : 0, 1151107
Total [baseline] (10.972 s) : 0, 10971707
Agent [candidate] (1.147 s) : 0, 1147429
Total [candidate] (10.951 s) : 0, 10951080
section profiling
Agent [baseline] (1.16 s) : 0, 1160011
Total [baseline] (11.142 s) : 0, 11142179
Agent [candidate] (1.16 s) : 0, 1159972
Total [candidate] (11.011 s) : 0, 11010723
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.024 s -
Agent appsec 1.199 s 174.922 ms (17.1%)
Agent iast 1.151 s 126.81 ms (12.4%)
Agent profiling 1.16 s 135.713 ms (13.2%)
Total tracing 10.772 s -
Total appsec 11.076 s 303.998 ms (2.8%)
Total iast 10.972 s 199.235 ms (1.8%)
Total profiling 11.142 s 369.708 ms (3.4%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.019 s -
Agent appsec 1.194 s 175.332 ms (17.2%)
Agent iast 1.147 s 128.716 ms (12.6%)
Agent profiling 1.16 s 141.259 ms (13.9%)
Total tracing 10.716 s -
Total appsec 11.076 s 359.608 ms (3.4%)
Total iast 10.951 s 235.178 ms (2.2%)
Total profiling 11.011 s 294.822 ms (2.8%)
gantt
    title petclinic - break down per module: candidate=1.55.0-SNAPSHOT~35ba4e5156, baseline=1.55.0-SNAPSHOT~a56894b54b

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.478 ms) : 0, 1478
crashtracking [candidate] (1.451 ms) : 0, 1451
BytebuddyAgent [baseline] (697.838 ms) : 0, 697838
BytebuddyAgent [candidate] (695.537 ms) : 0, 695537
GlobalTracer [baseline] (242.859 ms) : 0, 242859
GlobalTracer [candidate] (241.781 ms) : 0, 241781
AppSec [baseline] (32.775 ms) : 0, 32775
AppSec [candidate] (32.734 ms) : 0, 32734
Debugger [baseline] (6.46 ms) : 0, 6460
Debugger [candidate] (6.431 ms) : 0, 6431
Remote Config [baseline] (715.453 µs) : 0, 715
Remote Config [candidate] (682.956 µs) : 0, 683
Telemetry [baseline] (9.249 ms) : 0, 9249
Telemetry [candidate] (9.292 ms) : 0, 9292
Flare Poller [baseline] (11.594 ms) : 0, 11594
Flare Poller [candidate] (9.545 ms) : 0, 9545
section appsec
crashtracking [baseline] (1.476 ms) : 0, 1476
crashtracking [candidate] (1.469 ms) : 0, 1469
BytebuddyAgent [baseline] (720.728 ms) : 0, 720728
BytebuddyAgent [candidate] (717.277 ms) : 0, 717277
GlobalTracer [baseline] (235.524 ms) : 0, 235524
GlobalTracer [candidate] (233.942 ms) : 0, 233942
AppSec [baseline] (176.153 ms) : 0, 176153
AppSec [candidate] (176.019 ms) : 0, 176019
Debugger [baseline] (6.127 ms) : 0, 6127
Debugger [candidate] (6.216 ms) : 0, 6216
Remote Config [baseline] (656.153 µs) : 0, 656
Remote Config [candidate] (650.103 µs) : 0, 650
Telemetry [baseline] (8.49 ms) : 0, 8490
Telemetry [candidate] (8.596 ms) : 0, 8596
Flare Poller [baseline] (3.954 ms) : 0, 3954
Flare Poller [candidate] (4.009 ms) : 0, 4009
IAST [baseline] (24.95 ms) : 0, 24950
IAST [candidate] (24.776 ms) : 0, 24776
section iast
crashtracking [baseline] (1.474 ms) : 0, 1474
crashtracking [candidate] (1.449 ms) : 0, 1449
BytebuddyAgent [baseline] (815.367 ms) : 0, 815367
BytebuddyAgent [candidate] (812.256 ms) : 0, 812256
GlobalTracer [baseline] (231.953 ms) : 0, 231953
GlobalTracer [candidate] (231.212 ms) : 0, 231212
AppSec [baseline] (35.222 ms) : 0, 35222
AppSec [candidate] (35.454 ms) : 0, 35454
Debugger [baseline] (6.017 ms) : 0, 6017
Debugger [candidate] (6.028 ms) : 0, 6028
Remote Config [baseline] (617.419 µs) : 0, 617
Remote Config [candidate] (584.852 µs) : 0, 585
Telemetry [baseline] (8.367 ms) : 0, 8367
Telemetry [candidate] (8.511 ms) : 0, 8511
Flare Poller [baseline] (4.203 ms) : 0, 4203
Flare Poller [candidate] (4.227 ms) : 0, 4227
IAST [baseline] (26.493 ms) : 0, 26493
IAST [candidate] (26.494 ms) : 0, 26494
section profiling
crashtracking [baseline] (1.426 ms) : 0, 1426
crashtracking [candidate] (1.422 ms) : 0, 1422
BytebuddyAgent [baseline] (719.441 ms) : 0, 719441
BytebuddyAgent [candidate] (720.623 ms) : 0, 720623
GlobalTracer [baseline] (217.163 ms) : 0, 217163
GlobalTracer [candidate] (216.185 ms) : 0, 216185
AppSec [baseline] (32.522 ms) : 0, 32522
AppSec [candidate] (32.955 ms) : 0, 32955
Debugger [baseline] (6.399 ms) : 0, 6399
Debugger [candidate] (6.416 ms) : 0, 6416
Remote Config [baseline] (687.092 µs) : 0, 687
Remote Config [candidate] (1.534 ms) : 0, 1534
Telemetry [baseline] (16.696 ms) : 0, 16696
Telemetry [candidate] (15.763 ms) : 0, 15763
Flare Poller [baseline] (4.296 ms) : 0, 4296
Flare Poller [candidate] (4.187 ms) : 0, 4187
ProfilingAgent [baseline] (108.006 ms) : 0, 108006
ProfilingAgent [candidate] (107.306 ms) : 0, 107306
Profiling [baseline] (109.406 ms) : 0, 109406
Profiling [candidate] (109.002 ms) : 0, 109002
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master jb/vthread_profiling
git_commit_date 1759924549 1759927417
git_commit_sha a56894b 35ba4e5
release_version 1.55.0-SNAPSHOT~a56894b54b 1.55.0-SNAPSHOT~35ba4e5156
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1759928977 1759928977
ci_job_id 1169276365 1169276365
ci_pipeline_id 78715609 78715609
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-4a8bo75a 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-4a8bo75a 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 3 performance improvements and 4 performance regressions! Performance is the same for 5 metrics, 12 unstable metrics.

scenario Δ mean http_req_duration Δ mean throughput candidate mean http_req_duration candidate mean throughput baseline mean http_req_duration baseline mean throughput
scenario:load:insecure-bank:iast_FULL:high_load worse
[+425.101µs; +1040.365µs] or [+3.019%; +7.388%]
unstable
[-53.845op/s; +20.845op/s] or [-16.261%; +6.295%]
14.815ms 314.625op/s 14.082ms 331.125op/s
scenario:load:insecure-bank:iast:high_load worse
[+230.030µs; +580.186µs] or [+2.422%; +6.108%]
unstable
[-78.878op/s; +38.753op/s] or [-16.134%; +7.926%]
9.905ms 468.844op/s 9.499ms 488.906op/s
scenario:load:insecure-bank:iast_GLOBAL:high_load better
[-1094.489µs; -668.313µs] or [-9.532%; -5.820%]
unstable
[-17.918op/s; +84.855op/s] or [-4.424%; +20.952%]
10.601ms 438.469op/s 11.483ms 405.000op/s
scenario:load:petclinic:code_origins:high_load worse
[+2.113ms; +2.940ms] or [+4.908%; +6.828%]
unstable
[-13.234op/s; +1.159op/s] or [-12.177%; +1.066%]
45.590ms 102.638op/s 43.063ms 108.675op/s
scenario:load:petclinic:no_agent:high_load better
[-2.356ms; -1.728ms] or [-6.357%; -4.661%]
unstable
[-1.537op/s; +16.087op/s] or [-1.218%; +12.747%]
35.023ms 133.475op/s 37.065ms 126.200op/s
scenario:load:petclinic:tracing:high_load worse
[+1.249ms; +2.102ms] or [+2.821%; +4.749%]
unstable
[-11.038op/s; +3.313op/s] or [-10.439%; +3.133%]
45.934ms 101.875op/s 44.258ms 105.737op/s
scenario:load:petclinic:appsec:high_load better
[-2.722ms; -1.789ms] or [-5.445%; -3.578%]
unstable
[-2.496op/s; +11.271op/s] or [-2.666%; +12.039%]
47.738ms 98.013op/s 49.993ms 93.625op/s
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.55.0-SNAPSHOT~35ba4e5156, baseline=1.55.0-SNAPSHOT~a56894b54b
    dateFormat X
    axisFormat %s
section baseline
no_agent (37.065 ms) : 36758, 37372
.   : milestone, 37065,
appsec (49.993 ms) : 49555, 50431
.   : milestone, 49993,
code_origins (43.063 ms) : 42696, 43429
.   : milestone, 43063,
iast (46.012 ms) : 45610, 46414
.   : milestone, 46012,
profiling (48.232 ms) : 47817, 48647
.   : milestone, 48232,
tracing (44.258 ms) : 43873, 44644
.   : milestone, 44258,
section candidate
no_agent (35.023 ms) : 34747, 35300
.   : milestone, 35023,
appsec (47.738 ms) : 47309, 48167
.   : milestone, 47738,
code_origins (45.59 ms) : 45188, 45991
.   : milestone, 45590,
iast (45.085 ms) : 44697, 45473
.   : milestone, 45085,
profiling (48.889 ms) : 48447, 49331
.   : milestone, 48889,
tracing (45.934 ms) : 45527, 46340
.   : milestone, 45934,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 37.065 ms [36.758 ms, 37.372 ms] -
appsec 49.993 ms [49.555 ms, 50.431 ms] 12.928 ms (34.9%)
code_origins 43.063 ms [42.696 ms, 43.429 ms] 5.998 ms (16.2%)
iast 46.012 ms [45.61 ms, 46.414 ms] 8.947 ms (24.1%)
profiling 48.232 ms [47.817 ms, 48.647 ms] 11.166 ms (30.1%)
tracing 44.258 ms [43.873 ms, 44.644 ms] 7.193 ms (19.4%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 35.023 ms [34.747 ms, 35.3 ms] -
appsec 47.738 ms [47.309 ms, 48.167 ms] 12.715 ms (36.3%)
code_origins 45.59 ms [45.188 ms, 45.991 ms] 10.566 ms (30.2%)
iast 45.085 ms [44.697 ms, 45.473 ms] 10.062 ms (28.7%)
profiling 48.889 ms [48.447 ms, 49.331 ms] 13.865 ms (39.6%)
tracing 45.934 ms [45.527 ms, 46.34 ms] 10.91 ms (31.2%)
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.55.0-SNAPSHOT~35ba4e5156, baseline=1.55.0-SNAPSHOT~a56894b54b
    dateFormat X
    axisFormat %s
section baseline
no_agent (4.425 ms) : 4375, 4475
.   : milestone, 4425,
iast (9.499 ms) : 9343, 9656
.   : milestone, 9499,
iast_FULL (14.082 ms) : 13803, 14360
.   : milestone, 14082,
iast_GLOBAL (11.483 ms) : 11278, 11688
.   : milestone, 11483,
profiling (8.939 ms) : 8796, 9081
.   : milestone, 8939,
tracing (7.975 ms) : 7853, 8096
.   : milestone, 7975,
section candidate
no_agent (4.306 ms) : 4255, 4358
.   : milestone, 4306,
iast (9.905 ms) : 9736, 10073
.   : milestone, 9905,
iast_FULL (14.815 ms) : 14522, 15108
.   : milestone, 14815,
iast_GLOBAL (10.601 ms) : 10411, 10792
.   : milestone, 10601,
profiling (9.262 ms) : 9106, 9419
.   : milestone, 9262,
tracing (7.743 ms) : 7627, 7858
.   : milestone, 7743,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.425 ms [4.375 ms, 4.475 ms] -
iast 9.499 ms [9.343 ms, 9.656 ms] 5.074 ms (114.7%)
iast_FULL 14.082 ms [13.803 ms, 14.36 ms] 9.657 ms (218.2%)
iast_GLOBAL 11.483 ms [11.278 ms, 11.688 ms] 7.058 ms (159.5%)
profiling 8.939 ms [8.796 ms, 9.081 ms] 4.514 ms (102.0%)
tracing 7.975 ms [7.853 ms, 8.096 ms] 3.55 ms (80.2%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.306 ms [4.255 ms, 4.358 ms] -
iast 9.905 ms [9.736 ms, 10.073 ms] 5.598 ms (130.0%)
iast_FULL 14.815 ms [14.522 ms, 15.108 ms] 10.508 ms (244.0%)
iast_GLOBAL 10.601 ms [10.411 ms, 10.792 ms] 6.295 ms (146.2%)
profiling 9.262 ms [9.106 ms, 9.419 ms] 4.956 ms (115.1%)
tracing 7.743 ms [7.627 ms, 7.858 ms] 3.436 ms (79.8%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master jb/vthread_profiling
git_commit_date 1759924549 1759927417
git_commit_sha a56894b 35ba4e5
release_version 1.55.0-SNAPSHOT~a56894b54b 1.55.0-SNAPSHOT~35ba4e5156
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1759929420 1759929420
ci_job_id 1169276366 1169276366
ci_pipeline_id 78715609 78715609
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-2-gt8fr1xq 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-2-gt8fr1xq 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.55.0-SNAPSHOT~35ba4e5156, baseline=1.55.0-SNAPSHOT~a56894b54b
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.477 ms) : 1466, 1489
.   : milestone, 1477,
appsec (2.518 ms) : 2465, 2572
.   : milestone, 2518,
iast (2.212 ms) : 2148, 2276
.   : milestone, 2212,
iast_GLOBAL (2.258 ms) : 2194, 2322
.   : milestone, 2258,
profiling (2.062 ms) : 2011, 2113
.   : milestone, 2062,
tracing (2.03 ms) : 1981, 2079
.   : milestone, 2030,
section candidate
no_agent (1.483 ms) : 1472, 1495
.   : milestone, 1483,
appsec (3.747 ms) : 3528, 3966
.   : milestone, 3747,
iast (2.216 ms) : 2153, 2280
.   : milestone, 2216,
iast_GLOBAL (2.261 ms) : 2197, 2326
.   : milestone, 2261,
profiling (2.083 ms) : 2029, 2137
.   : milestone, 2083,
tracing (2.033 ms) : 1984, 2083
.   : milestone, 2033,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.477 ms [1.466 ms, 1.489 ms] -
appsec 2.518 ms [2.465 ms, 2.572 ms] 1.041 ms (70.5%)
iast 2.212 ms [2.148 ms, 2.276 ms] 734.622 µs (49.7%)
iast_GLOBAL 2.258 ms [2.194 ms, 2.322 ms] 780.808 µs (52.8%)
profiling 2.062 ms [2.011 ms, 2.113 ms] 584.513 µs (39.6%)
tracing 2.03 ms [1.981 ms, 2.079 ms] 552.476 µs (37.4%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.483 ms [1.472 ms, 1.495 ms] -
appsec 3.747 ms [3.528 ms, 3.966 ms] 2.264 ms (152.6%)
iast 2.216 ms [2.153 ms, 2.28 ms] 733.126 µs (49.4%)
iast_GLOBAL 2.261 ms [2.197 ms, 2.326 ms] 778.085 µs (52.5%)
profiling 2.083 ms [2.029 ms, 2.137 ms] 600.008 µs (40.5%)
tracing 2.033 ms [1.984 ms, 2.083 ms] 550.06 µs (37.1%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.55.0-SNAPSHOT~35ba4e5156, baseline=1.55.0-SNAPSHOT~a56894b54b
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.664 s) : 15664000, 15664000
.   : milestone, 15664000,
appsec (15.082 s) : 15082000, 15082000
.   : milestone, 15082000,
iast (18.334 s) : 18334000, 18334000
.   : milestone, 18334000,
iast_GLOBAL (18.186 s) : 18186000, 18186000
.   : milestone, 18186000,
profiling (15.265 s) : 15265000, 15265000
.   : milestone, 15265000,
tracing (15.036 s) : 15036000, 15036000
.   : milestone, 15036000,
section candidate
no_agent (14.992 s) : 14992000, 14992000
.   : milestone, 14992000,
appsec (15.244 s) : 15244000, 15244000
.   : milestone, 15244000,
iast (18.565 s) : 18565000, 18565000
.   : milestone, 18565000,
iast_GLOBAL (18.054 s) : 18054000, 18054000
.   : milestone, 18054000,
profiling (15.109 s) : 15109000, 15109000
.   : milestone, 15109000,
tracing (14.968 s) : 14968000, 14968000
.   : milestone, 14968000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.664 s [15.664 s, 15.664 s] -
appsec 15.082 s [15.082 s, 15.082 s] -582.0 ms (-3.7%)
iast 18.334 s [18.334 s, 18.334 s] 2.67 s (17.0%)
iast_GLOBAL 18.186 s [18.186 s, 18.186 s] 2.522 s (16.1%)
profiling 15.265 s [15.265 s, 15.265 s] -399.0 ms (-2.5%)
tracing 15.036 s [15.036 s, 15.036 s] -628.0 ms (-4.0%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.992 s [14.992 s, 14.992 s] -
appsec 15.244 s [15.244 s, 15.244 s] 252.0 ms (1.7%)
iast 18.565 s [18.565 s, 18.565 s] 3.573 s (23.8%)
iast_GLOBAL 18.054 s [18.054 s, 18.054 s] 3.062 s (20.4%)
profiling 15.109 s [15.109 s, 15.109 s] 117.0 ms (0.8%)
tracing 14.968 s [14.968 s, 14.968 s] -24.0 ms (-0.2%)

@jbachorik
Copy link
Contributor Author

Thanks to the magic of the Loom scheduler which turns each VT quantum into a scheduled future task, our existing context propagation just works ...

Still, this kind of instrumentation may come handy in the future if we decide to eg. measure how long a VT was 'unmounted'.

Closing.

@jbachorik jbachorik closed this Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: profiling Profiling tag: do not merge Do not merge changes type: enhancement Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant