Skip to content

WIP: Implicitly merge any current non-span context when using span.attach()#10512

Draft
mcculls wants to merge 1 commit intomasterfrom
mcculls/merge-context-on-span-attach
Draft

WIP: Implicitly merge any current non-span context when using span.attach()#10512
mcculls wants to merge 1 commit intomasterfrom
mcculls/merge-context-on-span-attach

Conversation

@mcculls
Copy link
Contributor

@mcculls mcculls commented Feb 3, 2026

What Does This Do

Motivation

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

@mcculls mcculls added type: bug Bug report and fix tag: do not merge Do not merge changes comp: context propagation Trace context propagation labels Feb 3, 2026
@mcculls mcculls force-pushed the mcculls/merge-context-on-span-attach branch from 4b2624e to c65f10f Compare February 3, 2026 11:47
@pr-commenter
Copy link

pr-commenter bot commented Feb 3, 2026

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master mcculls/merge-context-on-span-attach
git_commit_date 1770110263 1770119219
git_commit_sha 71d8c26 c65f10f
release_version 1.60.0-SNAPSHOT~71d8c2624e 1.60.0-SNAPSHOT~c65f10f6e4
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1770120893 1770120893
ci_job_id 1396635310 1396635310
ci_pipeline_id 94293313 94293313
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-kxc7ayus 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-kxc7ayus 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 63 metrics, 8 unstable metrics.

Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.60.0-SNAPSHOT~c65f10f6e4, baseline=1.60.0-SNAPSHOT~71d8c2624e

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.065 s) : 0, 1065188
Total [baseline] (8.731 s) : 0, 8731384
Agent [candidate] (1.067 s) : 0, 1066743
Total [candidate] (8.72 s) : 0, 8720227
section iast
Agent [baseline] (1.229 s) : 0, 1229238
Total [baseline] (9.382 s) : 0, 9381665
Agent [candidate] (1.23 s) : 0, 1230359
Total [candidate] (9.393 s) : 0, 9393425
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.065 s -
Agent iast 1.229 s 164.051 ms (15.4%)
Total tracing 8.731 s -
Total iast 9.382 s 650.281 ms (7.4%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.067 s -
Agent iast 1.23 s 163.615 ms (15.3%)
Total tracing 8.72 s -
Total iast 9.393 s 673.198 ms (7.7%)
gantt
    title insecure-bank - break down per module: candidate=1.60.0-SNAPSHOT~c65f10f6e4, baseline=1.60.0-SNAPSHOT~71d8c2624e

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.188 ms) : 0, 1188
crashtracking [candidate] (1.198 ms) : 0, 1198
BytebuddyAgent [baseline] (628.178 ms) : 0, 628178
BytebuddyAgent [candidate] (629.826 ms) : 0, 629826
AgentMeter [baseline] (28.69 ms) : 0, 28690
AgentMeter [candidate] (28.87 ms) : 0, 28870
GlobalTracer [baseline] (258.171 ms) : 0, 258171
GlobalTracer [candidate] (258.388 ms) : 0, 258388
AppSec [baseline] (32.829 ms) : 0, 32829
AppSec [candidate] (32.887 ms) : 0, 32887
Debugger [baseline] (60.734 ms) : 0, 60734
Debugger [candidate] (60.919 ms) : 0, 60919
Remote Config [baseline] (623.895 µs) : 0, 624
Remote Config [candidate] (616.352 µs) : 0, 616
Telemetry [baseline] (14.801 ms) : 0, 14801
Telemetry [candidate] (12.328 ms) : 0, 12328
Flare Poller [baseline] (4.551 ms) : 0, 4551
Flare Poller [candidate] (6.106 ms) : 0, 6106
section iast
crashtracking [baseline] (1.191 ms) : 0, 1191
crashtracking [candidate] (1.189 ms) : 0, 1189
BytebuddyAgent [baseline] (794.991 ms) : 0, 794991
BytebuddyAgent [candidate] (794.918 ms) : 0, 794918
AgentMeter [baseline] (11.188 ms) : 0, 11188
AgentMeter [candidate] (11.16 ms) : 0, 11160
GlobalTracer [baseline] (247.214 ms) : 0, 247214
GlobalTracer [candidate] (247.713 ms) : 0, 247713
AppSec [baseline] (33.968 ms) : 0, 33968
AppSec [candidate] (33.001 ms) : 0, 33001
Debugger [baseline] (65.61 ms) : 0, 65610
Debugger [candidate] (67.158 ms) : 0, 67158
Remote Config [baseline] (544.377 µs) : 0, 544
Remote Config [candidate] (548.551 µs) : 0, 549
Telemetry [baseline] (8.686 ms) : 0, 8686
Telemetry [candidate] (8.723 ms) : 0, 8723
Flare Poller [baseline] (3.465 ms) : 0, 3465
Flare Poller [candidate] (3.523 ms) : 0, 3523
IAST [baseline] (26.998 ms) : 0, 26998
IAST [candidate] (26.99 ms) : 0, 26990
Loading
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.60.0-SNAPSHOT~c65f10f6e4, baseline=1.60.0-SNAPSHOT~71d8c2624e

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.065 s) : 0, 1064786
Total [baseline] (10.975 s) : 0, 10974774
Agent [candidate] (1.068 s) : 0, 1068481
Total [candidate] (10.834 s) : 0, 10833637
section appsec
Agent [baseline] (1.239 s) : 0, 1238660
Total [baseline] (10.935 s) : 0, 10935413
Agent [candidate] (1.237 s) : 0, 1237382
Total [candidate] (10.881 s) : 0, 10880748
section iast
Agent [baseline] (1.232 s) : 0, 1232005
Total [baseline] (11.141 s) : 0, 11141160
Agent [candidate] (1.229 s) : 0, 1228722
Total [candidate] (11.221 s) : 0, 11220910
section profiling
Agent [baseline] (1.201 s) : 0, 1200874
Total [baseline] (11.078 s) : 0, 11077520
Agent [candidate] (1.188 s) : 0, 1188228
Total [candidate] (10.941 s) : 0, 10940979
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.065 s -
Agent appsec 1.239 s 173.874 ms (16.3%)
Agent iast 1.232 s 167.218 ms (15.7%)
Agent profiling 1.201 s 136.088 ms (12.8%)
Total tracing 10.975 s -
Total appsec 10.935 s -39.361 ms (-0.4%)
Total iast 11.141 s 166.386 ms (1.5%)
Total profiling 11.078 s 102.746 ms (0.9%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.068 s -
Agent appsec 1.237 s 168.901 ms (15.8%)
Agent iast 1.229 s 160.241 ms (15.0%)
Agent profiling 1.188 s 119.747 ms (11.2%)
Total tracing 10.834 s -
Total appsec 10.881 s 47.111 ms (0.4%)
Total iast 11.221 s 387.273 ms (3.6%)
Total profiling 10.941 s 107.342 ms (1.0%)
gantt
    title petclinic - break down per module: candidate=1.60.0-SNAPSHOT~c65f10f6e4, baseline=1.60.0-SNAPSHOT~71d8c2624e

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.187 ms) : 0, 1187
crashtracking [candidate] (1.197 ms) : 0, 1197
BytebuddyAgent [baseline] (628.655 ms) : 0, 628655
BytebuddyAgent [candidate] (628.808 ms) : 0, 628808
AgentMeter [baseline] (28.716 ms) : 0, 28716
AgentMeter [candidate] (28.727 ms) : 0, 28727
GlobalTracer [baseline] (257.843 ms) : 0, 257843
GlobalTracer [candidate] (258.999 ms) : 0, 258999
AppSec [baseline] (32.798 ms) : 0, 32798
AppSec [candidate] (33.151 ms) : 0, 33151
Debugger [baseline] (63.506 ms) : 0, 63506
Debugger [candidate] (61.166 ms) : 0, 61166
Remote Config [baseline] (617.783 µs) : 0, 618
Remote Config [candidate] (645.43 µs) : 0, 645
Telemetry [baseline] (11.56 ms) : 0, 11560
Telemetry [candidate] (13.26 ms) : 0, 13260
Flare Poller [baseline] (4.582 ms) : 0, 4582
Flare Poller [candidate] (7.079 ms) : 0, 7079
section appsec
crashtracking [baseline] (1.187 ms) : 0, 1187
crashtracking [candidate] (1.18 ms) : 0, 1180
BytebuddyAgent [baseline] (658.118 ms) : 0, 658118
BytebuddyAgent [candidate] (657.14 ms) : 0, 657140
AgentMeter [baseline] (11.756 ms) : 0, 11756
AgentMeter [candidate] (11.776 ms) : 0, 11776
GlobalTracer [baseline] (258.177 ms) : 0, 258177
GlobalTracer [candidate] (257.917 ms) : 0, 257917
AppSec [baseline] (167.984 ms) : 0, 167984
AppSec [candidate] (167.914 ms) : 0, 167914
Debugger [baseline] (67.432 ms) : 0, 67432
Debugger [candidate] (67.445 ms) : 0, 67445
Remote Config [baseline] (672.082 µs) : 0, 672
Remote Config [candidate] (665.706 µs) : 0, 666
Telemetry [baseline] (9.058 ms) : 0, 9058
Telemetry [candidate] (9.093 ms) : 0, 9093
Flare Poller [baseline] (3.65 ms) : 0, 3650
Flare Poller [candidate] (3.594 ms) : 0, 3594
IAST [baseline] (25.258 ms) : 0, 25258
IAST [candidate] (25.355 ms) : 0, 25355
section iast
crashtracking [baseline] (1.186 ms) : 0, 1186
crashtracking [candidate] (1.18 ms) : 0, 1180
BytebuddyAgent [baseline] (796.364 ms) : 0, 796364
BytebuddyAgent [candidate] (794.38 ms) : 0, 794380
AgentMeter [baseline] (11.125 ms) : 0, 11125
AgentMeter [candidate] (11.122 ms) : 0, 11122
GlobalTracer [baseline] (248.253 ms) : 0, 248253
GlobalTracer [candidate] (247.315 ms) : 0, 247315
AppSec [baseline] (33.759 ms) : 0, 33759
AppSec [candidate] (34.614 ms) : 0, 34614
Debugger [baseline] (66.431 ms) : 0, 66431
Debugger [candidate] (65.325 ms) : 0, 65325
Remote Config [baseline] (563.945 µs) : 0, 564
Remote Config [candidate] (545.688 µs) : 0, 546
Telemetry [baseline] (8.657 ms) : 0, 8657
Telemetry [candidate] (8.65 ms) : 0, 8650
Flare Poller [baseline] (3.428 ms) : 0, 3428
Flare Poller [candidate] (3.473 ms) : 0, 3473
IAST [baseline] (26.957 ms) : 0, 26957
IAST [candidate] (26.889 ms) : 0, 26889
section profiling
crashtracking [baseline] (1.227 ms) : 0, 1227
crashtracking [candidate] (1.209 ms) : 0, 1209
BytebuddyAgent [baseline] (686.362 ms) : 0, 686362
BytebuddyAgent [candidate] (680.687 ms) : 0, 680687
AgentMeter [baseline] (8.7 ms) : 0, 8700
AgentMeter [candidate] (8.603 ms) : 0, 8603
GlobalTracer [baseline] (217.796 ms) : 0, 217796
GlobalTracer [candidate] (215.712 ms) : 0, 215712
AppSec [baseline] (32.976 ms) : 0, 32976
AppSec [candidate] (32.28 ms) : 0, 32280
Debugger [baseline] (68.612 ms) : 0, 68612
Debugger [candidate] (67.256 ms) : 0, 67256
Remote Config [baseline] (629.565 µs) : 0, 630
Remote Config [candidate] (600.426 µs) : 0, 600
Telemetry [baseline] (8.944 ms) : 0, 8944
Telemetry [candidate] (8.917 ms) : 0, 8917
Flare Poller [baseline] (3.808 ms) : 0, 3808
Flare Poller [candidate] (3.76 ms) : 0, 3760
ProfilingAgent [baseline] (101.527 ms) : 0, 101527
ProfilingAgent [candidate] (99.509 ms) : 0, 99509
Profiling [baseline] (102.114 ms) : 0, 102114
Profiling [candidate] (100.075 ms) : 0, 100075
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master mcculls/merge-context-on-span-attach
git_commit_date 1770110263 1770119219
git_commit_sha 71d8c26 c65f10f
release_version 1.60.0-SNAPSHOT~71d8c2624e 1.60.0-SNAPSHOT~c65f10f6e4
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1770121473 1770121473
ci_job_id 1396635312 1396635312
ci_pipeline_id 94293313 94293313
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-j5t3cy32 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-j5t3cy32 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 1 performance regressions! Performance is the same for 16 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:insecure-bank:iast_GLOBAL:high_load worse
[+59.328µs; +150.770µs] or [+2.143%; +5.446%]
same
[-182.302µs; +285.112µs] or [-2.298%; +3.593%]
unstable
[-184.444op/s; +83.756op/s] or [-14.171%; +6.435%]
2.874ms 7.986ms 1251.188op/s 2.769ms 7.935ms 1301.531op/s
scenario:load:petclinic:code_origins:high_load better
[-1281.737µs; -475.793µs] or [-7.021%; -2.606%]
unsure
[-1.848ms; -0.194ms] or [-6.231%; -0.655%]
unstable
[-18.592op/s; +37.592op/s] or [-7.375%; +14.912%]
17.376ms 28.640ms 261.594op/s 18.255ms 29.661ms 252.094op/s
scenario:load:petclinic:no_agent:high_load better
[-2.393ms; -1.119ms] or [-13.317%; -6.227%]
better
[-4.036ms; -1.631ms] or [-13.322%; -5.383%]
unstable
[-7.121op/s; +53.621op/s] or [-2.810%; +21.155%]
16.216ms 27.466ms 276.719op/s 17.972ms 30.299ms 253.469op/s
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.60.0-SNAPSHOT~c65f10f6e4, baseline=1.60.0-SNAPSHOT~71d8c2624e
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.189 ms) : 1176, 1201
.   : milestone, 1189,
iast (3.152 ms) : 3105, 3198
.   : milestone, 3152,
iast_FULL (5.787 ms) : 5729, 5845
.   : milestone, 5787,
iast_GLOBAL (3.523 ms) : 3467, 3578
.   : milestone, 3523,
profiling (2.161 ms) : 2141, 2181
.   : milestone, 2161,
tracing (1.863 ms) : 1845, 1881
.   : milestone, 1863,
section candidate
no_agent (1.164 ms) : 1153, 1175
.   : milestone, 1164,
iast (3.119 ms) : 3077, 3160
.   : milestone, 3119,
iast_FULL (5.925 ms) : 5865, 5986
.   : milestone, 5925,
iast_GLOBAL (3.667 ms) : 3600, 3735
.   : milestone, 3667,
profiling (2.063 ms) : 2042, 2083
.   : milestone, 2063,
tracing (1.796 ms) : 1781, 1810
.   : milestone, 1796,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.189 ms [1.176 ms, 1.201 ms] -
iast 3.152 ms [3.105 ms, 3.198 ms] 1.963 ms (165.2%)
iast_FULL 5.787 ms [5.729 ms, 5.845 ms] 4.598 ms (386.9%)
iast_GLOBAL 3.523 ms [3.467 ms, 3.578 ms] 2.334 ms (196.4%)
profiling 2.161 ms [2.141 ms, 2.181 ms] 972.545 µs (81.8%)
tracing 1.863 ms [1.845 ms, 1.881 ms] 674.907 µs (56.8%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.164 ms [1.153 ms, 1.175 ms] -
iast 3.119 ms [3.077 ms, 3.16 ms] 1.955 ms (168.0%)
iast_FULL 5.925 ms [5.865 ms, 5.986 ms] 4.761 ms (409.1%)
iast_GLOBAL 3.667 ms [3.6 ms, 3.735 ms] 2.504 ms (215.1%)
profiling 2.063 ms [2.042 ms, 2.083 ms] 898.877 µs (77.2%)
tracing 1.796 ms [1.781 ms, 1.81 ms] 631.767 µs (54.3%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.60.0-SNAPSHOT~c65f10f6e4, baseline=1.60.0-SNAPSHOT~71d8c2624e
    dateFormat X
    axisFormat %s
section baseline
no_agent (18.408 ms) : 18218, 18598
.   : milestone, 18408,
appsec (18.727 ms) : 18538, 18916
.   : milestone, 18727,
code_origins (18.516 ms) : 18330, 18701
.   : milestone, 18516,
iast (17.933 ms) : 17754, 18112
.   : milestone, 17933,
profiling (18.836 ms) : 18646, 19025
.   : milestone, 18836,
tracing (18.07 ms) : 17888, 18251
.   : milestone, 18070,
section candidate
no_agent (16.858 ms) : 16695, 17021
.   : milestone, 16858,
appsec (18.815 ms) : 18619, 19012
.   : milestone, 18815,
code_origins (17.838 ms) : 17662, 18014
.   : milestone, 17838,
iast (17.67 ms) : 17495, 17845
.   : milestone, 17670,
profiling (18.7 ms) : 18514, 18885
.   : milestone, 18700,
tracing (17.67 ms) : 17494, 17846
.   : milestone, 17670,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 18.408 ms [18.218 ms, 18.598 ms] -
appsec 18.727 ms [18.538 ms, 18.916 ms] 319.474 µs (1.7%)
code_origins 18.516 ms [18.33 ms, 18.701 ms] 108.034 µs (0.6%)
iast 17.933 ms [17.754 ms, 18.112 ms] -474.693 µs (-2.6%)
profiling 18.836 ms [18.646 ms, 19.025 ms] 427.98 µs (2.3%)
tracing 18.07 ms [17.888 ms, 18.251 ms] -338.014 µs (-1.8%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 16.858 ms [16.695 ms, 17.021 ms] -
appsec 18.815 ms [18.619 ms, 19.012 ms] 1.957 ms (11.6%)
code_origins 17.838 ms [17.662 ms, 18.014 ms] 979.815 µs (5.8%)
iast 17.67 ms [17.495 ms, 17.845 ms] 812.121 µs (4.8%)
profiling 18.7 ms [18.514 ms, 18.885 ms] 1.842 ms (10.9%)
tracing 17.67 ms [17.494 ms, 17.846 ms] 811.815 µs (4.8%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master mcculls/merge-context-on-span-attach
git_commit_date 1770110263 1770119219
git_commit_sha 71d8c26 c65f10f
release_version 1.60.0-SNAPSHOT~71d8c2624e 1.60.0-SNAPSHOT~c65f10f6e4
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1770121066 1770121066
ci_job_id 1396635315 1396635315
ci_pipeline_id 94293313 94293313
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-5relcido 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-5relcido 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 10 metrics, 1 unstable metrics.

scenario Δ mean execution_time candidate mean execution_time baseline mean execution_time
scenario:dacapo:tomcat:appsec better
[-1.431ms; -1.082ms] or [-38.164%; -28.862%]
2.493ms 3.749ms
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.60.0-SNAPSHOT~c65f10f6e4, baseline=1.60.0-SNAPSHOT~71d8c2624e
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.458 s) : 15458000, 15458000
.   : milestone, 15458000,
appsec (14.729 s) : 14729000, 14729000
.   : milestone, 14729000,
iast (18.029 s) : 18029000, 18029000
.   : milestone, 18029000,
iast_GLOBAL (17.739 s) : 17739000, 17739000
.   : milestone, 17739000,
profiling (14.739 s) : 14739000, 14739000
.   : milestone, 14739000,
tracing (15.075 s) : 15075000, 15075000
.   : milestone, 15075000,
section candidate
no_agent (15.274 s) : 15274000, 15274000
.   : milestone, 15274000,
appsec (14.88 s) : 14880000, 14880000
.   : milestone, 14880000,
iast (18.15 s) : 18150000, 18150000
.   : milestone, 18150000,
iast_GLOBAL (17.845 s) : 17845000, 17845000
.   : milestone, 17845000,
profiling (14.841 s) : 14841000, 14841000
.   : milestone, 14841000,
tracing (14.739 s) : 14739000, 14739000
.   : milestone, 14739000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.458 s [15.458 s, 15.458 s] -
appsec 14.729 s [14.729 s, 14.729 s] -729.0 ms (-4.7%)
iast 18.029 s [18.029 s, 18.029 s] 2.571 s (16.6%)
iast_GLOBAL 17.739 s [17.739 s, 17.739 s] 2.281 s (14.8%)
profiling 14.739 s [14.739 s, 14.739 s] -719.0 ms (-4.7%)
tracing 15.075 s [15.075 s, 15.075 s] -383.0 ms (-2.5%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.274 s [15.274 s, 15.274 s] -
appsec 14.88 s [14.88 s, 14.88 s] -394.0 ms (-2.6%)
iast 18.15 s [18.15 s, 18.15 s] 2.876 s (18.8%)
iast_GLOBAL 17.845 s [17.845 s, 17.845 s] 2.571 s (16.8%)
profiling 14.841 s [14.841 s, 14.841 s] -433.0 ms (-2.8%)
tracing 14.739 s [14.739 s, 14.739 s] -535.0 ms (-3.5%)
Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.60.0-SNAPSHOT~c65f10f6e4, baseline=1.60.0-SNAPSHOT~71d8c2624e
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.477 ms) : 1466, 1489
.   : milestone, 1477,
appsec (3.749 ms) : 3527, 3972
.   : milestone, 3749,
iast (2.273 ms) : 2203, 2343
.   : milestone, 2273,
iast_GLOBAL (2.325 ms) : 2254, 2396
.   : milestone, 2325,
profiling (2.518 ms) : 2353, 2683
.   : milestone, 2518,
tracing (2.084 ms) : 2030, 2138
.   : milestone, 2084,
section candidate
no_agent (1.481 ms) : 1469, 1493
.   : milestone, 1481,
appsec (2.493 ms) : 2438, 2548
.   : milestone, 2493,
iast (2.269 ms) : 2199, 2339
.   : milestone, 2269,
iast_GLOBAL (2.306 ms) : 2236, 2377
.   : milestone, 2306,
profiling (2.091 ms) : 2035, 2146
.   : milestone, 2091,
tracing (2.075 ms) : 2021, 2130
.   : milestone, 2075,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.477 ms [1.466 ms, 1.489 ms] -
appsec 3.749 ms [3.527 ms, 3.972 ms] 2.272 ms (153.8%)
iast 2.273 ms [2.203 ms, 2.343 ms] 795.811 µs (53.9%)
iast_GLOBAL 2.325 ms [2.254 ms, 2.396 ms] 847.57 µs (57.4%)
profiling 2.518 ms [2.353 ms, 2.683 ms] 1.041 ms (70.5%)
tracing 2.084 ms [2.03 ms, 2.138 ms] 606.547 µs (41.1%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.481 ms [1.469 ms, 1.493 ms] -
appsec 2.493 ms [2.438 ms, 2.548 ms] 1.012 ms (68.3%)
iast 2.269 ms [2.199 ms, 2.339 ms] 788.004 µs (53.2%)
iast_GLOBAL 2.306 ms [2.236 ms, 2.377 ms] 825.494 µs (55.7%)
profiling 2.091 ms [2.035 ms, 2.146 ms] 609.721 µs (41.2%)
tracing 2.075 ms [2.021 ms, 2.13 ms] 594.174 µs (40.1%)

Copy link
Contributor

@PerfectSlayer PerfectSlayer left a comment

Choose a reason for hiding this comment

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

❔ question: ‏This seems to break the contract of the Context API. Merging contexts will make the newly context contains both elements from current and the new one so we might end up leaking products context once they adopt this API.

What the rationale behind this change? It feels this is trying for broken context tracking from instrumentations.

@mcculls
Copy link
Contributor Author

mcculls commented Feb 3, 2026

❔ question: ‏This seems to break the contract of the Context API. Merging contexts will make the newly context contains both elements from current and the new one so we might end up leaking products context once they adopt this API.

What the rationale behind this change? It feels this is trying for broken context tracking from instrumentations.

This is a draft PR, clearly marked as WIP - I'll update the description and answer questions when it's in review :)

@PerfectSlayer
Copy link
Contributor

No worry, I was mostly curious about the rationale 🫣 Not trying to review an early work!

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

Labels

comp: context propagation Trace context propagation tag: do not merge Do not merge changes type: bug Bug report and fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants