Skip to content

Avoid primitive boxing in v0.4 serializer#10408

Merged
dougqh merged 20 commits intomasterfrom
dougqh/v4-serializer-no-boxing
Jan 29, 2026
Merged

Avoid primitive boxing in v0.4 serializer#10408
dougqh merged 20 commits intomasterfrom
dougqh/v4-serializer-no-boxing

Conversation

@dougqh
Copy link
Contributor

@dougqh dougqh commented Jan 20, 2026

What Does This Do

Updates V0.4 serializer to use TagMap.EntryReader API to avoid boxing primitives

Motivation

Reduce allocation -> reduces garbage collection -> improves throughput predictability

Additional Notes

Builds on EntryReader API changes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

dougqh added 14 commits January 12, 2026 14:33
EntryIterator and EntryChangeIterator are arguably redundant
Fixed bug TagValueConversions.toBoolean
Could cause LegacyTagMap.EntryReader to produce incorrect answers to some queries

For simplicity, now treating Byte and Short as Integer.  That will make calling code doing primitive handling simpler.

Fleshing out tests -- more tests to come
Coverage for byte, short, float, and double
Updating the serializer to use TagMap traversal APIs.

By using new API, the serializer is now able to avoid boxing primitives when using OptimizedTagMap.
@dougqh dougqh added comp: core Tracer core tag: performance Performance related changes labels Jan 20, 2026
@dougqh dougqh requested a review from a team as a code owner January 20, 2026 18:58
@dougqh dougqh requested a review from ygree January 20, 2026 18:58
@github-actions
Copy link
Contributor

github-actions bot commented Jan 20, 2026

Hi! 👋 Thanks for your pull request! 🎉

To help us review it, please make sure to:

  • Add at least one type, and one component or instrumentation label to the pull request

If you need help, please check our contributing guidelines.

@pr-commenter
Copy link

pr-commenter bot commented Jan 20, 2026

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master dougqh/v4-serializer-no-boxing
git_commit_date 1769695745 1769695948
git_commit_sha 79e9174 e695a6b
release_version 1.59.0-SNAPSHOT~79e91742f4 1.59.0-SNAPSHOT~e695a6b54e
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1769697751 1769697751
ci_job_id 1386730034 1386730034
ci_pipeline_id 93536540 93536540
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-4ub9joya 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-4ub9joya 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 60 metrics, 11 unstable metrics.

Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.59.0-SNAPSHOT~e695a6b54e, baseline=1.59.0-SNAPSHOT~79e91742f4

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.067 s) : 0, 1067431
Total [baseline] (8.709 s) : 0, 8708531
Agent [candidate] (1.055 s) : 0, 1055012
Total [candidate] (8.687 s) : 0, 8686672
section iast
Agent [baseline] (1.227 s) : 0, 1227048
Total [baseline] (9.337 s) : 0, 9337274
Agent [candidate] (1.225 s) : 0, 1225462
Total [candidate] (9.407 s) : 0, 9407194
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.067 s -
Agent iast 1.227 s 159.616 ms (15.0%)
Total tracing 8.709 s -
Total iast 9.337 s 628.743 ms (7.2%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.055 s -
Agent iast 1.225 s 170.45 ms (16.2%)
Total tracing 8.687 s -
Total iast 9.407 s 720.522 ms (8.3%)
gantt
    title insecure-bank - break down per module: candidate=1.59.0-SNAPSHOT~e695a6b54e, baseline=1.59.0-SNAPSHOT~79e91742f4

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.195 ms) : 0, 1195
crashtracking [candidate] (1.177 ms) : 0, 1177
BytebuddyAgent [baseline] (628.205 ms) : 0, 628205
BytebuddyAgent [candidate] (622.428 ms) : 0, 622428
AgentMeter [baseline] (29.119 ms) : 0, 29119
AgentMeter [candidate] (28.719 ms) : 0, 28719
GlobalTracer [baseline] (258.749 ms) : 0, 258749
GlobalTracer [candidate] (257.335 ms) : 0, 257335
AppSec [baseline] (33.084 ms) : 0, 33084
AppSec [candidate] (32.953 ms) : 0, 32953
Debugger [baseline] (62.351 ms) : 0, 62351
Debugger [candidate] (63.047 ms) : 0, 63047
Remote Config [baseline] (648.178 µs) : 0, 648
Remote Config [candidate] (669.427 µs) : 0, 669
Telemetry [baseline] (10.786 ms) : 0, 10786
Telemetry [candidate] (8.925 ms) : 0, 8925
Flare Poller [baseline] (7.671 ms) : 0, 7671
Flare Poller [candidate] (4.522 ms) : 0, 4522
section iast
crashtracking [baseline] (1.19 ms) : 0, 1190
crashtracking [candidate] (1.176 ms) : 0, 1176
BytebuddyAgent [baseline] (791.475 ms) : 0, 791475
BytebuddyAgent [candidate] (789.712 ms) : 0, 789712
AgentMeter [baseline] (11.134 ms) : 0, 11134
AgentMeter [candidate] (11.133 ms) : 0, 11133
GlobalTracer [baseline] (248.406 ms) : 0, 248406
GlobalTracer [candidate] (247.985 ms) : 0, 247985
IAST [baseline] (26.921 ms) : 0, 26921
IAST [candidate] (26.852 ms) : 0, 26852
AppSec [baseline] (33.799 ms) : 0, 33799
AppSec [candidate] (34.054 ms) : 0, 34054
Debugger [baseline] (66.102 ms) : 0, 66102
Debugger [candidate] (66.474 ms) : 0, 66474
Remote Config [baseline] (554.348 µs) : 0, 554
Remote Config [candidate] (555.497 µs) : 0, 555
Telemetry [baseline] (8.545 ms) : 0, 8545
Telemetry [candidate] (8.659 ms) : 0, 8659
Flare Poller [baseline] (3.475 ms) : 0, 3475
Flare Poller [candidate] (3.527 ms) : 0, 3527
Loading
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.59.0-SNAPSHOT~e695a6b54e, baseline=1.59.0-SNAPSHOT~79e91742f4

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.063 s) : 0, 1062986
Total [baseline] (10.966 s) : 0, 10965994
Agent [candidate] (1.059 s) : 0, 1058728
Total [candidate] (10.937 s) : 0, 10936934
section appsec
Agent [baseline] (1.232 s) : 0, 1231933
Total [baseline] (11.003 s) : 0, 11002934
Agent [candidate] (1.238 s) : 0, 1238355
Total [candidate] (10.994 s) : 0, 10994269
section iast
Agent [baseline] (1.223 s) : 0, 1223355
Total [baseline] (11.122 s) : 0, 11122019
Agent [candidate] (1.232 s) : 0, 1232480
Total [candidate] (11.187 s) : 0, 11187080
section profiling
Agent [baseline] (1.189 s) : 0, 1189058
Total [baseline] (10.815 s) : 0, 10814678
Agent [candidate] (1.182 s) : 0, 1182487
Total [candidate] (10.828 s) : 0, 10827871
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.063 s -
Agent appsec 1.232 s 168.947 ms (15.9%)
Agent iast 1.223 s 160.369 ms (15.1%)
Agent profiling 1.189 s 126.071 ms (11.9%)
Total tracing 10.966 s -
Total appsec 11.003 s 36.94 ms (0.3%)
Total iast 11.122 s 156.025 ms (1.4%)
Total profiling 10.815 s -151.316 ms (-1.4%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.059 s -
Agent appsec 1.238 s 179.627 ms (17.0%)
Agent iast 1.232 s 173.752 ms (16.4%)
Agent profiling 1.182 s 123.759 ms (11.7%)
Total tracing 10.937 s -
Total appsec 10.994 s 57.335 ms (0.5%)
Total iast 11.187 s 250.145 ms (2.3%)
Total profiling 10.828 s -109.064 ms (-1.0%)
gantt
    title petclinic - break down per module: candidate=1.59.0-SNAPSHOT~e695a6b54e, baseline=1.59.0-SNAPSHOT~79e91742f4

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.193 ms) : 0, 1193
crashtracking [candidate] (1.177 ms) : 0, 1177
BytebuddyAgent [baseline] (627.67 ms) : 0, 627670
BytebuddyAgent [candidate] (624.021 ms) : 0, 624021
AgentMeter [baseline] (28.735 ms) : 0, 28735
AgentMeter [candidate] (28.694 ms) : 0, 28694
GlobalTracer [baseline] (257.243 ms) : 0, 257243
GlobalTracer [candidate] (257.852 ms) : 0, 257852
AppSec [baseline] (33.146 ms) : 0, 33146
AppSec [candidate] (32.989 ms) : 0, 32989
Debugger [baseline] (61.908 ms) : 0, 61908
Debugger [candidate] (61.105 ms) : 0, 61105
Remote Config [baseline] (645.487 µs) : 0, 645
Remote Config [candidate] (622.024 µs) : 0, 622
Telemetry [baseline] (9.99 ms) : 0, 9990
Telemetry [candidate] (9.93 ms) : 0, 9930
Flare Poller [baseline] (6.871 ms) : 0, 6871
Flare Poller [candidate] (6.86 ms) : 0, 6860
section appsec
crashtracking [baseline] (1.174 ms) : 0, 1174
crashtracking [candidate] (1.188 ms) : 0, 1188
BytebuddyAgent [baseline] (652.301 ms) : 0, 652301
BytebuddyAgent [candidate] (655.503 ms) : 0, 655503
AgentMeter [baseline] (11.824 ms) : 0, 11824
AgentMeter [candidate] (11.906 ms) : 0, 11906
GlobalTracer [baseline] (257.721 ms) : 0, 257721
GlobalTracer [candidate] (259.149 ms) : 0, 259149
IAST [baseline] (25.329 ms) : 0, 25329
IAST [candidate] (25.562 ms) : 0, 25562
AppSec [baseline] (167.092 ms) : 0, 167092
AppSec [candidate] (168.097 ms) : 0, 168097
Debugger [baseline] (67.617 ms) : 0, 67617
Debugger [candidate] (67.92 ms) : 0, 67920
Remote Config [baseline] (664.687 µs) : 0, 665
Remote Config [candidate] (686.097 µs) : 0, 686
Telemetry [baseline] (9.222 ms) : 0, 9222
Telemetry [candidate] (9.315 ms) : 0, 9315
Flare Poller [baseline] (3.625 ms) : 0, 3625
Flare Poller [candidate] (3.64 ms) : 0, 3640
section iast
crashtracking [baseline] (1.185 ms) : 0, 1185
crashtracking [candidate] (1.183 ms) : 0, 1183
BytebuddyAgent [baseline] (788.622 ms) : 0, 788622
BytebuddyAgent [candidate] (794.797 ms) : 0, 794797
AgentMeter [baseline] (11.122 ms) : 0, 11122
AgentMeter [candidate] (11.404 ms) : 0, 11404
GlobalTracer [baseline] (247.677 ms) : 0, 247677
GlobalTracer [candidate] (248.898 ms) : 0, 248898
IAST [baseline] (26.743 ms) : 0, 26743
IAST [candidate] (27.009 ms) : 0, 27009
AppSec [baseline] (32.111 ms) : 0, 32111
AppSec [candidate] (33.158 ms) : 0, 33158
Debugger [baseline] (68.108 ms) : 0, 68108
Debugger [candidate] (67.985 ms) : 0, 67985
Remote Config [baseline] (542.971 µs) : 0, 543
Remote Config [candidate] (557.823 µs) : 0, 558
Telemetry [baseline] (8.484 ms) : 0, 8484
Telemetry [candidate] (8.512 ms) : 0, 8512
Flare Poller [baseline] (3.465 ms) : 0, 3465
Flare Poller [candidate] (3.499 ms) : 0, 3499
section profiling
crashtracking [baseline] (1.214 ms) : 0, 1214
crashtracking [candidate] (1.215 ms) : 0, 1215
BytebuddyAgent [baseline] (679.517 ms) : 0, 679517
BytebuddyAgent [candidate] (674.804 ms) : 0, 674804
AgentMeter [baseline] (8.664 ms) : 0, 8664
AgentMeter [candidate] (8.583 ms) : 0, 8583
GlobalTracer [baseline] (217.382 ms) : 0, 217382
GlobalTracer [candidate] (216.141 ms) : 0, 216141
AppSec [baseline] (32.505 ms) : 0, 32505
AppSec [candidate] (32.222 ms) : 0, 32222
Debugger [baseline] (67.768 ms) : 0, 67768
Debugger [candidate] (67.573 ms) : 0, 67573
Remote Config [baseline] (594.71 µs) : 0, 595
Remote Config [candidate] (577.983 µs) : 0, 578
Telemetry [baseline] (8.696 ms) : 0, 8696
Telemetry [candidate] (8.701 ms) : 0, 8701
Flare Poller [baseline] (3.762 ms) : 0, 3762
Flare Poller [candidate] (3.784 ms) : 0, 3784
ProfilingAgent [baseline] (98.756 ms) : 0, 98756
ProfilingAgent [candidate] (99.178 ms) : 0, 99178
Profiling [baseline] (99.318 ms) : 0, 99318
Profiling [candidate] (99.753 ms) : 0, 99753
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master dougqh/v4-serializer-no-boxing
git_commit_date 1769695745 1769695948
git_commit_sha 79e9174 e695a6b
release_version 1.59.0-SNAPSHOT~79e91742f4 1.59.0-SNAPSHOT~e695a6b54e
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1769698259 1769698259
ci_job_id 1386730036 1386730036
ci_pipeline_id 93536540 93536540
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-kw96zmn2 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-kw96zmn2 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 2 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 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
[+65.574µs; +232.386µs] or [+2.473%; +8.764%]
unsure
[+73.129µs; +572.902µs] or [+0.957%; +7.496%]
unstable
[-234.081op/s; +72.268op/s] or [-17.357%; +5.359%]
2.801ms 7.966ms 1267.688op/s 2.652ms 7.643ms 1348.594op/s
scenario:load:petclinic:profiling:high_load worse
[+0.905ms; +1.690ms] or [+4.986%; +9.310%]
unsure
[+328.131µs; +1650.136µs] or [+1.102%; +5.540%]
unstable
[-36.138op/s; +11.263op/s] or [-14.396%; +4.487%]
19.448ms 30.775ms 238.594op/s 18.150ms 29.786ms 251.031op/s
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.59.0-SNAPSHOT~e695a6b54e, baseline=1.59.0-SNAPSHOT~79e91742f4
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.194 ms) : 1182, 1206
.   : milestone, 1194,
iast (3.294 ms) : 3250, 3339
.   : milestone, 3294,
iast_FULL (5.873 ms) : 5814, 5933
.   : milestone, 5873,
iast_GLOBAL (3.395 ms) : 3349, 3441
.   : milestone, 3395,
profiling (2.156 ms) : 2137, 2175
.   : milestone, 2156,
tracing (1.816 ms) : 1800, 1833
.   : milestone, 1816,
section candidate
no_agent (1.183 ms) : 1171, 1195
.   : milestone, 1183,
iast (3.29 ms) : 3243, 3338
.   : milestone, 3290,
iast_FULL (5.939 ms) : 5879, 5998
.   : milestone, 5939,
iast_GLOBAL (3.618 ms) : 3551, 3685
.   : milestone, 3618,
profiling (2.236 ms) : 2216, 2256
.   : milestone, 2236,
tracing (1.82 ms) : 1805, 1836
.   : milestone, 1820,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.194 ms [1.182 ms, 1.206 ms] -
iast 3.294 ms [3.25 ms, 3.339 ms] 2.1 ms (175.8%)
iast_FULL 5.873 ms [5.814 ms, 5.933 ms] 4.679 ms (391.7%)
iast_GLOBAL 3.395 ms [3.349 ms, 3.441 ms] 2.201 ms (184.2%)
profiling 2.156 ms [2.137 ms, 2.175 ms] 961.492 µs (80.5%)
tracing 1.816 ms [1.8 ms, 1.833 ms] 621.882 µs (52.1%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.183 ms [1.171 ms, 1.195 ms] -
iast 3.29 ms [3.243 ms, 3.338 ms] 2.108 ms (178.2%)
iast_FULL 5.939 ms [5.879 ms, 5.998 ms] 4.756 ms (402.1%)
iast_GLOBAL 3.618 ms [3.551 ms, 3.685 ms] 2.435 ms (205.9%)
profiling 2.236 ms [2.216 ms, 2.256 ms] 1.053 ms (89.0%)
tracing 1.82 ms [1.805 ms, 1.836 ms] 637.348 µs (53.9%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.59.0-SNAPSHOT~e695a6b54e, baseline=1.59.0-SNAPSHOT~79e91742f4
    dateFormat X
    axisFormat %s
section baseline
no_agent (19.09 ms) : 18893, 19287
.   : milestone, 19090,
appsec (18.739 ms) : 18552, 18925
.   : milestone, 18739,
code_origins (17.583 ms) : 17406, 17761
.   : milestone, 17583,
iast (17.636 ms) : 17460, 17813
.   : milestone, 17636,
profiling (18.59 ms) : 18405, 18774
.   : milestone, 18590,
tracing (17.571 ms) : 17397, 17746
.   : milestone, 17571,
section candidate
no_agent (19.253 ms) : 19057, 19449
.   : milestone, 19253,
appsec (18.568 ms) : 18381, 18755
.   : milestone, 18568,
code_origins (17.753 ms) : 17576, 17931
.   : milestone, 17753,
iast (17.7 ms) : 17521, 17879
.   : milestone, 17700,
profiling (19.569 ms) : 19372, 19767
.   : milestone, 19569,
tracing (17.795 ms) : 17617, 17973
.   : milestone, 17795,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 19.09 ms [18.893 ms, 19.287 ms] -
appsec 18.739 ms [18.552 ms, 18.925 ms] -351.231 µs (-1.8%)
code_origins 17.583 ms [17.406 ms, 17.761 ms] -1.507 ms (-7.9%)
iast 17.636 ms [17.46 ms, 17.813 ms] -1.454 ms (-7.6%)
profiling 18.59 ms [18.405 ms, 18.774 ms] -500.484 µs (-2.6%)
tracing 17.571 ms [17.397 ms, 17.746 ms] -1.519 ms (-8.0%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 19.253 ms [19.057 ms, 19.449 ms] -
appsec 18.568 ms [18.381 ms, 18.755 ms] -685.142 µs (-3.6%)
code_origins 17.753 ms [17.576 ms, 17.931 ms] -1.5 ms (-7.8%)
iast 17.7 ms [17.521 ms, 17.879 ms] -1.553 ms (-8.1%)
profiling 19.569 ms [19.372 ms, 19.767 ms] 316.338 µs (1.6%)
tracing 17.795 ms [17.617 ms, 17.973 ms] -1.458 ms (-7.6%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master dougqh/v4-serializer-no-boxing
git_commit_date 1769695745 1769695948
git_commit_sha 79e9174 e695a6b
release_version 1.59.0-SNAPSHOT~79e91742f4 1.59.0-SNAPSHOT~e695a6b54e
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1769697997 1769697997
ci_job_id 1386730039 1386730039
ci_pipeline_id 93536540 93536540
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-uu8fy7m5 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-uu8fy7m5 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 10 metrics, 2 unstable metrics.

Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.59.0-SNAPSHOT~e695a6b54e, baseline=1.59.0-SNAPSHOT~79e91742f4
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.586 s) : 15586000, 15586000
.   : milestone, 15586000,
appsec (15.027 s) : 15027000, 15027000
.   : milestone, 15027000,
iast (18.278 s) : 18278000, 18278000
.   : milestone, 18278000,
iast_GLOBAL (18.054 s) : 18054000, 18054000
.   : milestone, 18054000,
profiling (15.706 s) : 15706000, 15706000
.   : milestone, 15706000,
tracing (14.805 s) : 14805000, 14805000
.   : milestone, 14805000,
section candidate
no_agent (15.527 s) : 15527000, 15527000
.   : milestone, 15527000,
appsec (14.755 s) : 14755000, 14755000
.   : milestone, 14755000,
iast (18.116 s) : 18116000, 18116000
.   : milestone, 18116000,
iast_GLOBAL (17.924 s) : 17924000, 17924000
.   : milestone, 17924000,
profiling (14.866 s) : 14866000, 14866000
.   : milestone, 14866000,
tracing (14.774 s) : 14774000, 14774000
.   : milestone, 14774000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.586 s [15.586 s, 15.586 s] -
appsec 15.027 s [15.027 s, 15.027 s] -559.0 ms (-3.6%)
iast 18.278 s [18.278 s, 18.278 s] 2.692 s (17.3%)
iast_GLOBAL 18.054 s [18.054 s, 18.054 s] 2.468 s (15.8%)
profiling 15.706 s [15.706 s, 15.706 s] 120.0 ms (0.8%)
tracing 14.805 s [14.805 s, 14.805 s] -781.0 ms (-5.0%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.527 s [15.527 s, 15.527 s] -
appsec 14.755 s [14.755 s, 14.755 s] -772.0 ms (-5.0%)
iast 18.116 s [18.116 s, 18.116 s] 2.589 s (16.7%)
iast_GLOBAL 17.924 s [17.924 s, 17.924 s] 2.397 s (15.4%)
profiling 14.866 s [14.866 s, 14.866 s] -661.0 ms (-4.3%)
tracing 14.774 s [14.774 s, 14.774 s] -753.0 ms (-4.8%)
Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.59.0-SNAPSHOT~e695a6b54e, baseline=1.59.0-SNAPSHOT~79e91742f4
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.48 ms) : 1468, 1491
.   : milestone, 1480,
appsec (3.719 ms) : 3500, 3937
.   : milestone, 3719,
iast (2.269 ms) : 2199, 2338
.   : milestone, 2269,
iast_GLOBAL (2.304 ms) : 2234, 2374
.   : milestone, 2304,
profiling (2.518 ms) : 2351, 2684
.   : milestone, 2518,
tracing (2.073 ms) : 2019, 2126
.   : milestone, 2073,
section candidate
no_agent (1.475 ms) : 1463, 1486
.   : milestone, 1475,
appsec (3.78 ms) : 3557, 4003
.   : milestone, 3780,
iast (2.265 ms) : 2196, 2335
.   : milestone, 2265,
iast_GLOBAL (2.306 ms) : 2236, 2376
.   : milestone, 2306,
profiling (2.111 ms) : 2054, 2167
.   : milestone, 2111,
tracing (2.078 ms) : 2024, 2132
.   : milestone, 2078,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.48 ms [1.468 ms, 1.491 ms] -
appsec 3.719 ms [3.5 ms, 3.937 ms] 2.239 ms (151.3%)
iast 2.269 ms [2.199 ms, 2.338 ms] 789.039 µs (53.3%)
iast_GLOBAL 2.304 ms [2.234 ms, 2.374 ms] 824.247 µs (55.7%)
profiling 2.518 ms [2.351 ms, 2.684 ms] 1.038 ms (70.1%)
tracing 2.073 ms [2.019 ms, 2.126 ms] 593.086 µs (40.1%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.475 ms [1.463 ms, 1.486 ms] -
appsec 3.78 ms [3.557 ms, 4.003 ms] 2.305 ms (156.3%)
iast 2.265 ms [2.196 ms, 2.335 ms] 790.459 µs (53.6%)
iast_GLOBAL 2.306 ms [2.236 ms, 2.376 ms] 830.939 µs (56.3%)
profiling 2.111 ms [2.054 ms, 2.167 ms] 635.898 µs (43.1%)
tracing 2.078 ms [2.024 ms, 2.132 ms] 603.603 µs (40.9%)

@bric3 bric3 self-requested a review January 21, 2026 14:37
@bric3 bric3 changed the base branch from master to dougqh/tagmap-entryreader January 21, 2026 16:24
Copy link
Contributor

@bric3 bric3 left a comment

Choose a reason for hiding this comment

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

This LGTM code wise, but the test job failures are intriguing.

By the way I changed the base branch to ease review, since it's based on top #10408.

By any chance do you have jmh tests ?

Image

@ygree
Copy link
Contributor

ygree commented Jan 27, 2026

@codex review

@chatgpt-codex-connector
Copy link

To use Codex here, create a Codex account and connect to github.

Base automatically changed from dougqh/tagmap-entryreader to master January 28, 2026 21:20
@dougqh dougqh added the type: enhancement Enhancements and improvements label Jan 29, 2026
@dougqh dougqh enabled auto-merge (squash) January 29, 2026 14:10
@dougqh dougqh merged commit a59aaba into master Jan 29, 2026
545 checks passed
@dougqh dougqh deleted the dougqh/v4-serializer-no-boxing branch January 29, 2026 15:02
@github-actions github-actions bot added this to the 1.59.0 milestone Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: core Tracer core 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