Skip to content

Extracting span kind & language into static TagMap.Entry objects#10495

Open
dougqh wants to merge 2 commits intomasterfrom
dougqh/server-decorator-entry-reuse
Open

Extracting span kind & language into static TagMap.Entry objects#10495
dougqh wants to merge 2 commits intomasterfrom
dougqh/server-decorator-entry-reuse

Conversation

@dougqh
Copy link
Contributor

@dougqh dougqh commented Feb 2, 2026

What Does This Do

Extracts span kind & language into static TagMap.Entry objects

Motivation

Reduce allocation & garbage collection

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

@dougqh dougqh requested a review from a team as a code owner February 2, 2026 15:12
@dougqh dougqh added type: enhancement Enhancements and improvements tag: performance Performance related changes inst:servlet Servlet instrumentation labels Feb 2, 2026
@pr-commenter
Copy link

pr-commenter bot commented Feb 6, 2026

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master dougqh/server-decorator-entry-reuse
git_commit_date 1770386810 1770387644
git_commit_sha e036f8c e5e17bc
release_version 1.60.0-SNAPSHOT~e036f8ca99 1.59.0-SNAPSHOT~e5e17bcca5
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1770389287 1770389287
ci_job_id 1406327137 1406327137
ci_pipeline_id 95000314 95000314
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-m6i2eghe 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-m6i2eghe 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 59 metrics, 12 unstable metrics.

Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.59.0-SNAPSHOT~e5e17bcca5, baseline=1.60.0-SNAPSHOT~e036f8ca99

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.079 s) : 0, 1078716
Total [baseline] (8.774 s) : 0, 8773657
Agent [candidate] (1.075 s) : 0, 1075075
Total [candidate] (8.784 s) : 0, 8784055
section iast
Agent [baseline] (1.235 s) : 0, 1235240
Total [baseline] (9.411 s) : 0, 9410624
Agent [candidate] (1.236 s) : 0, 1235546
Total [candidate] (9.4 s) : 0, 9399984
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.079 s -
Agent iast 1.235 s 156.524 ms (14.5%)
Total tracing 8.774 s -
Total iast 9.411 s 636.967 ms (7.3%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.075 s -
Agent iast 1.236 s 160.471 ms (14.9%)
Total tracing 8.784 s -
Total iast 9.4 s 615.929 ms (7.0%)
gantt
    title insecure-bank - break down per module: candidate=1.59.0-SNAPSHOT~e5e17bcca5, baseline=1.60.0-SNAPSHOT~e036f8ca99

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.203 ms) : 0, 1203
crashtracking [candidate] (1.21 ms) : 0, 1210
BytebuddyAgent [baseline] (637.212 ms) : 0, 637212
BytebuddyAgent [candidate] (635.436 ms) : 0, 635436
AgentMeter [baseline] (29.3 ms) : 0, 29300
AgentMeter [candidate] (29.146 ms) : 0, 29146
GlobalTracer [baseline] (260.729 ms) : 0, 260729
GlobalTracer [candidate] (260.469 ms) : 0, 260469
AppSec [baseline] (33.118 ms) : 0, 33118
AppSec [candidate] (33.16 ms) : 0, 33160
Debugger [baseline] (60.712 ms) : 0, 60712
Debugger [candidate] (62.628 ms) : 0, 62628
Remote Config [baseline] (622.367 µs) : 0, 622
Remote Config [candidate] (622.123 µs) : 0, 622
Telemetry [baseline] (13.83 ms) : 0, 13830
Telemetry [candidate] (11.45 ms) : 0, 11450
Flare Poller [baseline] (6.189 ms) : 0, 6189
Flare Poller [candidate] (5.423 ms) : 0, 5423
section iast
crashtracking [baseline] (1.184 ms) : 0, 1184
crashtracking [candidate] (1.188 ms) : 0, 1188
BytebuddyAgent [baseline] (797.349 ms) : 0, 797349
BytebuddyAgent [candidate] (798.762 ms) : 0, 798762
AgentMeter [baseline] (11.325 ms) : 0, 11325
AgentMeter [candidate] (11.278 ms) : 0, 11278
GlobalTracer [baseline] (249.418 ms) : 0, 249418
GlobalTracer [candidate] (249.577 ms) : 0, 249577
AppSec [baseline] (32.727 ms) : 0, 32727
AppSec [candidate] (34.784 ms) : 0, 34784
Debugger [baseline] (67.927 ms) : 0, 67927
Debugger [candidate] (64.86 ms) : 0, 64860
Remote Config [baseline] (557.087 µs) : 0, 557
Remote Config [candidate] (553.098 µs) : 0, 553
Telemetry [baseline] (8.697 ms) : 0, 8697
Telemetry [candidate] (8.717 ms) : 0, 8717
Flare Poller [baseline] (3.554 ms) : 0, 3554
Flare Poller [candidate] (3.455 ms) : 0, 3455
IAST [baseline] (27.165 ms) : 0, 27165
IAST [candidate] (27.0 ms) : 0, 27000
Loading
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.59.0-SNAPSHOT~e5e17bcca5, baseline=1.60.0-SNAPSHOT~e036f8ca99

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.066 s) : 0, 1065631
Total [baseline] (10.944 s) : 0, 10943727
Agent [candidate] (1.073 s) : 0, 1072773
Total [candidate] (10.95 s) : 0, 10949768
section appsec
Agent [baseline] (1.242 s) : 0, 1241501
Total [baseline] (11.067 s) : 0, 11067436
Agent [candidate] (1.24 s) : 0, 1239578
Total [candidate] (11.022 s) : 0, 11021750
section iast
Agent [baseline] (1.243 s) : 0, 1242512
Total [baseline] (11.155 s) : 0, 11155254
Agent [candidate] (1.245 s) : 0, 1244852
Total [candidate] (11.356 s) : 0, 11355916
section profiling
Agent [baseline] (1.191 s) : 0, 1190935
Total [baseline] (11.058 s) : 0, 11057987
Agent [candidate] (1.192 s) : 0, 1192200
Total [candidate] (10.952 s) : 0, 10952055
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.066 s -
Agent appsec 1.242 s 175.87 ms (16.5%)
Agent iast 1.243 s 176.88 ms (16.6%)
Agent profiling 1.191 s 125.304 ms (11.8%)
Total tracing 10.944 s -
Total appsec 11.067 s 123.71 ms (1.1%)
Total iast 11.155 s 211.527 ms (1.9%)
Total profiling 11.058 s 114.26 ms (1.0%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.073 s -
Agent appsec 1.24 s 166.805 ms (15.5%)
Agent iast 1.245 s 172.079 ms (16.0%)
Agent profiling 1.192 s 119.427 ms (11.1%)
Total tracing 10.95 s -
Total appsec 11.022 s 71.983 ms (0.7%)
Total iast 11.356 s 406.148 ms (3.7%)
Total profiling 10.952 s 2.287 ms (0.0%)
gantt
    title petclinic - break down per module: candidate=1.59.0-SNAPSHOT~e5e17bcca5, baseline=1.60.0-SNAPSHOT~e036f8ca99

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.183 ms) : 0, 1183
crashtracking [candidate] (1.202 ms) : 0, 1202
BytebuddyAgent [baseline] (629.325 ms) : 0, 629325
BytebuddyAgent [candidate] (634.102 ms) : 0, 634102
AgentMeter [baseline] (28.969 ms) : 0, 28969
AgentMeter [candidate] (29.195 ms) : 0, 29195
GlobalTracer [baseline] (258.284 ms) : 0, 258284
GlobalTracer [candidate] (259.81 ms) : 0, 259810
AppSec [baseline] (32.65 ms) : 0, 32650
AppSec [candidate] (32.713 ms) : 0, 32713
Debugger [baseline] (61.535 ms) : 0, 61535
Debugger [candidate] (60.652 ms) : 0, 60652
Remote Config [baseline] (630.315 µs) : 0, 630
Remote Config [candidate] (621.18 µs) : 0, 621
Telemetry [baseline] (13.113 ms) : 0, 13113
Telemetry [candidate] (12.868 ms) : 0, 12868
Flare Poller [baseline] (4.556 ms) : 0, 4556
Flare Poller [candidate] (6.151 ms) : 0, 6151
section appsec
crashtracking [baseline] (1.184 ms) : 0, 1184
crashtracking [candidate] (1.174 ms) : 0, 1174
BytebuddyAgent [baseline] (658.728 ms) : 0, 658728
BytebuddyAgent [candidate] (658.006 ms) : 0, 658006
AgentMeter [baseline] (11.957 ms) : 0, 11957
AgentMeter [candidate] (11.968 ms) : 0, 11968
GlobalTracer [baseline] (259.339 ms) : 0, 259339
GlobalTracer [candidate] (258.813 ms) : 0, 258813
AppSec [baseline] (168.302 ms) : 0, 168302
AppSec [candidate] (167.945 ms) : 0, 167945
Debugger [baseline] (67.561 ms) : 0, 67561
Debugger [candidate] (67.588 ms) : 0, 67588
Remote Config [baseline] (670.644 µs) : 0, 671
Remote Config [candidate] (650.29 µs) : 0, 650
Telemetry [baseline] (9.334 ms) : 0, 9334
Telemetry [candidate] (9.253 ms) : 0, 9253
Flare Poller [baseline] (3.676 ms) : 0, 3676
Flare Poller [candidate] (3.714 ms) : 0, 3714
IAST [baseline] (25.332 ms) : 0, 25332
IAST [candidate] (25.156 ms) : 0, 25156
section iast
crashtracking [baseline] (1.189 ms) : 0, 1189
crashtracking [candidate] (1.198 ms) : 0, 1198
BytebuddyAgent [baseline] (802.616 ms) : 0, 802616
BytebuddyAgent [candidate] (804.036 ms) : 0, 804036
AgentMeter [baseline] (11.347 ms) : 0, 11347
AgentMeter [candidate] (11.341 ms) : 0, 11341
GlobalTracer [baseline] (250.295 ms) : 0, 250295
GlobalTracer [candidate] (251.255 ms) : 0, 251255
AppSec [baseline] (32.508 ms) : 0, 32508
AppSec [candidate] (35.999 ms) : 0, 35999
Debugger [baseline] (68.967 ms) : 0, 68967
Debugger [candidate] (65.339 ms) : 0, 65339
Remote Config [baseline] (555.232 µs) : 0, 555
Remote Config [candidate] (551.598 µs) : 0, 552
Telemetry [baseline] (8.688 ms) : 0, 8688
Telemetry [candidate] (8.858 ms) : 0, 8858
Flare Poller [baseline] (3.469 ms) : 0, 3469
Flare Poller [candidate] (3.579 ms) : 0, 3579
IAST [baseline] (27.368 ms) : 0, 27368
IAST [candidate] (27.141 ms) : 0, 27141
section profiling
crashtracking [baseline] (1.216 ms) : 0, 1216
crashtracking [candidate] (1.205 ms) : 0, 1205
BytebuddyAgent [baseline] (681.741 ms) : 0, 681741
BytebuddyAgent [candidate] (683.253 ms) : 0, 683253
AgentMeter [baseline] (8.746 ms) : 0, 8746
AgentMeter [candidate] (8.801 ms) : 0, 8801
GlobalTracer [baseline] (216.144 ms) : 0, 216144
GlobalTracer [candidate] (216.051 ms) : 0, 216051
AppSec [baseline] (32.234 ms) : 0, 32234
AppSec [candidate] (32.342 ms) : 0, 32342
Debugger [baseline] (68.012 ms) : 0, 68012
Debugger [candidate] (67.729 ms) : 0, 67729
Remote Config [baseline] (596.009 µs) : 0, 596
Remote Config [candidate] (602.742 µs) : 0, 603
Telemetry [baseline] (8.895 ms) : 0, 8895
Telemetry [candidate] (8.938 ms) : 0, 8938
Flare Poller [baseline] (3.772 ms) : 0, 3772
Flare Poller [candidate] (3.772 ms) : 0, 3772
ProfilingAgent [baseline] (99.672 ms) : 0, 99672
ProfilingAgent [candidate] (99.599 ms) : 0, 99599
Profiling [baseline] (100.244 ms) : 0, 100244
Profiling [candidate] (100.173 ms) : 0, 100173
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master dougqh/server-decorator-entry-reuse
git_commit_date 1770386810 1770387644
git_commit_sha e036f8c e5e17bc
release_version 1.60.0-SNAPSHOT~e036f8ca99 1.59.0-SNAPSHOT~e5e17bcca5
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1770389862 1770389862
ci_job_id 1406327142 1406327142
ci_pipeline_id 95000314 95000314
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-pa07gsx6 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-pa07gsx6 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 4 performance improvements and 1 performance regressions! Performance is the same for 16 metrics, 15 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:high_load better
[-244.360µs; -157.290µs] or [-9.381%; -6.038%]
better
[-579.284µs; -245.304µs] or [-7.682%; -3.253%]
unstable
[-56.695op/s; +251.508op/s] or [-4.137%; +18.354%]
2.404ms 7.128ms 1467.750op/s 2.605ms 7.540ms 1370.344op/s
scenario:load:insecure-bank:iast_GLOBAL:high_load better
[-194.145µs; -62.305µs] or [-6.752%; -2.167%]
better
[-508.160µs; -168.486µs] or [-6.283%; -2.083%]
unstable
[-90.514op/s; +194.764op/s] or [-7.238%; +15.574%]
2.747ms 7.749ms 1302.656op/s 2.875ms 8.088ms 1250.531op/s
scenario:load:insecure-bank:iast_FULL:high_load worse
[+171.302µs; +544.255µs] or [+3.402%; +10.810%]
unsure
[+140.528µs; +1057.983µs] or [+1.165%; +8.773%]
unstable
[-125.233op/s; +44.046op/s] or [-15.495%; +5.450%]
5.392ms 12.659ms 767.625op/s 5.035ms 12.059ms 808.219op/s
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.59.0-SNAPSHOT~e5e17bcca5, baseline=1.60.0-SNAPSHOT~e036f8ca99
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.196 ms) : 1184, 1208
.   : milestone, 1196,
iast (3.342 ms) : 3296, 3387
.   : milestone, 3342,
iast_FULL (5.719 ms) : 5662, 5775
.   : milestone, 5719,
iast_GLOBAL (3.669 ms) : 3602, 3736
.   : milestone, 3669,
profiling (1.898 ms) : 1882, 1913
.   : milestone, 1898,
tracing (1.775 ms) : 1761, 1790
.   : milestone, 1775,
section candidate
no_agent (1.19 ms) : 1178, 1201
.   : milestone, 1190,
iast (3.114 ms) : 3073, 3155
.   : milestone, 3114,
iast_FULL (6.025 ms) : 5964, 6087
.   : milestone, 6025,
iast_GLOBAL (3.519 ms) : 3458, 3581
.   : milestone, 3519,
profiling (2.051 ms) : 2033, 2070
.   : milestone, 2051,
tracing (1.775 ms) : 1761, 1789
.   : milestone, 1775,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.196 ms [1.184 ms, 1.208 ms] -
iast 3.342 ms [3.296 ms, 3.387 ms] 2.146 ms (179.5%)
iast_FULL 5.719 ms [5.662 ms, 5.775 ms] 4.523 ms (378.2%)
iast_GLOBAL 3.669 ms [3.602 ms, 3.736 ms] 2.473 ms (206.8%)
profiling 1.898 ms [1.882 ms, 1.913 ms] 702.009 µs (58.7%)
tracing 1.775 ms [1.761 ms, 1.79 ms] 579.686 µs (48.5%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.19 ms [1.178 ms, 1.201 ms] -
iast 3.114 ms [3.073 ms, 3.155 ms] 1.925 ms (161.8%)
iast_FULL 6.025 ms [5.964 ms, 6.087 ms] 4.836 ms (406.5%)
iast_GLOBAL 3.519 ms [3.458 ms, 3.581 ms] 2.33 ms (195.8%)
profiling 2.051 ms [2.033 ms, 2.07 ms] 861.728 µs (72.4%)
tracing 1.775 ms [1.761 ms, 1.789 ms] 585.216 µs (49.2%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.59.0-SNAPSHOT~e5e17bcca5, baseline=1.60.0-SNAPSHOT~e036f8ca99
    dateFormat X
    axisFormat %s
section baseline
no_agent (18.569 ms) : 18376, 18763
.   : milestone, 18569,
appsec (18.658 ms) : 18466, 18850
.   : milestone, 18658,
code_origins (17.79 ms) : 17612, 17968
.   : milestone, 17790,
iast (17.514 ms) : 17341, 17687
.   : milestone, 17514,
profiling (18.628 ms) : 18444, 18813
.   : milestone, 18628,
tracing (17.698 ms) : 17519, 17876
.   : milestone, 17698,
section candidate
no_agent (19.336 ms) : 19137, 19534
.   : milestone, 19336,
appsec (18.868 ms) : 18677, 19059
.   : milestone, 18868,
code_origins (17.443 ms) : 17271, 17615
.   : milestone, 17443,
iast (17.635 ms) : 17462, 17809
.   : milestone, 17635,
profiling (18.502 ms) : 18318, 18686
.   : milestone, 18502,
tracing (17.547 ms) : 17372, 17721
.   : milestone, 17547,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 18.569 ms [18.376 ms, 18.763 ms] -
appsec 18.658 ms [18.466 ms, 18.85 ms] 88.823 µs (0.5%)
code_origins 17.79 ms [17.612 ms, 17.968 ms] -779.4 µs (-4.2%)
iast 17.514 ms [17.341 ms, 17.687 ms] -1.055 ms (-5.7%)
profiling 18.628 ms [18.444 ms, 18.813 ms] 58.8 µs (0.3%)
tracing 17.698 ms [17.519 ms, 17.876 ms] -871.442 µs (-4.7%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 19.336 ms [19.137 ms, 19.534 ms] -
appsec 18.868 ms [18.677 ms, 19.059 ms] -467.696 µs (-2.4%)
code_origins 17.443 ms [17.271 ms, 17.615 ms] -1.893 ms (-9.8%)
iast 17.635 ms [17.462 ms, 17.809 ms] -1.701 ms (-8.8%)
profiling 18.502 ms [18.318 ms, 18.686 ms] -833.981 µs (-4.3%)
tracing 17.547 ms [17.372 ms, 17.721 ms] -1.789 ms (-9.3%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master dougqh/server-decorator-entry-reuse
git_commit_date 1770386810 1770387644
git_commit_sha e036f8c e5e17bc
release_version 1.60.0-SNAPSHOT~e036f8ca99 1.59.0-SNAPSHOT~e5e17bcca5
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1770389565 1770389565
ci_job_id 1406327147 1406327147
ci_pipeline_id 95000314 95000314
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-hhmdvlh9 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-hhmdvlh9 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.59.0-SNAPSHOT~e5e17bcca5, baseline=1.60.0-SNAPSHOT~e036f8ca99
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.48 ms) : 1469, 1492
.   : milestone, 1480,
appsec (3.774 ms) : 3552, 3995
.   : milestone, 3774,
iast (2.25 ms) : 2181, 2319
.   : milestone, 2250,
iast_GLOBAL (2.309 ms) : 2240, 2379
.   : milestone, 2309,
profiling (2.108 ms) : 2052, 2165
.   : milestone, 2108,
tracing (2.064 ms) : 2011, 2118
.   : milestone, 2064,
section candidate
no_agent (1.472 ms) : 1461, 1484
.   : milestone, 1472,
appsec (3.811 ms) : 3586, 4036
.   : milestone, 3811,
iast (2.26 ms) : 2191, 2329
.   : milestone, 2260,
iast_GLOBAL (2.302 ms) : 2233, 2371
.   : milestone, 2302,
profiling (2.098 ms) : 2042, 2154
.   : milestone, 2098,
tracing (2.077 ms) : 2023, 2131
.   : milestone, 2077,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.48 ms [1.469 ms, 1.492 ms] -
appsec 3.774 ms [3.552 ms, 3.995 ms] 2.293 ms (154.9%)
iast 2.25 ms [2.181 ms, 2.319 ms] 769.768 µs (52.0%)
iast_GLOBAL 2.309 ms [2.24 ms, 2.379 ms] 828.764 µs (56.0%)
profiling 2.108 ms [2.052 ms, 2.165 ms] 628.099 µs (42.4%)
tracing 2.064 ms [2.011 ms, 2.118 ms] 583.952 µs (39.4%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.472 ms [1.461 ms, 1.484 ms] -
appsec 3.811 ms [3.586 ms, 4.036 ms] 2.339 ms (158.8%)
iast 2.26 ms [2.191 ms, 2.329 ms] 787.277 µs (53.5%)
iast_GLOBAL 2.302 ms [2.233 ms, 2.371 ms] 829.401 µs (56.3%)
profiling 2.098 ms [2.042 ms, 2.154 ms] 625.526 µs (42.5%)
tracing 2.077 ms [2.023 ms, 2.131 ms] 604.451 µs (41.0%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.59.0-SNAPSHOT~e5e17bcca5, baseline=1.60.0-SNAPSHOT~e036f8ca99
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.438 s) : 15438000, 15438000
.   : milestone, 15438000,
appsec (14.854 s) : 14854000, 14854000
.   : milestone, 14854000,
iast (18.534 s) : 18534000, 18534000
.   : milestone, 18534000,
iast_GLOBAL (18.161 s) : 18161000, 18161000
.   : milestone, 18161000,
profiling (15.068 s) : 15068000, 15068000
.   : milestone, 15068000,
tracing (14.598 s) : 14598000, 14598000
.   : milestone, 14598000,
section candidate
no_agent (15.15 s) : 15150000, 15150000
.   : milestone, 15150000,
appsec (14.762 s) : 14762000, 14762000
.   : milestone, 14762000,
iast (18.12 s) : 18120000, 18120000
.   : milestone, 18120000,
iast_GLOBAL (18.001 s) : 18001000, 18001000
.   : milestone, 18001000,
profiling (14.789 s) : 14789000, 14789000
.   : milestone, 14789000,
tracing (15.173 s) : 15173000, 15173000
.   : milestone, 15173000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.438 s [15.438 s, 15.438 s] -
appsec 14.854 s [14.854 s, 14.854 s] -584.0 ms (-3.8%)
iast 18.534 s [18.534 s, 18.534 s] 3.096 s (20.1%)
iast_GLOBAL 18.161 s [18.161 s, 18.161 s] 2.723 s (17.6%)
profiling 15.068 s [15.068 s, 15.068 s] -370.0 ms (-2.4%)
tracing 14.598 s [14.598 s, 14.598 s] -840.0 ms (-5.4%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.15 s [15.15 s, 15.15 s] -
appsec 14.762 s [14.762 s, 14.762 s] -388.0 ms (-2.6%)
iast 18.12 s [18.12 s, 18.12 s] 2.97 s (19.6%)
iast_GLOBAL 18.001 s [18.001 s, 18.001 s] 2.851 s (18.8%)
profiling 14.789 s [14.789 s, 14.789 s] -361.0 ms (-2.4%)
tracing 15.173 s [15.173 s, 15.173 s] 23.0 ms (0.2%)

Comment on lines +16 to +17
span.setTag(SPAN_KIND_ENTRY);
span.setTag(LANG_ENTRY);
Copy link
Contributor

Choose a reason for hiding this comment

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

issue: There are some tests failing e.g. in HttpServerDecoratorTest, but not only. This might be related to checked interactions using the usual key, value API.

Copy link
Contributor Author

@dougqh dougqh Feb 6, 2026

Choose a reason for hiding this comment

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

Yeah, it looks we have some overly strict mocking tests. I'll sort that out.

@ygree ygree changed the title Extracting into span kind & language into static TagMap.Entry objects Extracting span kind & language into static TagMap.Entry objects Feb 6, 2026
Copy link
Contributor

@ygree ygree left a comment

Choose a reason for hiding this comment

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

Looks good!

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

Labels

inst:servlet Servlet instrumentation tag: performance Performance related changes type: enhancement Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants