Skip to content

Reuse SpanKind Entry in ClientDecorator#10503

Open
dougqh wants to merge 30 commits intomasterfrom
dougqh/client-kind-entry-reuse
Open

Reuse SpanKind Entry in ClientDecorator#10503
dougqh wants to merge 30 commits intomasterfrom
dougqh/client-kind-entry-reuse

Conversation

@dougqh
Copy link
Contributor

@dougqh dougqh commented Feb 2, 2026

What Does This Do

Caches & reuses SpanKind Entry in ClientDecorator

Motivation

Reduce allocation & garbage collection - improves throughput under load

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

dougqh added 30 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
Adding methods to AgentSpan / DDSpan that take TagMap.Entry/Reader objects directly

This will enable TagMap.Entry reuse which can reduce memory allocation/GC pressure
Methods are intended to be used to create TagMap.Entry objects for repeatedly used values

Overloads are provided for all the supported types to be easier for developers not familiar with TagMap internals.  Internally, TagMap still uses the more explicit new<X>Entry methods.
Removing statics that were previously moved to TagValueConversions
- tests exposed missing TagMap.Entry.create for boolean
- added explanatory strings to some asserts
…aDog/dd-trace-java into dougqh/fdirect-apis-for-tagmap-entry
@dougqh dougqh requested a review from a team as a code owner February 2, 2026 18:59
@dougqh dougqh added the type: enhancement Enhancements and improvements label Feb 2, 2026
@dougqh dougqh requested review from a team as code owners February 2, 2026 18:59
@dougqh dougqh added the comp: core Tracer core label Feb 2, 2026
@dougqh dougqh requested review from mtoffl01 and removed request for a team February 2, 2026 18:59
@dougqh dougqh added the tag: performance Performance related changes label Feb 2, 2026
@@ -1,22 +1,34 @@
package datadog.trace.bootstrap.instrumentation.decorator;

import datadog.trace.api.TagMap;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This change is based off of https://github.com/DataDog/dd-trace-java/pull/10472/changes which I plan to merge before this PR

The only real change in this PR is this file: ClientDecorator

@pr-commenter
Copy link

pr-commenter bot commented Feb 2, 2026

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master dougqh/client-kind-entry-reuse
git_commit_date 1769801466 1770058685
git_commit_sha 76b5b63 aa1f66b
release_version 1.59.0-SNAPSHOT~76b5b63bcb 1.59.0-SNAPSHOT~aa1f66bf39
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1770060620 1770060620
ci_job_id 1394983633 1394983633
ci_pipeline_id 94174952 94174952
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-hjqj5xec 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-hjqj5xec 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 petclinic
gantt
    title petclinic - global startup overhead: candidate=1.59.0-SNAPSHOT~aa1f66bf39, baseline=1.59.0-SNAPSHOT~76b5b63bcb

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.057 s) : 0, 1056739
Total [baseline] (10.912 s) : 0, 10912185
Agent [candidate] (1.067 s) : 0, 1066780
Total [candidate] (10.906 s) : 0, 10906228
section appsec
Agent [baseline] (1.238 s) : 0, 1238236
Total [baseline] (10.892 s) : 0, 10892234
Agent [candidate] (1.229 s) : 0, 1229260
Total [candidate] (10.86 s) : 0, 10860078
section iast
Agent [baseline] (1.234 s) : 0, 1233993
Total [baseline] (11.167 s) : 0, 11166539
Agent [candidate] (1.23 s) : 0, 1229750
Total [candidate] (11.162 s) : 0, 11162127
section profiling
Agent [baseline] (1.186 s) : 0, 1186208
Total [baseline] (10.946 s) : 0, 10945853
Agent [candidate] (1.186 s) : 0, 1185809
Total [candidate] (10.944 s) : 0, 10943976
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.057 s -
Agent appsec 1.238 s 181.497 ms (17.2%)
Agent iast 1.234 s 177.254 ms (16.8%)
Agent profiling 1.186 s 129.469 ms (12.3%)
Total tracing 10.912 s -
Total appsec 10.892 s -19.951 ms (-0.2%)
Total iast 11.167 s 254.354 ms (2.3%)
Total profiling 10.946 s 33.668 ms (0.3%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.067 s -
Agent appsec 1.229 s 162.48 ms (15.2%)
Agent iast 1.23 s 162.971 ms (15.3%)
Agent profiling 1.186 s 119.03 ms (11.2%)
Total tracing 10.906 s -
Total appsec 10.86 s -46.15 ms (-0.4%)
Total iast 11.162 s 255.899 ms (2.3%)
Total profiling 10.944 s 37.748 ms (0.3%)
gantt
    title petclinic - break down per module: candidate=1.59.0-SNAPSHOT~aa1f66bf39, baseline=1.59.0-SNAPSHOT~76b5b63bcb

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.173 ms) : 0, 1173
crashtracking [candidate] (1.189 ms) : 0, 1189
BytebuddyAgent [baseline] (622.676 ms) : 0, 622676
BytebuddyAgent [candidate] (627.726 ms) : 0, 627726
AgentMeter [baseline] (28.697 ms) : 0, 28697
AgentMeter [candidate] (28.899 ms) : 0, 28899
GlobalTracer [baseline] (256.539 ms) : 0, 256539
GlobalTracer [candidate] (258.637 ms) : 0, 258637
AppSec [baseline] (32.908 ms) : 0, 32908
AppSec [candidate] (33.208 ms) : 0, 33208
Debugger [baseline] (61.081 ms) : 0, 61081
Debugger [candidate] (63.25 ms) : 0, 63250
Remote Config [baseline] (622.205 µs) : 0, 622
Remote Config [candidate] (615.4 µs) : 0, 615
Telemetry [baseline] (10.741 ms) : 0, 10741
Telemetry [candidate] (10.811 ms) : 0, 10811
Flare Poller [baseline] (6.874 ms) : 0, 6874
Flare Poller [candidate] (6.865 ms) : 0, 6865
section appsec
crashtracking [baseline] (1.198 ms) : 0, 1198
crashtracking [candidate] (1.187 ms) : 0, 1187
BytebuddyAgent [baseline] (656.848 ms) : 0, 656848
BytebuddyAgent [candidate] (650.722 ms) : 0, 650722
AgentMeter [baseline] (11.875 ms) : 0, 11875
AgentMeter [candidate] (11.856 ms) : 0, 11856
GlobalTracer [baseline] (258.662 ms) : 0, 258662
GlobalTracer [candidate] (257.122 ms) : 0, 257122
IAST [baseline] (25.526 ms) : 0, 25526
IAST [candidate] (25.411 ms) : 0, 25411
AppSec [baseline] (167.451 ms) : 0, 167451
AppSec [candidate] (166.925 ms) : 0, 166925
Debugger [baseline] (67.828 ms) : 0, 67828
Debugger [candidate] (67.359 ms) : 0, 67359
Remote Config [baseline] (654.71 µs) : 0, 655
Remote Config [candidate] (647.337 µs) : 0, 647
Telemetry [baseline] (9.183 ms) : 0, 9183
Telemetry [candidate] (9.215 ms) : 0, 9215
Flare Poller [baseline] (3.618 ms) : 0, 3618
Flare Poller [candidate] (3.604 ms) : 0, 3604
section iast
crashtracking [baseline] (1.196 ms) : 0, 1196
crashtracking [candidate] (1.191 ms) : 0, 1191
BytebuddyAgent [baseline] (794.724 ms) : 0, 794724
BytebuddyAgent [candidate] (793.218 ms) : 0, 793218
AgentMeter [baseline] (11.325 ms) : 0, 11325
AgentMeter [candidate] (11.251 ms) : 0, 11251
GlobalTracer [baseline] (249.699 ms) : 0, 249699
GlobalTracer [candidate] (248.891 ms) : 0, 248891
IAST [baseline] (27.124 ms) : 0, 27124
IAST [candidate] (26.794 ms) : 0, 26794
AppSec [baseline] (35.069 ms) : 0, 35069
AppSec [candidate] (34.465 ms) : 0, 34465
Debugger [baseline] (66.886 ms) : 0, 66886
Debugger [candidate] (65.922 ms) : 0, 65922
Remote Config [baseline] (546.345 µs) : 0, 546
Remote Config [candidate] (555.956 µs) : 0, 556
Telemetry [baseline] (8.498 ms) : 0, 8498
Telemetry [candidate] (8.64 ms) : 0, 8640
Flare Poller [baseline] (3.484 ms) : 0, 3484
Flare Poller [candidate] (3.517 ms) : 0, 3517
section profiling
crashtracking [baseline] (1.211 ms) : 0, 1211
crashtracking [candidate] (1.209 ms) : 0, 1209
BytebuddyAgent [baseline] (676.861 ms) : 0, 676861
BytebuddyAgent [candidate] (677.553 ms) : 0, 677553
AgentMeter [baseline] (8.641 ms) : 0, 8641
AgentMeter [candidate] (8.601 ms) : 0, 8601
GlobalTracer [baseline] (216.477 ms) : 0, 216477
GlobalTracer [candidate] (216.719 ms) : 0, 216719
AppSec [baseline] (32.39 ms) : 0, 32390
AppSec [candidate] (32.39 ms) : 0, 32390
Debugger [baseline] (67.569 ms) : 0, 67569
Debugger [candidate] (67.687 ms) : 0, 67687
Remote Config [baseline] (586.51 µs) : 0, 587
Remote Config [candidate] (592.62 µs) : 0, 593
Telemetry [baseline] (8.749 ms) : 0, 8749
Telemetry [candidate] (8.722 ms) : 0, 8722
Flare Poller [baseline] (3.813 ms) : 0, 3813
Flare Poller [candidate] (3.724 ms) : 0, 3724
ProfilingAgent [baseline] (99.948 ms) : 0, 99948
ProfilingAgent [candidate] (98.802 ms) : 0, 98802
Profiling [baseline] (100.527 ms) : 0, 100527
Profiling [candidate] (99.377 ms) : 0, 99377
Loading
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.59.0-SNAPSHOT~aa1f66bf39, baseline=1.59.0-SNAPSHOT~76b5b63bcb

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.058 s) : 0, 1057794
Total [baseline] (8.682 s) : 0, 8682456
Agent [candidate] (1.069 s) : 0, 1068736
Total [candidate] (8.723 s) : 0, 8723058
section iast
Agent [baseline] (1.226 s) : 0, 1225591
Total [baseline] (9.355 s) : 0, 9354802
Agent [candidate] (1.232 s) : 0, 1232108
Total [candidate] (9.358 s) : 0, 9358354
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.058 s -
Agent iast 1.226 s 167.797 ms (15.9%)
Total tracing 8.682 s -
Total iast 9.355 s 672.346 ms (7.7%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.069 s -
Agent iast 1.232 s 163.372 ms (15.3%)
Total tracing 8.723 s -
Total iast 9.358 s 635.296 ms (7.3%)
gantt
    title insecure-bank - break down per module: candidate=1.59.0-SNAPSHOT~aa1f66bf39, baseline=1.59.0-SNAPSHOT~76b5b63bcb

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.181 ms) : 0, 1181
crashtracking [candidate] (1.19 ms) : 0, 1190
BytebuddyAgent [baseline] (622.518 ms) : 0, 622518
BytebuddyAgent [candidate] (631.662 ms) : 0, 631662
AgentMeter [baseline] (28.795 ms) : 0, 28795
AgentMeter [candidate] (29.088 ms) : 0, 29088
GlobalTracer [baseline] (256.746 ms) : 0, 256746
GlobalTracer [candidate] (259.485 ms) : 0, 259485
AppSec [baseline] (32.838 ms) : 0, 32838
AppSec [candidate] (33.258 ms) : 0, 33258
Debugger [baseline] (61.316 ms) : 0, 61316
Debugger [candidate] (62.247 ms) : 0, 62247
Remote Config [baseline] (614.215 µs) : 0, 614
Remote Config [candidate] (616.085 µs) : 0, 616
Telemetry [baseline] (9.021 ms) : 0, 9021
Telemetry [candidate] (10.12 ms) : 0, 10120
Flare Poller [baseline] (9.283 ms) : 0, 9283
Flare Poller [candidate] (5.438 ms) : 0, 5438
section iast
crashtracking [baseline] (1.191 ms) : 0, 1191
crashtracking [candidate] (1.183 ms) : 0, 1183
BytebuddyAgent [baseline] (790.099 ms) : 0, 790099
BytebuddyAgent [candidate] (796.283 ms) : 0, 796283
AgentMeter [baseline] (11.239 ms) : 0, 11239
AgentMeter [candidate] (11.289 ms) : 0, 11289
GlobalTracer [baseline] (248.161 ms) : 0, 248161
GlobalTracer [candidate] (249.233 ms) : 0, 249233
IAST [baseline] (26.948 ms) : 0, 26948
IAST [candidate] (26.966 ms) : 0, 26966
AppSec [baseline] (34.717 ms) : 0, 34717
AppSec [candidate] (32.111 ms) : 0, 32111
Debugger [baseline] (65.123 ms) : 0, 65123
Debugger [candidate] (67.209 ms) : 0, 67209
Remote Config [baseline] (551.339 µs) : 0, 551
Remote Config [candidate] (537.605 µs) : 0, 538
Telemetry [baseline] (8.626 ms) : 0, 8626
Telemetry [candidate] (8.438 ms) : 0, 8438
Flare Poller [baseline] (3.541 ms) : 0, 3541
Flare Poller [candidate] (3.468 ms) : 0, 3468
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master dougqh/client-kind-entry-reuse
git_commit_date 1769801466 1770058685
git_commit_sha 76b5b63 aa1f66b
release_version 1.59.0-SNAPSHOT~76b5b63bcb 1.59.0-SNAPSHOT~aa1f66bf39
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1770060905 1770060905
ci_job_id 1394983634 1394983634
ci_pipeline_id 94174952 94174952
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-nedglktr 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-nedglktr 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 2 performance regressions! Performance is the same for 15 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_FULL:high_load better
[-721.270µs; -366.517µs] or [-12.998%; -6.605%]
better
[-1.615ms; -0.774ms] or [-12.334%; -5.910%]
unstable
[-28.712op/s; +146.837op/s] or [-3.833%; +19.600%]
5.005ms 11.902ms 808.219op/s 5.549ms 13.097ms 749.156op/s
scenario:load:petclinic:iast:high_load worse
[+0.995ms; +1.665ms] or [+5.820%; +9.742%]
worse
[+1.254ms; +2.408ms] or [+4.485%; +8.613%]
unstable
[-46.250op/s; +7.937op/s] or [-17.282%; +2.966%]
18.421ms 29.788ms 248.469op/s 17.091ms 27.957ms 267.625op/s
scenario:load:petclinic:profiling:high_load better
[-1.883ms; -0.900ms] or [-9.632%; -4.603%]
unsure
[-2.212ms; -0.582ms] or [-7.194%; -1.891%]
unstable
[-10.831op/s; +40.956op/s] or [-4.566%; +17.267%]
18.154ms 29.356ms 252.250op/s 19.546ms 30.753ms 237.188op/s
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.59.0-SNAPSHOT~aa1f66bf39, baseline=1.59.0-SNAPSHOT~76b5b63bcb
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.189 ms) : 1176, 1202
.   : milestone, 1189,
iast (3.173 ms) : 3130, 3217
.   : milestone, 3173,
iast_FULL (6.176 ms) : 6112, 6239
.   : milestone, 6176,
iast_GLOBAL (3.64 ms) : 3574, 3706
.   : milestone, 3640,
profiling (2.336 ms) : 2314, 2358
.   : milestone, 2336,
tracing (1.791 ms) : 1776, 1805
.   : milestone, 1791,
section candidate
no_agent (1.19 ms) : 1178, 1202
.   : milestone, 1190,
iast (3.242 ms) : 3200, 3285
.   : milestone, 3242,
iast_FULL (5.718 ms) : 5662, 5775
.   : milestone, 5718,
iast_GLOBAL (3.757 ms) : 3688, 3826
.   : milestone, 3757,
profiling (2.153 ms) : 2133, 2174
.   : milestone, 2153,
tracing (1.815 ms) : 1800, 1830
.   : milestone, 1815,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.189 ms [1.176 ms, 1.202 ms] -
iast 3.173 ms [3.13 ms, 3.217 ms] 1.985 ms (166.9%)
iast_FULL 6.176 ms [6.112 ms, 6.239 ms] 4.987 ms (419.5%)
iast_GLOBAL 3.64 ms [3.574 ms, 3.706 ms] 2.451 ms (206.2%)
profiling 2.336 ms [2.314 ms, 2.358 ms] 1.147 ms (96.5%)
tracing 1.791 ms [1.776 ms, 1.805 ms] 601.803 µs (50.6%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.19 ms [1.178 ms, 1.202 ms] -
iast 3.242 ms [3.2 ms, 3.285 ms] 2.053 ms (172.5%)
iast_FULL 5.718 ms [5.662 ms, 5.775 ms] 4.528 ms (380.7%)
iast_GLOBAL 3.757 ms [3.688 ms, 3.826 ms] 2.567 ms (215.8%)
profiling 2.153 ms [2.133 ms, 2.174 ms] 963.852 µs (81.0%)
tracing 1.815 ms [1.8 ms, 1.83 ms] 625.621 µs (52.6%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.59.0-SNAPSHOT~aa1f66bf39, baseline=1.59.0-SNAPSHOT~76b5b63bcb
    dateFormat X
    axisFormat %s
section baseline
no_agent (18.123 ms) : 17942, 18303
.   : milestone, 18123,
appsec (18.802 ms) : 18611, 18993
.   : milestone, 18802,
code_origins (18.057 ms) : 17874, 18240
.   : milestone, 18057,
iast (17.434 ms) : 17263, 17604
.   : milestone, 17434,
profiling (19.685 ms) : 19486, 19884
.   : milestone, 19685,
tracing (17.808 ms) : 17632, 17984
.   : milestone, 17808,
section candidate
no_agent (18.036 ms) : 17847, 18225
.   : milestone, 18036,
appsec (18.903 ms) : 18711, 19095
.   : milestone, 18903,
code_origins (17.705 ms) : 17529, 17882
.   : milestone, 17705,
iast (18.788 ms) : 18601, 18976
.   : milestone, 18788,
profiling (18.505 ms) : 18324, 18687
.   : milestone, 18505,
tracing (18.206 ms) : 18022, 18389
.   : milestone, 18206,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 18.123 ms [17.942 ms, 18.303 ms] -
appsec 18.802 ms [18.611 ms, 18.993 ms] 679.49 µs (3.7%)
code_origins 18.057 ms [17.874 ms, 18.24 ms] -65.621 µs (-0.4%)
iast 17.434 ms [17.263 ms, 17.604 ms] -689.005 µs (-3.8%)
profiling 19.685 ms [19.486 ms, 19.884 ms] 1.562 ms (8.6%)
tracing 17.808 ms [17.632 ms, 17.984 ms] -314.997 µs (-1.7%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 18.036 ms [17.847 ms, 18.225 ms] -
appsec 18.903 ms [18.711 ms, 19.095 ms] 867.27 µs (4.8%)
code_origins 17.705 ms [17.529 ms, 17.882 ms] -330.683 µs (-1.8%)
iast 18.788 ms [18.601 ms, 18.976 ms] 752.351 µs (4.2%)
profiling 18.505 ms [18.324 ms, 18.687 ms] 469.415 µs (2.6%)
tracing 18.206 ms [18.022 ms, 18.389 ms] 169.607 µs (0.9%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master dougqh/client-kind-entry-reuse
git_commit_date 1769801466 1770058685
git_commit_sha 76b5b63 aa1f66b
release_version 1.59.0-SNAPSHOT~76b5b63bcb 1.59.0-SNAPSHOT~aa1f66bf39
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1770060648 1770060648
ci_job_id 1394983635 1394983635
ci_pipeline_id 94174952 94174952
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-gk4kfuau 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-gk4kfuau 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 11 metrics, 0 unstable metrics.

scenario Δ mean execution_time candidate mean execution_time baseline mean execution_time
scenario:dacapo:tomcat:appsec better
[-1.437ms; -1.090ms] or [-38.249%; -29.008%]
2.493ms 3.757ms
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.59.0-SNAPSHOT~aa1f66bf39, baseline=1.59.0-SNAPSHOT~76b5b63bcb
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.019 s) : 15019000, 15019000
.   : milestone, 15019000,
appsec (15.117 s) : 15117000, 15117000
.   : milestone, 15117000,
iast (17.847 s) : 17847000, 17847000
.   : milestone, 17847000,
iast_GLOBAL (17.503 s) : 17503000, 17503000
.   : milestone, 17503000,
profiling (14.986 s) : 14986000, 14986000
.   : milestone, 14986000,
tracing (14.654 s) : 14654000, 14654000
.   : milestone, 14654000,
section candidate
no_agent (15.536 s) : 15536000, 15536000
.   : milestone, 15536000,
appsec (15.107 s) : 15107000, 15107000
.   : milestone, 15107000,
iast (18.206 s) : 18206000, 18206000
.   : milestone, 18206000,
iast_GLOBAL (17.677 s) : 17677000, 17677000
.   : milestone, 17677000,
profiling (15.047 s) : 15047000, 15047000
.   : milestone, 15047000,
tracing (14.704 s) : 14704000, 14704000
.   : milestone, 14704000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.019 s [15.019 s, 15.019 s] -
appsec 15.117 s [15.117 s, 15.117 s] 98.0 ms (0.7%)
iast 17.847 s [17.847 s, 17.847 s] 2.828 s (18.8%)
iast_GLOBAL 17.503 s [17.503 s, 17.503 s] 2.484 s (16.5%)
profiling 14.986 s [14.986 s, 14.986 s] -33.0 ms (-0.2%)
tracing 14.654 s [14.654 s, 14.654 s] -365.0 ms (-2.4%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.536 s [15.536 s, 15.536 s] -
appsec 15.107 s [15.107 s, 15.107 s] -429.0 ms (-2.8%)
iast 18.206 s [18.206 s, 18.206 s] 2.67 s (17.2%)
iast_GLOBAL 17.677 s [17.677 s, 17.677 s] 2.141 s (13.8%)
profiling 15.047 s [15.047 s, 15.047 s] -489.0 ms (-3.1%)
tracing 14.704 s [14.704 s, 14.704 s] -832.0 ms (-5.4%)
Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.59.0-SNAPSHOT~aa1f66bf39, baseline=1.59.0-SNAPSHOT~76b5b63bcb
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.473 ms) : 1462, 1485
.   : milestone, 1473,
appsec (3.757 ms) : 3535, 3978
.   : milestone, 3757,
iast (2.25 ms) : 2180, 2319
.   : milestone, 2250,
iast_GLOBAL (2.291 ms) : 2222, 2361
.   : milestone, 2291,
profiling (2.115 ms) : 2058, 2172
.   : milestone, 2115,
tracing (2.058 ms) : 2004, 2111
.   : milestone, 2058,
section candidate
no_agent (1.471 ms) : 1460, 1483
.   : milestone, 1471,
appsec (2.493 ms) : 2438, 2548
.   : milestone, 2493,
iast (2.253 ms) : 2184, 2322
.   : milestone, 2253,
iast_GLOBAL (2.295 ms) : 2225, 2365
.   : milestone, 2295,
profiling (2.067 ms) : 2013, 2122
.   : milestone, 2067,
tracing (2.059 ms) : 2006, 2113
.   : milestone, 2059,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.473 ms [1.462 ms, 1.485 ms] -
appsec 3.757 ms [3.535 ms, 3.978 ms] 2.283 ms (155.0%)
iast 2.25 ms [2.18 ms, 2.319 ms] 776.235 µs (52.7%)
iast_GLOBAL 2.291 ms [2.222 ms, 2.361 ms] 817.663 µs (55.5%)
profiling 2.115 ms [2.058 ms, 2.172 ms] 641.702 µs (43.6%)
tracing 2.058 ms [2.004 ms, 2.111 ms] 584.33 µs (39.7%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.471 ms [1.46 ms, 1.483 ms] -
appsec 2.493 ms [2.438 ms, 2.548 ms] 1.022 ms (69.5%)
iast 2.253 ms [2.184 ms, 2.322 ms] 781.293 µs (53.1%)
iast_GLOBAL 2.295 ms [2.225 ms, 2.365 ms] 823.897 µs (56.0%)
profiling 2.067 ms [2.013 ms, 2.122 ms] 595.954 µs (40.5%)
tracing 2.059 ms [2.006 ms, 2.113 ms] 587.925 µs (40.0%)

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.

1 participant