Skip to content

DSM optimizations - major refactoring to get rid of LinkedHashMap #9151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

kr-igor
Copy link
Contributor

@kr-igor kr-igor commented Jul 10, 2025

This change is aimed to reduce DSM overhead by using a lightweight object instead of linked maps.

Introduced DataStreamsTags and DataStreamsTagsBuild which are now used instead of LinkedHashMap.
Updated all integrations and tests.

My tests show ~10% throughput increase with a significant latency decrease without increasing CPU load.
screenshot_2025-07-11_at_5 58 34___pm

@pr-commenter
Copy link

pr-commenter bot commented Jul 11, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master kr-igor/dsm-optimization-v2
git_commit_date 1752251883 1752273961
git_commit_sha 3abf301 4c28cbb
release_version 1.52.0-SNAPSHOT~3abf3010b9 1.52.0-SNAPSHOT~4c28cbb640
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1752275758 1752275758
ci_job_id 1026266651 1026266651
ci_pipeline_id 70375615 70375615
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-ig1udhm5 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-ig1udhm5 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 1 performance regressions! Performance is the same for 42 metrics, 10 unstable metrics.

scenario Δ mean execution_time candidate mean execution_time baseline mean execution_time
scenario:startup:petclinic:tracing:Remote Config worse
[+15.197µs; +48.533µs] or [+2.265%; +7.233%]
702.884µs 671.019µs
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.52.0-SNAPSHOT~4c28cbb640, baseline=1.52.0-SNAPSHOT~3abf3010b9

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (994.167 ms) : 0, 994167
Total [baseline] (8.612 s) : 0, 8612323
Agent [candidate] (994.137 ms) : 0, 994137
Total [candidate] (8.579 s) : 0, 8579479
section iast
Agent [baseline] (1.135 s) : 0, 1135391
Total [baseline] (9.294 s) : 0, 9294137
Agent [candidate] (1.133 s) : 0, 1132991
Total [candidate] (9.297 s) : 0, 9297266
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 994.167 ms -
Agent iast 1.135 s 141.224 ms (14.2%)
Total tracing 8.612 s -
Total iast 9.294 s 681.814 ms (7.9%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 994.137 ms -
Agent iast 1.133 s 138.854 ms (14.0%)
Total tracing 8.579 s -
Total iast 9.297 s 717.787 ms (8.4%)
gantt
    title insecure-bank - break down per module: candidate=1.52.0-SNAPSHOT~4c28cbb640, baseline=1.52.0-SNAPSHOT~3abf3010b9

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (686.243 ms) : 0, 686243
BytebuddyAgent [candidate] (684.846 ms) : 0, 684846
GlobalTracer [baseline] (241.913 ms) : 0, 241913
GlobalTracer [candidate] (243.281 ms) : 0, 243281
AppSec [baseline] (30.343 ms) : 0, 30343
AppSec [candidate] (30.373 ms) : 0, 30373
Debugger [baseline] (6.002 ms) : 0, 6002
Debugger [candidate] (5.921 ms) : 0, 5921
Remote Config [baseline] (689.293 µs) : 0, 689
Remote Config [candidate] (695.111 µs) : 0, 695
Telemetry [baseline] (8.182 ms) : 0, 8182
Telemetry [candidate] (8.226 ms) : 0, 8226
section iast
BytebuddyAgent [baseline] (809.476 ms) : 0, 809476
BytebuddyAgent [candidate] (806.743 ms) : 0, 806743
GlobalTracer [baseline] (232.501 ms) : 0, 232501
GlobalTracer [candidate] (233.668 ms) : 0, 233668
IAST [baseline] (25.887 ms) : 0, 25887
IAST [candidate] (28.076 ms) : 0, 28076
AppSec [baseline] (31.461 ms) : 0, 31461
AppSec [candidate] (29.439 ms) : 0, 29439
Debugger [baseline] (6.653 ms) : 0, 6653
Debugger [candidate] (5.776 ms) : 0, 5776
Remote Config [baseline] (582.23 µs) : 0, 582
Remote Config [candidate] (602.305 µs) : 0, 602
Telemetry [baseline] (7.913 ms) : 0, 7913
Telemetry [candidate] (7.983 ms) : 0, 7983
Loading
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.52.0-SNAPSHOT~4c28cbb640, baseline=1.52.0-SNAPSHOT~3abf3010b9

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (992.982 ms) : 0, 992982
Total [baseline] (10.696 s) : 0, 10696042
Agent [candidate] (1.003 s) : 0, 1002959
Total [candidate] (10.679 s) : 0, 10678587
section appsec
Agent [baseline] (1.174 s) : 0, 1173870
Total [baseline] (10.835 s) : 0, 10834507
Agent [candidate] (1.176 s) : 0, 1175599
Total [candidate] (10.785 s) : 0, 10784961
section iast
Agent [baseline] (1.133 s) : 0, 1133259
Total [baseline] (10.854 s) : 0, 10854372
Agent [candidate] (1.136 s) : 0, 1135683
Total [candidate] (10.865 s) : 0, 10865499
section profiling
Agent [baseline] (1.246 s) : 0, 1246165
Total [baseline] (10.908 s) : 0, 10908195
Agent [candidate] (1.243 s) : 0, 1243359
Total [candidate] (10.945 s) : 0, 10944621
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 992.982 ms -
Agent appsec 1.174 s 180.888 ms (18.2%)
Agent iast 1.133 s 140.277 ms (14.1%)
Agent profiling 1.246 s 253.184 ms (25.5%)
Total tracing 10.696 s -
Total appsec 10.835 s 138.465 ms (1.3%)
Total iast 10.854 s 158.331 ms (1.5%)
Total profiling 10.908 s 212.153 ms (2.0%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.003 s -
Agent appsec 1.176 s 172.64 ms (17.2%)
Agent iast 1.136 s 132.724 ms (13.2%)
Agent profiling 1.243 s 240.4 ms (24.0%)
Total tracing 10.679 s -
Total appsec 10.785 s 106.374 ms (1.0%)
Total iast 10.865 s 186.912 ms (1.8%)
Total profiling 10.945 s 266.034 ms (2.5%)
gantt
    title petclinic - break down per module: candidate=1.52.0-SNAPSHOT~4c28cbb640, baseline=1.52.0-SNAPSHOT~3abf3010b9

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (685.097 ms) : 0, 685097
BytebuddyAgent [candidate] (691.522 ms) : 0, 691522
GlobalTracer [baseline] (241.988 ms) : 0, 241988
GlobalTracer [candidate] (244.867 ms) : 0, 244867
AppSec [baseline] (30.138 ms) : 0, 30138
AppSec [candidate] (30.63 ms) : 0, 30630
Debugger [baseline] (5.976 ms) : 0, 5976
Debugger [candidate] (6.019 ms) : 0, 6019
Remote Config [baseline] (671.019 µs) : 0, 671
Remote Config [candidate] (702.884 µs) : 0, 703
Telemetry [baseline] (8.189 ms) : 0, 8189
Telemetry [candidate] (8.218 ms) : 0, 8218
section appsec
BytebuddyAgent [baseline] (708.556 ms) : 0, 708556
BytebuddyAgent [candidate] (708.568 ms) : 0, 708568
GlobalTracer [baseline] (235.313 ms) : 0, 235313
GlobalTracer [candidate] (236.894 ms) : 0, 236894
AppSec [baseline] (170.973 ms) : 0, 170973
AppSec [candidate] (171.444 ms) : 0, 171444
Debugger [baseline] (5.8 ms) : 0, 5800
Debugger [candidate] (5.7 ms) : 0, 5700
Remote Config [baseline] (611.687 µs) : 0, 612
Remote Config [candidate] (597.07 µs) : 0, 597
Telemetry [baseline] (8.148 ms) : 0, 8148
Telemetry [candidate] (8.006 ms) : 0, 8006
IAST [baseline] (23.537 ms) : 0, 23537
IAST [candidate] (23.446 ms) : 0, 23446
section iast
BytebuddyAgent [baseline] (806.706 ms) : 0, 806706
BytebuddyAgent [candidate] (808.307 ms) : 0, 808307
GlobalTracer [baseline] (233.163 ms) : 0, 233163
GlobalTracer [candidate] (234.393 ms) : 0, 234393
AppSec [baseline] (29.828 ms) : 0, 29828
AppSec [candidate] (30.344 ms) : 0, 30344
Debugger [baseline] (6.602 ms) : 0, 6602
Debugger [candidate] (5.794 ms) : 0, 5794
Remote Config [baseline] (586.068 µs) : 0, 586
Remote Config [candidate] (590.009 µs) : 0, 590
Telemetry [baseline] (7.967 ms) : 0, 7967
Telemetry [candidate] (7.982 ms) : 0, 7982
IAST [baseline] (27.455 ms) : 0, 27455
IAST [candidate] (27.324 ms) : 0, 27324
section profiling
ProfilingAgent [baseline] (103.248 ms) : 0, 103248
ProfilingAgent [candidate] (103.009 ms) : 0, 103009
BytebuddyAgent [baseline] (679.439 ms) : 0, 679439
BytebuddyAgent [candidate] (676.117 ms) : 0, 676117
GlobalTracer [baseline] (361.307 ms) : 0, 361307
GlobalTracer [candidate] (362.921 ms) : 0, 362921
AppSec [baseline] (31.785 ms) : 0, 31785
AppSec [candidate] (33.579 ms) : 0, 33579
Debugger [baseline] (12.723 ms) : 0, 12723
Debugger [candidate] (9.891 ms) : 0, 9891
Remote Config [baseline] (650.35 µs) : 0, 650
Remote Config [candidate] (662.197 µs) : 0, 662
Telemetry [baseline] (8.045 ms) : 0, 8045
Telemetry [candidate] (8.623 ms) : 0, 8623
Profiling [baseline] (103.272 ms) : 0, 103272
Profiling [candidate] (103.033 ms) : 0, 103033
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master kr-igor/dsm-optimization-v2
git_commit_date 1752251883 1752273961
git_commit_sha 3abf301 4c28cbb
release_version 1.52.0-SNAPSHOT~3abf3010b9 1.52.0-SNAPSHOT~4c28cbb640
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1752275341 1752275341
ci_job_id 1026266652 1026266652
ci_pipeline_id 70375615 70375615
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-cij6kiir 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-cij6kiir 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 8 metrics, 12 unstable metrics.

scenario Δ mean http_req_duration Δ mean throughput candidate mean http_req_duration candidate mean throughput baseline mean http_req_duration baseline mean throughput
scenario:load:insecure-bank:tracing:high_load worse
[+240.444µs; +487.877µs] or [+3.162%; +6.416%]
unstable
[-102.693op/s; +48.130op/s] or [-16.857%; +7.901%]
7.968ms 581.906op/s 7.604ms 609.188op/s
scenario:load:insecure-bank:iast:high_load better
[-663.820µs; -325.946µs] or [-6.908%; -3.392%]
unstable
[-33.850op/s; +85.788op/s] or [-7.006%; +17.755%]
9.114ms 509.156op/s 9.609ms 483.188op/s
scenario:load:petclinic:tracing:high_load better
[-2.337ms; -1.542ms] or [-5.205%; -3.434%]
unstable
[-3.758op/s; +10.520op/s] or [-3.561%; +9.967%]
42.951ms 108.925op/s 44.890ms 105.544op/s
scenario:load:petclinic:code_origins:high_load better
[-2.101ms; -1.251ms] or [-4.514%; -2.687%]
unstable
[-3.658op/s; +11.158op/s] or [-3.638%; +11.096%]
44.877ms 104.300op/s 46.553ms 100.550op/s
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.52.0-SNAPSHOT~4c28cbb640, baseline=1.52.0-SNAPSHOT~3abf3010b9
    dateFormat X
    axisFormat %s
section baseline
no_agent (37.668 ms) : 37371, 37965
.   : milestone, 37668,
appsec (49.077 ms) : 48642, 49513
.   : milestone, 49077,
code_origins (46.553 ms) : 46143, 46963
.   : milestone, 46553,
iast (45.681 ms) : 45276, 46085
.   : milestone, 45681,
profiling (48.624 ms) : 48155, 49092
.   : milestone, 48624,
tracing (44.89 ms) : 44510, 45269
.   : milestone, 44890,
section candidate
no_agent (36.823 ms) : 36524, 37122
.   : milestone, 36823,
appsec (47.717 ms) : 47296, 48138
.   : milestone, 47717,
code_origins (44.877 ms) : 44496, 45257
.   : milestone, 44877,
iast (44.485 ms) : 44090, 44880
.   : milestone, 44485,
profiling (47.488 ms) : 47079, 47898
.   : milestone, 47488,
tracing (42.951 ms) : 42591, 43310
.   : milestone, 42951,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 37.668 ms [37.371 ms, 37.965 ms] -
appsec 49.077 ms [48.642 ms, 49.513 ms] 11.409 ms (30.3%)
code_origins 46.553 ms [46.143 ms, 46.963 ms] 8.885 ms (23.6%)
iast 45.681 ms [45.276 ms, 46.085 ms] 8.013 ms (21.3%)
profiling 48.624 ms [48.155 ms, 49.092 ms] 10.956 ms (29.1%)
tracing 44.89 ms [44.51 ms, 45.269 ms] 7.222 ms (19.2%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 36.823 ms [36.524 ms, 37.122 ms] -
appsec 47.717 ms [47.296 ms, 48.138 ms] 10.894 ms (29.6%)
code_origins 44.877 ms [44.496 ms, 45.257 ms] 8.054 ms (21.9%)
iast 44.485 ms [44.09 ms, 44.88 ms] 7.662 ms (20.8%)
profiling 47.488 ms [47.079 ms, 47.898 ms] 10.665 ms (29.0%)
tracing 42.951 ms [42.591 ms, 43.31 ms] 6.128 ms (16.6%)
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.52.0-SNAPSHOT~4c28cbb640, baseline=1.52.0-SNAPSHOT~3abf3010b9
    dateFormat X
    axisFormat %s
section baseline
no_agent (4.325 ms) : 4278, 4372
.   : milestone, 4325,
iast (9.609 ms) : 9451, 9768
.   : milestone, 9609,
iast_FULL (13.968 ms) : 13697, 14239
.   : milestone, 13968,
iast_GLOBAL (10.218 ms) : 10038, 10397
.   : milestone, 10218,
profiling (8.809 ms) : 8674, 8945
.   : milestone, 8809,
tracing (7.604 ms) : 7488, 7719
.   : milestone, 7604,
section candidate
no_agent (4.363 ms) : 4314, 4411
.   : milestone, 4363,
iast (9.114 ms) : 8959, 9270
.   : milestone, 9114,
iast_FULL (13.76 ms) : 13491, 14029
.   : milestone, 13760,
iast_GLOBAL (10.256 ms) : 10075, 10436
.   : milestone, 10256,
profiling (8.976 ms) : 8816, 9136
.   : milestone, 8976,
tracing (7.968 ms) : 7853, 8082
.   : milestone, 7968,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.325 ms [4.278 ms, 4.372 ms] -
iast 9.609 ms [9.451 ms, 9.768 ms] 5.284 ms (122.2%)
iast_FULL 13.968 ms [13.697 ms, 14.239 ms] 9.642 ms (222.9%)
iast_GLOBAL 10.218 ms [10.038 ms, 10.397 ms] 5.892 ms (136.2%)
profiling 8.809 ms [8.674 ms, 8.945 ms] 4.484 ms (103.7%)
tracing 7.604 ms [7.488 ms, 7.719 ms] 3.278 ms (75.8%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.363 ms [4.314 ms, 4.411 ms] -
iast 9.114 ms [8.959 ms, 9.27 ms] 4.752 ms (108.9%)
iast_FULL 13.76 ms [13.491 ms, 14.029 ms] 9.397 ms (215.4%)
iast_GLOBAL 10.256 ms [10.075 ms, 10.436 ms] 5.893 ms (135.1%)
profiling 8.976 ms [8.816 ms, 9.136 ms] 4.613 ms (105.7%)
tracing 7.968 ms [7.853 ms, 8.082 ms] 3.605 ms (82.6%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master kr-igor/dsm-optimization-v2
git_commit_date 1752251883 1752273961
git_commit_sha 3abf301 4c28cbb
release_version 1.52.0-SNAPSHOT~3abf3010b9 1.52.0-SNAPSHOT~4c28cbb640
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1752275910 1752275910
ci_job_id 1026266653 1026266653
ci_pipeline_id 70375615 70375615
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-0ds6qpko 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-0ds6qpko 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 12 metrics, 0 unstable metrics.

Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.52.0-SNAPSHOT~4c28cbb640, baseline=1.52.0-SNAPSHOT~3abf3010b9
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.471 ms) : 1459, 1482
.   : milestone, 1471,
appsec (2.404 ms) : 2354, 2453
.   : milestone, 2404,
iast (2.194 ms) : 2132, 2256
.   : milestone, 2194,
iast_GLOBAL (2.235 ms) : 2172, 2298
.   : milestone, 2235,
profiling (2.035 ms) : 1985, 2085
.   : milestone, 2035,
tracing (2.026 ms) : 1977, 2075
.   : milestone, 2026,
section candidate
no_agent (1.466 ms) : 1454, 1477
.   : milestone, 1466,
appsec (2.4 ms) : 2351, 2450
.   : milestone, 2400,
iast (2.182 ms) : 2120, 2244
.   : milestone, 2182,
iast_GLOBAL (2.23 ms) : 2167, 2292
.   : milestone, 2230,
profiling (2.035 ms) : 1985, 2085
.   : milestone, 2035,
tracing (2.007 ms) : 1959, 2056
.   : milestone, 2007,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.471 ms [1.459 ms, 1.482 ms] -
appsec 2.404 ms [2.354 ms, 2.453 ms] 932.799 µs (63.4%)
iast 2.194 ms [2.132 ms, 2.256 ms] 722.774 µs (49.1%)
iast_GLOBAL 2.235 ms [2.172 ms, 2.298 ms] 764.054 µs (51.9%)
profiling 2.035 ms [1.985 ms, 2.085 ms] 563.79 µs (38.3%)
tracing 2.026 ms [1.977 ms, 2.075 ms] 555.089 µs (37.7%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.466 ms [1.454 ms, 1.477 ms] -
appsec 2.4 ms [2.351 ms, 2.45 ms] 934.564 µs (63.8%)
iast 2.182 ms [2.12 ms, 2.244 ms] 716.11 µs (48.9%)
iast_GLOBAL 2.23 ms [2.167 ms, 2.292 ms] 763.697 µs (52.1%)
profiling 2.035 ms [1.985 ms, 2.085 ms] 569.266 µs (38.8%)
tracing 2.007 ms [1.959 ms, 2.056 ms] 541.608 µs (36.9%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.52.0-SNAPSHOT~4c28cbb640, baseline=1.52.0-SNAPSHOT~3abf3010b9
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.833 s) : 15833000, 15833000
.   : milestone, 15833000,
appsec (14.857 s) : 14857000, 14857000
.   : milestone, 14857000,
iast (18.579 s) : 18579000, 18579000
.   : milestone, 18579000,
iast_GLOBAL (17.83 s) : 17830000, 17830000
.   : milestone, 17830000,
profiling (15.41 s) : 15410000, 15410000
.   : milestone, 15410000,
tracing (14.71 s) : 14710000, 14710000
.   : milestone, 14710000,
section candidate
no_agent (15.026 s) : 15026000, 15026000
.   : milestone, 15026000,
appsec (14.902 s) : 14902000, 14902000
.   : milestone, 14902000,
iast (18.969 s) : 18969000, 18969000
.   : milestone, 18969000,
iast_GLOBAL (17.737 s) : 17737000, 17737000
.   : milestone, 17737000,
profiling (15.447 s) : 15447000, 15447000
.   : milestone, 15447000,
tracing (14.841 s) : 14841000, 14841000
.   : milestone, 14841000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.833 s [15.833 s, 15.833 s] -
appsec 14.857 s [14.857 s, 14.857 s] -976.0 ms (-6.2%)
iast 18.579 s [18.579 s, 18.579 s] 2.746 s (17.3%)
iast_GLOBAL 17.83 s [17.83 s, 17.83 s] 1.997 s (12.6%)
profiling 15.41 s [15.41 s, 15.41 s] -423.0 ms (-2.7%)
tracing 14.71 s [14.71 s, 14.71 s] -1.123 s (-7.1%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.026 s [15.026 s, 15.026 s] -
appsec 14.902 s [14.902 s, 14.902 s] -124.0 ms (-0.8%)
iast 18.969 s [18.969 s, 18.969 s] 3.943 s (26.2%)
iast_GLOBAL 17.737 s [17.737 s, 17.737 s] 2.711 s (18.0%)
profiling 15.447 s [15.447 s, 15.447 s] 421.0 ms (2.8%)
tracing 14.841 s [14.841 s, 14.841 s] -185.0 ms (-1.2%)

@pr-commenter
Copy link

pr-commenter bot commented Jul 11, 2025

Kafka / producer-benchmark

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master kr-igor/dsm-optimization-v2
git_commit_date 1752251883 1752273961
git_commit_sha 3abf301 4c28cbb
See matching parameters
Baseline Candidate
ci_job_date 1752275004 1752275004
ci_job_id 1026266656 1026266656
ci_pipeline_id 70375615 70375615
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
jdkVersion 11.0.25 11.0.25
jmhVersion 1.36 1.36
jvm /usr/lib/jvm/java-11-openjdk-amd64/bin/java /usr/lib/jvm/java-11-openjdk-amd64/bin/java
jvmArgs -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/go/src/github.com/DataDog/apm-reliability/dd-trace-java/platform/src/producer-benchmark/build/tmp/jmh -Duser.country=US -Duser.language=en -Duser.variant -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/go/src/github.com/DataDog/apm-reliability/dd-trace-java/platform/src/producer-benchmark/build/tmp/jmh -Duser.country=US -Duser.language=en -Duser.variant
vmName OpenJDK 64-Bit Server VM OpenJDK 64-Bit Server VM
vmVersion 11.0.25+9-post-Ubuntu-1ubuntu122.04 11.0.25+9-post-Ubuntu-1ubuntu122.04

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 3 metrics, 0 unstable metrics.

See unchanged results
scenario Δ mean throughput
scenario:not-instrumented/KafkaProduceBenchmark.benchProduce same
scenario:only-tracing-dsm-disabled-benchmarks/KafkaProduceBenchmark.benchProduce same
scenario:only-tracing-dsm-enabled-benchmarks/KafkaProduceBenchmark.benchProduce same

@kr-igor kr-igor marked this pull request as ready for review July 11, 2025 22:53
@kr-igor kr-igor requested review from a team as code owners July 11, 2025 22:53
@kr-igor kr-igor requested a review from smola July 11, 2025 22:53
Copy link
Contributor

github-actions bot commented Jul 11, 2025

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 Jul 11, 2025

Kafka / consumer-benchmark

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master kr-igor/dsm-optimization-v2
git_commit_date 1752251883 1752273961
git_commit_sha 3abf301 4c28cbb
See matching parameters
Baseline Candidate
ci_job_date 1752275049 1752275049
ci_job_id 1026266657 1026266657
ci_pipeline_id 70375615 70375615
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
jdkVersion 11.0.25 11.0.25
jmhVersion 1.36 1.36
jvm /usr/lib/jvm/java-11-openjdk-amd64/bin/java /usr/lib/jvm/java-11-openjdk-amd64/bin/java
jvmArgs -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/go/src/github.com/DataDog/apm-reliability/dd-trace-java/platform/src/consumer-benchmark/build/tmp/jmh -Duser.country=US -Duser.language=en -Duser.variant -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/go/src/github.com/DataDog/apm-reliability/dd-trace-java/platform/src/consumer-benchmark/build/tmp/jmh -Duser.country=US -Duser.language=en -Duser.variant
vmName OpenJDK 64-Bit Server VM OpenJDK 64-Bit Server VM
vmVersion 11.0.25+9-post-Ubuntu-1ubuntu122.04 11.0.25+9-post-Ubuntu-1ubuntu122.04

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 3 metrics, 0 unstable metrics.

See unchanged results
scenario Δ mean throughput
scenario:not-instrumented/KafkaConsumerBenchmark.benchConsume same
scenario:only-tracing-dsm-disabled-benchmarks/KafkaConsumerBenchmark.benchConsume same
scenario:only-tracing-dsm-enabled-benchmarks/KafkaConsumerBenchmark.benchConsume unsure
[+1127.306op/s; +5349.035op/s] or [+0.620%; +2.940%]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant