Skip to content

Conversation

@PerfectSlayer
Copy link
Contributor

This PR mirrors the changes from the original community contribution to enable CI testing with maintainer privileges.

Original PR: #10020
Original Author: @PlugaruT
Original Branch: PlugaruT/dd-trace-java:fix/propagate-kafka-producer-trace-context-if-exists

Closes #10020


This is an automated mirror created to run CI checks. See tooling/mirror-community-pull-request.sh for details.

@PerfectSlayer PerfectSlayer requested a review from a team as a code owner November 24, 2025 14:13
@PerfectSlayer PerfectSlayer added type: bug Bug report and fix tag: community Community contribution inst: kafka Kafka instrumentation labels Nov 24, 2025
@pr-commenter
Copy link

pr-commenter bot commented Nov 24, 2025

Kafka / producer-benchmark

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master community-pr-10020
git_commit_date 1764871955 1764886827
git_commit_sha a2f3c7a a8cb36a
See matching parameters
Baseline Candidate
ci_job_date 1764889382 1764889382
ci_job_id 1271563337 1271563337
ci_pipeline_id 84965455 84965455
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 unsure
[-56220.964op/s; -7016.249op/s] or [-3.060%; -0.382%]
scenario:only-tracing-dsm-disabled-benchmarks/KafkaProduceBenchmark.benchProduce same
scenario:only-tracing-dsm-enabled-benchmarks/KafkaProduceBenchmark.benchProduce same

@pr-commenter
Copy link

pr-commenter bot commented Nov 24, 2025

Kafka / consumer-benchmark

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master community-pr-10020
git_commit_date 1764948592 1764956620
git_commit_sha 89639f7 82a1745
See matching parameters
Baseline Candidate
ci_job_date 1764957722 1764957722
ci_job_id 1273069925 1273069925
ci_pipeline_id 85048302 85048302
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 unsure
[+1554.588op/s; +11775.413op/s] or [+0.510%; +3.867%]
scenario:only-tracing-dsm-enabled-benchmarks/KafkaConsumerBenchmark.benchConsume same

@pr-commenter
Copy link

pr-commenter bot commented Nov 24, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master community-pr-10020
git_commit_date 1764948592 1764956620
git_commit_sha 89639f7 82a1745
release_version 1.57.0-SNAPSHOT~89639f7e8c 1.57.0-SNAPSHOT~82a174513b
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1764958492 1764958492
ci_job_id 1273069919 1273069919
ci_pipeline_id 85048302 85048302
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-ycde6n46 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-ycde6n46 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 58 metrics, 7 unstable metrics.

Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.57.0-SNAPSHOT~82a174513b, baseline=1.57.0-SNAPSHOT~89639f7e8c

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.077 s) : 0, 1076864
Total [baseline] (8.76 s) : 0, 8760485
Agent [candidate] (1.08 s) : 0, 1080044
Total [candidate] (8.775 s) : 0, 8775025
section iast
Agent [baseline] (1.22 s) : 0, 1220119
Total [baseline] (9.475 s) : 0, 9474685
Agent [candidate] (1.234 s) : 0, 1233640
Total [candidate] (9.509 s) : 0, 9509170
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.077 s -
Agent iast 1.22 s 143.255 ms (13.3%)
Total tracing 8.76 s -
Total iast 9.475 s 714.2 ms (8.2%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.08 s -
Agent iast 1.234 s 153.596 ms (14.2%)
Total tracing 8.775 s -
Total iast 9.509 s 734.145 ms (8.4%)
gantt
    title insecure-bank - break down per module: candidate=1.57.0-SNAPSHOT~82a174513b, baseline=1.57.0-SNAPSHOT~89639f7e8c

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.21 ms) : 0, 1210
crashtracking [candidate] (1.205 ms) : 0, 1205
BytebuddyAgent [baseline] (645.707 ms) : 0, 645707
BytebuddyAgent [candidate] (648.424 ms) : 0, 648424
GlobalTracer [baseline] (280.882 ms) : 0, 280882
GlobalTracer [candidate] (282.018 ms) : 0, 282018
AppSec [baseline] (32.3 ms) : 0, 32300
AppSec [candidate] (32.221 ms) : 0, 32221
Debugger [baseline] (67.787 ms) : 0, 67787
Debugger [candidate] (67.111 ms) : 0, 67111
Remote Config [baseline] (652.765 µs) : 0, 653
Remote Config [candidate] (654.443 µs) : 0, 654
Telemetry [baseline] (9.052 ms) : 0, 9052
Telemetry [candidate] (9.009 ms) : 0, 9009
Flare Poller [baseline] (3.727 ms) : 0, 3727
Flare Poller [candidate] (3.622 ms) : 0, 3622
section iast
crashtracking [baseline] (1.197 ms) : 0, 1197
crashtracking [candidate] (1.209 ms) : 0, 1209
BytebuddyAgent [baseline] (789.021 ms) : 0, 789021
BytebuddyAgent [candidate] (799.26 ms) : 0, 799260
GlobalTracer [baseline] (255.196 ms) : 0, 255196
GlobalTracer [candidate] (256.802 ms) : 0, 256802
IAST [baseline] (27.778 ms) : 0, 27778
IAST [candidate] (27.205 ms) : 0, 27205
AppSec [baseline] (34.493 ms) : 0, 34493
AppSec [candidate] (34.741 ms) : 0, 34741
Debugger [baseline] (64.523 ms) : 0, 64523
Debugger [candidate] (66.055 ms) : 0, 66055
Remote Config [baseline] (537.458 µs) : 0, 537
Remote Config [candidate] (567.142 µs) : 0, 567
Telemetry [baseline] (8.411 ms) : 0, 8411
Telemetry [candidate] (8.468 ms) : 0, 8468
Flare Poller [baseline] (3.453 ms) : 0, 3453
Flare Poller [candidate] (3.432 ms) : 0, 3432
Loading
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.57.0-SNAPSHOT~82a174513b, baseline=1.57.0-SNAPSHOT~89639f7e8c

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.08 s) : 0, 1080158
Total [baseline] (10.861 s) : 0, 10860548
Agent [candidate] (1.087 s) : 0, 1086563
Total [candidate] (10.825 s) : 0, 10825420
section appsec
Agent [baseline] (1.26 s) : 0, 1260103
Total [baseline] (10.974 s) : 0, 10974394
Agent [candidate] (1.273 s) : 0, 1272763
Total [candidate] (11.187 s) : 0, 11187448
section iast
Agent [baseline] (1.232 s) : 0, 1232193
Total [baseline] (11.151 s) : 0, 11150754
Agent [candidate] (1.225 s) : 0, 1225084
Total [candidate] (11.216 s) : 0, 11216160
section profiling
Agent [baseline] (1.203 s) : 0, 1203046
Total [baseline] (11.059 s) : 0, 11058928
Agent [candidate] (1.206 s) : 0, 1205784
Total [candidate] (11.06 s) : 0, 11059689
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.08 s -
Agent appsec 1.26 s 179.945 ms (16.7%)
Agent iast 1.232 s 152.036 ms (14.1%)
Agent profiling 1.203 s 122.889 ms (11.4%)
Total tracing 10.861 s -
Total appsec 10.974 s 113.846 ms (1.0%)
Total iast 11.151 s 290.206 ms (2.7%)
Total profiling 11.059 s 198.379 ms (1.8%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.087 s -
Agent appsec 1.273 s 186.199 ms (17.1%)
Agent iast 1.225 s 138.52 ms (12.7%)
Agent profiling 1.206 s 119.221 ms (11.0%)
Total tracing 10.825 s -
Total appsec 11.187 s 362.029 ms (3.3%)
Total iast 11.216 s 390.74 ms (3.6%)
Total profiling 11.06 s 234.27 ms (2.2%)
gantt
    title petclinic - break down per module: candidate=1.57.0-SNAPSHOT~82a174513b, baseline=1.57.0-SNAPSHOT~89639f7e8c

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.201 ms) : 0, 1201
crashtracking [candidate] (1.201 ms) : 0, 1201
BytebuddyAgent [baseline] (647.464 ms) : 0, 647464
BytebuddyAgent [candidate] (651.846 ms) : 0, 651846
GlobalTracer [baseline] (281.759 ms) : 0, 281759
GlobalTracer [candidate] (283.39 ms) : 0, 283390
AppSec [baseline] (32.484 ms) : 0, 32484
AppSec [candidate] (32.618 ms) : 0, 32618
Debugger [baseline] (68.319 ms) : 0, 68319
Debugger [candidate] (68.468 ms) : 0, 68468
Remote Config [baseline] (656.816 µs) : 0, 657
Remote Config [candidate] (654.017 µs) : 0, 654
Telemetry [baseline] (8.999 ms) : 0, 8999
Telemetry [candidate] (8.907 ms) : 0, 8907
Flare Poller [baseline] (3.703 ms) : 0, 3703
Flare Poller [candidate] (3.708 ms) : 0, 3708
section appsec
crashtracking [baseline] (1.199 ms) : 0, 1199
crashtracking [candidate] (1.195 ms) : 0, 1195
BytebuddyAgent [baseline] (686.993 ms) : 0, 686993
BytebuddyAgent [candidate] (693.863 ms) : 0, 693863
GlobalTracer [baseline] (258.314 ms) : 0, 258314
GlobalTracer [candidate] (260.525 ms) : 0, 260525
IAST [baseline] (24.394 ms) : 0, 24394
IAST [candidate] (24.761 ms) : 0, 24761
AppSec [baseline] (173.734 ms) : 0, 173734
AppSec [candidate] (175.867 ms) : 0, 175867
Debugger [baseline] (66.653 ms) : 0, 66653
Debugger [candidate] (67.211 ms) : 0, 67211
Remote Config [baseline] (705.658 µs) : 0, 706
Remote Config [candidate] (673.829 µs) : 0, 674
Telemetry [baseline] (8.75 ms) : 0, 8750
Telemetry [candidate] (8.95 ms) : 0, 8950
Flare Poller [baseline] (3.807 ms) : 0, 3807
Flare Poller [candidate] (3.923 ms) : 0, 3923
section iast
crashtracking [baseline] (1.192 ms) : 0, 1192
crashtracking [candidate] (1.19 ms) : 0, 1190
BytebuddyAgent [baseline] (796.398 ms) : 0, 796398
BytebuddyAgent [candidate] (791.693 ms) : 0, 791693
GlobalTracer [baseline] (256.967 ms) : 0, 256967
GlobalTracer [candidate] (255.678 ms) : 0, 255678
IAST [baseline] (27.345 ms) : 0, 27345
IAST [candidate] (27.033 ms) : 0, 27033
AppSec [baseline] (35.631 ms) : 0, 35631
AppSec [candidate] (35.397 ms) : 0, 35397
Debugger [baseline] (66.595 ms) : 0, 66595
Debugger [candidate] (66.058 ms) : 0, 66058
Remote Config [baseline] (540.745 µs) : 0, 541
Remote Config [candidate] (547.719 µs) : 0, 548
Telemetry [baseline] (8.516 ms) : 0, 8516
Telemetry [candidate] (8.517 ms) : 0, 8517
Flare Poller [baseline] (3.498 ms) : 0, 3498
Flare Poller [candidate] (3.481 ms) : 0, 3481
section profiling
crashtracking [baseline] (1.194 ms) : 0, 1194
crashtracking [candidate] (1.209 ms) : 0, 1209
BytebuddyAgent [baseline] (700.192 ms) : 0, 700192
BytebuddyAgent [candidate] (701.198 ms) : 0, 701198
GlobalTracer [baseline] (220.575 ms) : 0, 220575
GlobalTracer [candidate] (220.842 ms) : 0, 220842
AppSec [baseline] (32.163 ms) : 0, 32163
AppSec [candidate] (32.212 ms) : 0, 32212
Debugger [baseline] (68.047 ms) : 0, 68047
Debugger [candidate] (68.335 ms) : 0, 68335
Remote Config [baseline] (637.579 µs) : 0, 638
Remote Config [candidate] (665.513 µs) : 0, 666
Telemetry [baseline] (9.004 ms) : 0, 9004
Telemetry [candidate] (8.99 ms) : 0, 8990
Flare Poller [baseline] (3.797 ms) : 0, 3797
Flare Poller [candidate] (3.779 ms) : 0, 3779
ProfilingAgent [baseline] (97.788 ms) : 0, 97788
ProfilingAgent [candidate] (99.006 ms) : 0, 99006
Profiling [baseline] (98.359 ms) : 0, 98359
Profiling [candidate] (99.601 ms) : 0, 99601
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master community-pr-10020
git_commit_date 1764948592 1764956620
git_commit_sha 89639f7 82a1745
release_version 1.57.0-SNAPSHOT~89639f7e8c 1.57.0-SNAPSHOT~82a174513b
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1764958969 1764958969
ci_job_id 1273069920 1273069920
ci_pipeline_id 85048302 85048302
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-g2jotb7o 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-g2jotb7o 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 5 performance improvements and 0 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:profiling:high_load better
[-176.093µs; -59.513µs] or [-10.234%; -3.459%]
unstable
[-1145.296µs; -247.725µs] or [-22.090%; -4.778%]
unstable
[-50.567op/s; +450.692op/s] or [-2.398%; +21.370%]
1.603ms 4.488ms 2309.062op/s 1.721ms 5.185ms 2109.000op/s
scenario:load:insecure-bank:iast:high_load better
[-210.331µs; -78.389µs] or [-8.257%; -3.077%]
same
[-700.465µs; +42.831µs] or [-9.296%; +0.568%]
unstable
[-69.762op/s; +223.325op/s] or [-5.010%; +16.038%]
2.403ms 7.206ms 1469.250op/s 2.547ms 7.535ms 1392.469op/s
scenario:load:insecure-bank:iast_FULL:high_load better
[-377.705µs; -136.010µs] or [-7.250%; -2.611%]
unsure
[-856.651µs; -122.536µs] or [-6.934%; -0.992%]
unstable
[-42.749op/s; +109.499op/s] or [-5.408%; +13.854%]
4.953ms 11.864ms 823.781op/s 5.210ms 12.354ms 790.406op/s
scenario:load:petclinic:iast:high_load unsure
[-1198.421µs; -336.379µs] or [-6.553%; -1.839%]
better
[-2.157ms; -0.731ms] or [-7.202%; -2.442%]
unstable
[-14.518op/s; +35.143op/s] or [-5.780%; +13.992%]
17.520ms 28.503ms 261.469op/s 18.287ms 29.947ms 251.156op/s
scenario:load:petclinic:appsec:high_load better
[-1.870ms; -0.839ms] or [-9.575%; -4.298%]
unsure
[-2.086ms; -0.511ms] or [-6.662%; -1.632%]
unstable
[-8.930op/s; +38.367op/s] or [-3.786%; +16.266%]
18.176ms 30.011ms 250.594op/s 19.531ms 31.309ms 235.875op/s
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.57.0-SNAPSHOT~82a174513b, baseline=1.57.0-SNAPSHOT~89639f7e8c
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.216 ms) : 1204, 1228
.   : milestone, 1216,
iast (3.286 ms) : 3242, 3331
.   : milestone, 3286,
iast_FULL (5.849 ms) : 5792, 5907
.   : milestone, 5849,
iast_GLOBAL (3.656 ms) : 3597, 3716
.   : milestone, 3656,
profiling (2.145 ms) : 2126, 2164
.   : milestone, 2145,
tracing (1.839 ms) : 1823, 1855
.   : milestone, 1839,
section candidate
no_agent (1.193 ms) : 1182, 1204
.   : milestone, 1193,
iast (3.111 ms) : 3072, 3149
.   : milestone, 3111,
iast_FULL (5.61 ms) : 5555, 5665
.   : milestone, 5610,
iast_GLOBAL (3.717 ms) : 3657, 3777
.   : milestone, 3717,
profiling (1.952 ms) : 1936, 1969
.   : milestone, 1952,
tracing (1.804 ms) : 1789, 1819
.   : milestone, 1804,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.216 ms [1.204 ms, 1.228 ms] -
iast 3.286 ms [3.242 ms, 3.331 ms] 2.071 ms (170.3%)
iast_FULL 5.849 ms [5.792 ms, 5.907 ms] 4.634 ms (381.1%)
iast_GLOBAL 3.656 ms [3.597 ms, 3.716 ms] 2.441 ms (200.8%)
profiling 2.145 ms [2.126 ms, 2.164 ms] 929.117 µs (76.4%)
tracing 1.839 ms [1.823 ms, 1.855 ms] 623.259 µs (51.3%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.193 ms [1.182 ms, 1.204 ms] -
iast 3.111 ms [3.072 ms, 3.149 ms] 1.918 ms (160.8%)
iast_FULL 5.61 ms [5.555 ms, 5.665 ms] 4.417 ms (370.3%)
iast_GLOBAL 3.717 ms [3.657 ms, 3.777 ms] 2.524 ms (211.6%)
profiling 1.952 ms [1.936 ms, 1.969 ms] 759.401 µs (63.7%)
tracing 1.804 ms [1.789 ms, 1.819 ms] 611.449 µs (51.3%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.57.0-SNAPSHOT~82a174513b, baseline=1.57.0-SNAPSHOT~89639f7e8c
    dateFormat X
    axisFormat %s
section baseline
no_agent (18.234 ms) : 18051, 18417
.   : milestone, 18234,
appsec (19.797 ms) : 19596, 19998
.   : milestone, 19797,
code_origins (17.909 ms) : 17732, 18086
.   : milestone, 17909,
iast (18.584 ms) : 18395, 18772
.   : milestone, 18584,
profiling (18.78 ms) : 18586, 18974
.   : milestone, 18780,
tracing (17.817 ms) : 17638, 17996
.   : milestone, 17817,
section candidate
no_agent (18.491 ms) : 18298, 18684
.   : milestone, 18491,
appsec (18.621 ms) : 18431, 18811
.   : milestone, 18621,
code_origins (18.324 ms) : 18140, 18507
.   : milestone, 18324,
iast (17.842 ms) : 17665, 18019
.   : milestone, 17842,
profiling (18.462 ms) : 18277, 18647
.   : milestone, 18462,
tracing (17.864 ms) : 17686, 18043
.   : milestone, 17864,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 18.234 ms [18.051 ms, 18.417 ms] -
appsec 19.797 ms [19.596 ms, 19.998 ms] 1.563 ms (8.6%)
code_origins 17.909 ms [17.732 ms, 18.086 ms] -324.626 µs (-1.8%)
iast 18.584 ms [18.395 ms, 18.772 ms] 349.979 µs (1.9%)
profiling 18.78 ms [18.586 ms, 18.974 ms] 546.742 µs (3.0%)
tracing 17.817 ms [17.638 ms, 17.996 ms] -416.211 µs (-2.3%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 18.491 ms [18.298 ms, 18.684 ms] -
appsec 18.621 ms [18.431 ms, 18.811 ms] 129.759 µs (0.7%)
code_origins 18.324 ms [18.14 ms, 18.507 ms] -167.465 µs (-0.9%)
iast 17.842 ms [17.665 ms, 18.019 ms] -649.235 µs (-3.5%)
profiling 18.462 ms [18.277 ms, 18.647 ms] -28.964 µs (-0.2%)
tracing 17.864 ms [17.686 ms, 18.043 ms] -626.57 µs (-3.4%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master community-pr-10020
git_commit_date 1764948592 1764956620
git_commit_sha 89639f7 82a1745
release_version 1.57.0-SNAPSHOT~89639f7e8c 1.57.0-SNAPSHOT~82a174513b
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1764958566 1764958566
ci_job_id 1273069921 1273069921
ci_pipeline_id 85048302 85048302
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-fw8oh9xh 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-fw8oh9xh 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.57.0-SNAPSHOT~82a174513b, baseline=1.57.0-SNAPSHOT~89639f7e8c
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.032 s) : 15032000, 15032000
.   : milestone, 15032000,
appsec (14.972 s) : 14972000, 14972000
.   : milestone, 14972000,
iast (18.534 s) : 18534000, 18534000
.   : milestone, 18534000,
iast_GLOBAL (17.823 s) : 17823000, 17823000
.   : milestone, 17823000,
profiling (14.477 s) : 14477000, 14477000
.   : milestone, 14477000,
tracing (14.853 s) : 14853000, 14853000
.   : milestone, 14853000,
section candidate
no_agent (14.999 s) : 14999000, 14999000
.   : milestone, 14999000,
appsec (14.828 s) : 14828000, 14828000
.   : milestone, 14828000,
iast (18.081 s) : 18081000, 18081000
.   : milestone, 18081000,
iast_GLOBAL (18.141 s) : 18141000, 18141000
.   : milestone, 18141000,
profiling (14.665 s) : 14665000, 14665000
.   : milestone, 14665000,
tracing (14.819 s) : 14819000, 14819000
.   : milestone, 14819000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.032 s [15.032 s, 15.032 s] -
appsec 14.972 s [14.972 s, 14.972 s] -60.0 ms (-0.4%)
iast 18.534 s [18.534 s, 18.534 s] 3.502 s (23.3%)
iast_GLOBAL 17.823 s [17.823 s, 17.823 s] 2.791 s (18.6%)
profiling 14.477 s [14.477 s, 14.477 s] -555.0 ms (-3.7%)
tracing 14.853 s [14.853 s, 14.853 s] -179.0 ms (-1.2%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.999 s [14.999 s, 14.999 s] -
appsec 14.828 s [14.828 s, 14.828 s] -171.0 ms (-1.1%)
iast 18.081 s [18.081 s, 18.081 s] 3.082 s (20.5%)
iast_GLOBAL 18.141 s [18.141 s, 18.141 s] 3.142 s (20.9%)
profiling 14.665 s [14.665 s, 14.665 s] -334.0 ms (-2.2%)
tracing 14.819 s [14.819 s, 14.819 s] -180.0 ms (-1.2%)
Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.57.0-SNAPSHOT~82a174513b, baseline=1.57.0-SNAPSHOT~89639f7e8c
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.472 ms) : 1460, 1484
.   : milestone, 1472,
appsec (3.697 ms) : 3480, 3914
.   : milestone, 3697,
iast (2.221 ms) : 2156, 2286
.   : milestone, 2221,
iast_GLOBAL (2.258 ms) : 2193, 2323
.   : milestone, 2258,
profiling (2.092 ms) : 2037, 2147
.   : milestone, 2092,
tracing (2.042 ms) : 1991, 2093
.   : milestone, 2042,
section candidate
no_agent (1.474 ms) : 1463, 1486
.   : milestone, 1474,
appsec (3.641 ms) : 3425, 3857
.   : milestone, 3641,
iast (2.206 ms) : 2142, 2271
.   : milestone, 2206,
iast_GLOBAL (2.252 ms) : 2187, 2318
.   : milestone, 2252,
profiling (2.049 ms) : 1997, 2101
.   : milestone, 2049,
tracing (2.04 ms) : 1989, 2091
.   : milestone, 2040,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.472 ms [1.46 ms, 1.484 ms] -
appsec 3.697 ms [3.48 ms, 3.914 ms] 2.225 ms (151.1%)
iast 2.221 ms [2.156 ms, 2.286 ms] 748.853 µs (50.9%)
iast_GLOBAL 2.258 ms [2.193 ms, 2.323 ms] 786.027 µs (53.4%)
profiling 2.092 ms [2.037 ms, 2.147 ms] 619.897 µs (42.1%)
tracing 2.042 ms [1.991 ms, 2.093 ms] 569.835 µs (38.7%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.474 ms [1.463 ms, 1.486 ms] -
appsec 3.641 ms [3.425 ms, 3.857 ms] 2.167 ms (147.0%)
iast 2.206 ms [2.142 ms, 2.271 ms] 732.18 µs (49.7%)
iast_GLOBAL 2.252 ms [2.187 ms, 2.318 ms] 777.979 µs (52.8%)
profiling 2.049 ms [1.997 ms, 2.101 ms] 574.869 µs (39.0%)
tracing 2.04 ms [1.989 ms, 2.091 ms] 566.089 µs (38.4%)

  Allow Kafka producers to continue existing traces by extracting trace context from record headers and using it as parent for the produce span. This enables distributed tracing when messages are forwarded between services with pre-existing context.
@ygree ygree merged commit 32c05de into master Dec 5, 2025
541 checks passed
@ygree ygree deleted the community-pr-10020 branch December 5, 2025 19:34
@github-actions github-actions bot added this to the 1.57.0 milestone Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

inst: kafka Kafka instrumentation tag: community Community contribution type: bug Bug report and fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants