Skip to content

Changing traceSource to volatile rather than an AtomicInteger#10614

Open
dougqh wants to merge 2 commits intomasterfrom
dougqh/optimize-ptags
Open

Changing traceSource to volatile rather than an AtomicInteger#10614
dougqh wants to merge 2 commits intomasterfrom
dougqh/optimize-ptags

Conversation

@dougqh
Copy link
Contributor

@dougqh dougqh commented Feb 17, 2026

What Does This Do

This avoids allocating an AtomicInteger for every PTagsFactory. The concurrency needs are met through an AtomicFieldUpdater.

Motivation

In microbenchmarks, the AtomicFieldUpdater appears to perform the same or better with lower memory overhead.

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.

This avoids allocated an AtomicInteger for every PTagsFactory.
The concurrency needs are met through an AtomicFieldUpdater.

In benchmarks, the AtomicFieldUpdater appears the same or better with lower memory overhead.
@dougqh dougqh added the type: enhancement Enhancements and improvements label Feb 17, 2026
@dougqh dougqh requested a review from a team as a code owner February 17, 2026 20:35
@dougqh dougqh added tag: performance Performance related changes comp: context propagation Trace context propagation labels Feb 17, 2026
@dougqh dougqh requested review from mtoffl01 and removed request for a team February 17, 2026 20:35
Copy link
Contributor

@mcculls mcculls left a comment

Choose a reason for hiding this comment

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

Nice - this is a common pattern it would be good to have a rule for :)

i.e. when there are lots of instances prefer AtomicIntegerFieldUpdater + volatile int over AtomicInteger

@dougqh
Copy link
Contributor Author

dougqh commented Feb 17, 2026

Nice - this is a common pattern it would be good to have a rule for :)

i.e. when there are lots of instances prefer AtomicIntegerFieldUpdater + volatile int over AtomicInteger

Yes, agreed.

@pr-commenter
Copy link

pr-commenter bot commented Feb 17, 2026

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master dougqh/optimize-ptags
git_commit_date 1771357015 1771361103
git_commit_sha 7f66c79 865e05a
release_version 1.60.0-SNAPSHOT~7f66c79293 1.60.0-SNAPSHOT~865e05ae12
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1771362957 1771362957
ci_job_id 1433388380 1433388380
ci_pipeline_id 97045315 97045315
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-up2l70ft 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-up2l70ft 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.60.0-SNAPSHOT~865e05ae12, baseline=1.60.0-SNAPSHOT~7f66c79293

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.075 s) : 0, 1074875
Total [baseline] (8.759 s) : 0, 8758898
Agent [candidate] (1.062 s) : 0, 1062460
Total [candidate] (8.747 s) : 0, 8747162
section iast
Agent [baseline] (1.232 s) : 0, 1231656
Total [baseline] (9.387 s) : 0, 9386759
Agent [candidate] (1.233 s) : 0, 1232617
Total [candidate] (9.367 s) : 0, 9366517
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.075 s -
Agent iast 1.232 s 156.781 ms (14.6%)
Total tracing 8.759 s -
Total iast 9.387 s 627.862 ms (7.2%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.062 s -
Agent iast 1.233 s 170.157 ms (16.0%)
Total tracing 8.747 s -
Total iast 9.367 s 619.355 ms (7.1%)
gantt
    title insecure-bank - break down per module: candidate=1.60.0-SNAPSHOT~865e05ae12, baseline=1.60.0-SNAPSHOT~7f66c79293

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.204 ms) : 0, 1204
crashtracking [candidate] (1.194 ms) : 0, 1194
BytebuddyAgent [baseline] (634.759 ms) : 0, 634759
BytebuddyAgent [candidate] (629.415 ms) : 0, 629415
AgentMeter [baseline] (29.248 ms) : 0, 29248
AgentMeter [candidate] (29.143 ms) : 0, 29143
GlobalTracer [baseline] (259.262 ms) : 0, 259262
GlobalTracer [candidate] (257.48 ms) : 0, 257480
AppSec [baseline] (33.328 ms) : 0, 33328
AppSec [candidate] (32.867 ms) : 0, 32867
Debugger [baseline] (62.172 ms) : 0, 62172
Debugger [candidate] (61.872 ms) : 0, 61872
Remote Config [baseline] (636.247 µs) : 0, 636
Remote Config [candidate] (616.534 µs) : 0, 617
Telemetry [baseline] (14.049 ms) : 0, 14049
Telemetry [candidate] (9.923 ms) : 0, 9923
Flare Poller [baseline] (4.573 ms) : 0, 4573
Flare Poller [candidate] (4.592 ms) : 0, 4592
section iast
crashtracking [baseline] (1.181 ms) : 0, 1181
crashtracking [candidate] (1.204 ms) : 0, 1204
BytebuddyAgent [baseline] (796.045 ms) : 0, 796045
BytebuddyAgent [candidate] (796.869 ms) : 0, 796869
AgentMeter [baseline] (11.295 ms) : 0, 11295
AgentMeter [candidate] (11.277 ms) : 0, 11277
GlobalTracer [baseline] (248.357 ms) : 0, 248357
GlobalTracer [candidate] (248.419 ms) : 0, 248419
AppSec [baseline] (33.243 ms) : 0, 33243
AppSec [candidate] (32.989 ms) : 0, 32989
Debugger [baseline] (66.626 ms) : 0, 66626
Debugger [candidate] (66.803 ms) : 0, 66803
Remote Config [baseline] (532.956 µs) : 0, 533
Remote Config [candidate] (535.046 µs) : 0, 535
Telemetry [baseline] (8.62 ms) : 0, 8620
Telemetry [candidate] (8.57 ms) : 0, 8570
Flare Poller [baseline] (3.485 ms) : 0, 3485
Flare Poller [candidate] (3.47 ms) : 0, 3470
IAST [baseline] (26.932 ms) : 0, 26932
IAST [candidate] (27.181 ms) : 0, 27181
Loading
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.60.0-SNAPSHOT~865e05ae12, baseline=1.60.0-SNAPSHOT~7f66c79293

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.07 s) : 0, 1070240
Total [baseline] (10.897 s) : 0, 10896548
Agent [candidate] (1.069 s) : 0, 1069250
Total [candidate] (10.934 s) : 0, 10933506
section appsec
Agent [baseline] (1.248 s) : 0, 1248216
Total [baseline] (11.085 s) : 0, 11085268
Agent [candidate] (1.239 s) : 0, 1238632
Total [candidate] (11.07 s) : 0, 11069577
section iast
Agent [baseline] (1.236 s) : 0, 1236002
Total [baseline] (11.272 s) : 0, 11272247
Agent [candidate] (1.236 s) : 0, 1235738
Total [candidate] (11.238 s) : 0, 11238171
section profiling
Agent [baseline] (1.19 s) : 0, 1190032
Total [baseline] (10.895 s) : 0, 10894898
Agent [candidate] (1.199 s) : 0, 1198824
Total [candidate] (10.96 s) : 0, 10960020
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.07 s -
Agent appsec 1.248 s 177.975 ms (16.6%)
Agent iast 1.236 s 165.761 ms (15.5%)
Agent profiling 1.19 s 119.791 ms (11.2%)
Total tracing 10.897 s -
Total appsec 11.085 s 188.72 ms (1.7%)
Total iast 11.272 s 375.699 ms (3.4%)
Total profiling 10.895 s -1.649 ms (-0.0%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.069 s -
Agent appsec 1.239 s 169.382 ms (15.8%)
Agent iast 1.236 s 166.488 ms (15.6%)
Agent profiling 1.199 s 129.574 ms (12.1%)
Total tracing 10.934 s -
Total appsec 11.07 s 136.071 ms (1.2%)
Total iast 11.238 s 304.664 ms (2.8%)
Total profiling 10.96 s 26.514 ms (0.2%)
gantt
    title petclinic - break down per module: candidate=1.60.0-SNAPSHOT~865e05ae12, baseline=1.60.0-SNAPSHOT~7f66c79293

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.178 ms) : 0, 1178
crashtracking [candidate] (1.197 ms) : 0, 1197
BytebuddyAgent [baseline] (630.472 ms) : 0, 630472
BytebuddyAgent [candidate] (632.753 ms) : 0, 632753
AgentMeter [baseline] (29.327 ms) : 0, 29327
AgentMeter [candidate] (29.166 ms) : 0, 29166
GlobalTracer [baseline] (259.125 ms) : 0, 259125
GlobalTracer [candidate] (258.639 ms) : 0, 258639
AppSec [baseline] (33.306 ms) : 0, 33306
AppSec [candidate] (33.117 ms) : 0, 33117
Debugger [baseline] (63.595 ms) : 0, 63595
Debugger [candidate] (64.417 ms) : 0, 64417
Remote Config [baseline] (643.387 µs) : 0, 643
Remote Config [candidate] (613.54 µs) : 0, 614
Telemetry [baseline] (11.624 ms) : 0, 11624
Telemetry [candidate] (9.966 ms) : 0, 9966
Flare Poller [baseline] (5.474 ms) : 0, 5474
Flare Poller [candidate] (3.838 ms) : 0, 3838
section appsec
crashtracking [baseline] (1.194 ms) : 0, 1194
crashtracking [candidate] (1.174 ms) : 0, 1174
BytebuddyAgent [baseline] (663.434 ms) : 0, 663434
BytebuddyAgent [candidate] (657.38 ms) : 0, 657380
AgentMeter [baseline] (12.048 ms) : 0, 12048
AgentMeter [candidate] (11.964 ms) : 0, 11964
GlobalTracer [baseline] (259.823 ms) : 0, 259823
GlobalTracer [candidate] (257.87 ms) : 0, 257870
AppSec [baseline] (168.908 ms) : 0, 168908
AppSec [candidate] (167.996 ms) : 0, 167996
Debugger [baseline] (67.784 ms) : 0, 67784
Debugger [candidate] (67.427 ms) : 0, 67427
Remote Config [baseline] (657.509 µs) : 0, 658
Remote Config [candidate] (660.293 µs) : 0, 660
Telemetry [baseline] (9.646 ms) : 0, 9646
Telemetry [candidate] (9.73 ms) : 0, 9730
Flare Poller [baseline] (3.729 ms) : 0, 3729
Flare Poller [candidate] (3.806 ms) : 0, 3806
IAST [baseline] (25.471 ms) : 0, 25471
IAST [candidate] (25.3 ms) : 0, 25300
section iast
crashtracking [baseline] (1.173 ms) : 0, 1173
crashtracking [candidate] (1.181 ms) : 0, 1181
BytebuddyAgent [baseline] (797.7 ms) : 0, 797700
BytebuddyAgent [candidate] (796.936 ms) : 0, 796936
AgentMeter [baseline] (11.264 ms) : 0, 11264
AgentMeter [candidate] (11.286 ms) : 0, 11286
GlobalTracer [baseline] (248.915 ms) : 0, 248915
GlobalTracer [candidate] (249.113 ms) : 0, 249113
AppSec [baseline] (33.079 ms) : 0, 33079
AppSec [candidate] (33.292 ms) : 0, 33292
Debugger [baseline] (68.753 ms) : 0, 68753
Debugger [candidate] (68.288 ms) : 0, 68288
Remote Config [baseline] (548.692 µs) : 0, 549
Remote Config [candidate] (545.339 µs) : 0, 545
Telemetry [baseline] (8.636 ms) : 0, 8636
Telemetry [candidate] (8.694 ms) : 0, 8694
Flare Poller [baseline] (3.466 ms) : 0, 3466
Flare Poller [candidate] (3.56 ms) : 0, 3560
IAST [baseline] (27.074 ms) : 0, 27074
IAST [candidate] (27.453 ms) : 0, 27453
section profiling
crashtracking [baseline] (1.207 ms) : 0, 1207
crashtracking [candidate] (1.224 ms) : 0, 1224
BytebuddyAgent [baseline] (681.414 ms) : 0, 681414
BytebuddyAgent [candidate] (687.286 ms) : 0, 687286
AgentMeter [baseline] (8.625 ms) : 0, 8625
AgentMeter [candidate] (8.697 ms) : 0, 8697
GlobalTracer [baseline] (215.731 ms) : 0, 215731
GlobalTracer [candidate] (217.03 ms) : 0, 217030
AppSec [baseline] (32.82 ms) : 0, 32820
AppSec [candidate] (32.956 ms) : 0, 32956
Debugger [baseline] (67.548 ms) : 0, 67548
Debugger [candidate] (68.344 ms) : 0, 68344
Remote Config [baseline] (633.723 µs) : 0, 634
Remote Config [candidate] (638.589 µs) : 0, 639
Telemetry [baseline] (8.989 ms) : 0, 8989
Telemetry [candidate] (8.972 ms) : 0, 8972
Flare Poller [baseline] (3.799 ms) : 0, 3799
Flare Poller [candidate] (3.741 ms) : 0, 3741
ProfilingAgent [baseline] (99.349 ms) : 0, 99349
ProfilingAgent [candidate] (99.509 ms) : 0, 99509
Profiling [baseline] (99.918 ms) : 0, 99918
Profiling [candidate] (100.08 ms) : 0, 100080
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master dougqh/optimize-ptags
git_commit_date 1771357015 1771361103
git_commit_sha 7f66c79 865e05a
release_version 1.60.0-SNAPSHOT~7f66c79293 1.60.0-SNAPSHOT~865e05ae12
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1771363445 1771363445
ci_job_id 1433388383 1433388383
ci_pipeline_id 97045315 97045315
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-3-93bnlgk9 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-3-93bnlgk9 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 20 metrics, 16 unstable metrics.

Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.60.0-SNAPSHOT~865e05ae12, baseline=1.60.0-SNAPSHOT~7f66c79293
    dateFormat X
    axisFormat %s
section baseline
no_agent (19.013 ms) : 18814, 19212
.   : milestone, 19013,
appsec (18.634 ms) : 18444, 18823
.   : milestone, 18634,
code_origins (17.543 ms) : 17367, 17718
.   : milestone, 17543,
iast (17.82 ms) : 17638, 18002
.   : milestone, 17820,
profiling (19.487 ms) : 19287, 19687
.   : milestone, 19487,
tracing (17.98 ms) : 17798, 18162
.   : milestone, 17980,
section candidate
no_agent (19.227 ms) : 19030, 19425
.   : milestone, 19227,
appsec (18.822 ms) : 18632, 19013
.   : milestone, 18822,
code_origins (17.508 ms) : 17334, 17683
.   : milestone, 17508,
iast (17.71 ms) : 17533, 17887
.   : milestone, 17710,
profiling (18.61 ms) : 18428, 18791
.   : milestone, 18610,
tracing (18.311 ms) : 18130, 18493
.   : milestone, 18311,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 19.013 ms [18.814 ms, 19.212 ms] -
appsec 18.634 ms [18.444 ms, 18.823 ms] -379.566 µs (-2.0%)
code_origins 17.543 ms [17.367 ms, 17.718 ms] -1.471 ms (-7.7%)
iast 17.82 ms [17.638 ms, 18.002 ms] -1.194 ms (-6.3%)
profiling 19.487 ms [19.287 ms, 19.687 ms] 473.804 µs (2.5%)
tracing 17.98 ms [17.798 ms, 18.162 ms] -1.034 ms (-5.4%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 19.227 ms [19.03 ms, 19.425 ms] -
appsec 18.822 ms [18.632 ms, 19.013 ms] -405.204 µs (-2.1%)
code_origins 17.508 ms [17.334 ms, 17.683 ms] -1.719 ms (-8.9%)
iast 17.71 ms [17.533 ms, 17.887 ms] -1.517 ms (-7.9%)
profiling 18.61 ms [18.428 ms, 18.791 ms] -617.91 µs (-3.2%)
tracing 18.311 ms [18.13 ms, 18.493 ms] -916.091 µs (-4.8%)
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.60.0-SNAPSHOT~865e05ae12, baseline=1.60.0-SNAPSHOT~7f66c79293
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.183 ms) : 1172, 1194
.   : milestone, 1183,
iast (3.22 ms) : 3174, 3265
.   : milestone, 3220,
iast_FULL (6.038 ms) : 5976, 6101
.   : milestone, 6038,
iast_GLOBAL (3.539 ms) : 3484, 3594
.   : milestone, 3539,
profiling (1.986 ms) : 1968, 2005
.   : milestone, 1986,
tracing (1.792 ms) : 1777, 1807
.   : milestone, 1792,
section candidate
no_agent (1.183 ms) : 1171, 1195
.   : milestone, 1183,
iast (3.167 ms) : 3125, 3209
.   : milestone, 3167,
iast_FULL (5.9 ms) : 5840, 5960
.   : milestone, 5900,
iast_GLOBAL (3.5 ms) : 3440, 3559
.   : milestone, 3500,
profiling (1.912 ms) : 1896, 1928
.   : milestone, 1912,
tracing (1.835 ms) : 1818, 1852
.   : milestone, 1835,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.183 ms [1.172 ms, 1.194 ms] -
iast 3.22 ms [3.174 ms, 3.265 ms] 2.037 ms (172.2%)
iast_FULL 6.038 ms [5.976 ms, 6.101 ms] 4.855 ms (410.4%)
iast_GLOBAL 3.539 ms [3.484 ms, 3.594 ms] 2.356 ms (199.1%)
profiling 1.986 ms [1.968 ms, 2.005 ms] 803.386 µs (67.9%)
tracing 1.792 ms [1.777 ms, 1.807 ms] 608.945 µs (51.5%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.183 ms [1.171 ms, 1.195 ms] -
iast 3.167 ms [3.125 ms, 3.209 ms] 1.984 ms (167.7%)
iast_FULL 5.9 ms [5.84 ms, 5.96 ms] 4.717 ms (398.7%)
iast_GLOBAL 3.5 ms [3.44 ms, 3.559 ms] 2.317 ms (195.8%)
profiling 1.912 ms [1.896 ms, 1.928 ms] 729.3 µs (61.6%)
tracing 1.835 ms [1.818 ms, 1.852 ms] 651.915 µs (55.1%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master dougqh/optimize-ptags
git_commit_date 1771357015 1771361103
git_commit_sha 7f66c79 865e05a
release_version 1.60.0-SNAPSHOT~7f66c79293 1.60.0-SNAPSHOT~865e05ae12
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1771363204 1771363204
ci_job_id 1433388386 1433388386
ci_pipeline_id 97045315 97045315
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-zcn2tfl5 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-zcn2tfl5 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 biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.60.0-SNAPSHOT~865e05ae12, baseline=1.60.0-SNAPSHOT~7f66c79293
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.03 s) : 15030000, 15030000
.   : milestone, 15030000,
appsec (14.867 s) : 14867000, 14867000
.   : milestone, 14867000,
iast (18.008 s) : 18008000, 18008000
.   : milestone, 18008000,
iast_GLOBAL (17.907 s) : 17907000, 17907000
.   : milestone, 17907000,
profiling (15.436 s) : 15436000, 15436000
.   : milestone, 15436000,
tracing (14.813 s) : 14813000, 14813000
.   : milestone, 14813000,
section candidate
no_agent (15.01 s) : 15010000, 15010000
.   : milestone, 15010000,
appsec (14.828 s) : 14828000, 14828000
.   : milestone, 14828000,
iast (18.281 s) : 18281000, 18281000
.   : milestone, 18281000,
iast_GLOBAL (17.848 s) : 17848000, 17848000
.   : milestone, 17848000,
profiling (14.973 s) : 14973000, 14973000
.   : milestone, 14973000,
tracing (15.258 s) : 15258000, 15258000
.   : milestone, 15258000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.03 s [15.03 s, 15.03 s] -
appsec 14.867 s [14.867 s, 14.867 s] -163.0 ms (-1.1%)
iast 18.008 s [18.008 s, 18.008 s] 2.978 s (19.8%)
iast_GLOBAL 17.907 s [17.907 s, 17.907 s] 2.877 s (19.1%)
profiling 15.436 s [15.436 s, 15.436 s] 406.0 ms (2.7%)
tracing 14.813 s [14.813 s, 14.813 s] -217.0 ms (-1.4%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.01 s [15.01 s, 15.01 s] -
appsec 14.828 s [14.828 s, 14.828 s] -182.0 ms (-1.2%)
iast 18.281 s [18.281 s, 18.281 s] 3.271 s (21.8%)
iast_GLOBAL 17.848 s [17.848 s, 17.848 s] 2.838 s (18.9%)
profiling 14.973 s [14.973 s, 14.973 s] -37.0 ms (-0.2%)
tracing 15.258 s [15.258 s, 15.258 s] 248.0 ms (1.7%)
Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.60.0-SNAPSHOT~865e05ae12, baseline=1.60.0-SNAPSHOT~7f66c79293
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.471 ms) : 1460, 1483
.   : milestone, 1471,
appsec (2.517 ms) : 2462, 2573
.   : milestone, 2517,
iast (2.265 ms) : 2194, 2335
.   : milestone, 2265,
iast_GLOBAL (2.303 ms) : 2233, 2373
.   : milestone, 2303,
profiling (2.103 ms) : 2046, 2159
.   : milestone, 2103,
tracing (2.06 ms) : 2006, 2114
.   : milestone, 2060,
section candidate
no_agent (1.471 ms) : 1460, 1483
.   : milestone, 1471,
appsec (3.767 ms) : 3541, 3994
.   : milestone, 3767,
iast (2.257 ms) : 2188, 2326
.   : milestone, 2257,
iast_GLOBAL (2.295 ms) : 2225, 2365
.   : milestone, 2295,
profiling (2.115 ms) : 2058, 2172
.   : milestone, 2115,
tracing (2.065 ms) : 2011, 2119
.   : milestone, 2065,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.471 ms [1.46 ms, 1.483 ms] -
appsec 2.517 ms [2.462 ms, 2.573 ms] 1.046 ms (71.1%)
iast 2.265 ms [2.194 ms, 2.335 ms] 793.304 µs (53.9%)
iast_GLOBAL 2.303 ms [2.233 ms, 2.373 ms] 832.042 µs (56.6%)
profiling 2.103 ms [2.046 ms, 2.159 ms] 631.512 µs (42.9%)
tracing 2.06 ms [2.006 ms, 2.114 ms] 588.489 µs (40.0%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.471 ms [1.46 ms, 1.483 ms] -
appsec 3.767 ms [3.541 ms, 3.994 ms] 2.296 ms (156.1%)
iast 2.257 ms [2.188 ms, 2.326 ms] 785.698 µs (53.4%)
iast_GLOBAL 2.295 ms [2.225 ms, 2.365 ms] 823.56 µs (56.0%)
profiling 2.115 ms [2.058 ms, 2.172 ms] 643.767 µs (43.8%)
tracing 2.065 ms [2.011 ms, 2.119 ms] 593.54 µs (40.3%)

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: performance Performance related changes type: enhancement Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants