Skip to content

Introduces testJvmConstraints Gradle extension to replace extra properties - #9892

Merged
bric3 merged 19 commits into
masterfrom
bdu/from-extra-props-to-extensions
Nov 10, 2025
Merged

Introduces testJvmConstraints Gradle extension to replace extra properties#9892
bric3 merged 19 commits into
masterfrom
bdu/from-extra-props-to-extensions

Conversation

@bric3

Copy link
Copy Markdown
Contributor

What Does This Do

Refactor the mechanism that relied on extra properties like minJavaVersionForTests to a Gradle extension mechanism.

Also, minJavaVersionForTests was serving two distinct purpose

  • Restricting the range JDK on which the test can run
  • Adding and configuring a source set

This PR explicitly segregates these two concerns.

Motivation

The way the extra properties were programmed prevents to remove some project.afterEvaluate calls. And also prevents to migrate to convention plugins (these are ultimately pre-compiled script plugins).

Additional Notes

At this time the logic remains very similar, and focuses on the refactoring from extra properties (ext { }) to extensions to avoid too many change.

However, in the future it might be interesting to revisit the way the JDK is specified, from JavaVersion to something more toolchain aware via org.gradle.jvm.toolchain.JavaToolchainSpec.

Some projects still rely on regular Gradle directives to set the sourceset. These will be migrate in a follow-up PR :

  • dd-java-agent/agent-bootstrap/build.gradle
  • dd-java-agent/agent-builder/build.gradle
  • dd-java-agent/build.gradle
  • dd-java-agent/instrumentation/mule-4.5/build.gradle
  • dd-java-agent/instrumentation/play/play-2.4/build.gradle
  • dd-java-agent/instrumentation/play/play-2.6/build.gradle

Contributor Checklist

Jira ticket: [PROJ-IDENT]

@github-actions

Copy link
Copy Markdown
Contributor

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.

@bric3bric3 added type: feature Enhancements and improvements tag: no release notes Changes to exclude from release notes labels Nov 3, 2025
@bric3bric3 added the comp: tooling Build & Tooling label Nov 3, 2025
tracerJava {
addSourceSetFor(JavaVersion.VERSION_11)
}

@sarahchen6sarahchen6Nov 4, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

just curious -- how come in some files like this one, we use tracerJava instead of testJvmConstraint like this:

testJvmConstraint {
minJavaVersion = JavaVersion.VERSION_11
}

?

e.g. dd-java-agent/instrumentation/java/java-lang/java-lang-17.0/build.gradle now uses testJvmConstraint vs. dd-java-agent/instrumentation/jetty/jetty-server/jetty-server-12.0/build.gradle now uses tracerJava whereas both previously had:

ext {
minJavaVersionForTests = JavaVersion.VERSION_17
}

and e.g. dd-java-agent/instrumentation/vertx/vertx-web/vertx-web-5.0/build.gradle has both

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Good catch !

Before minJavaVersionForTests was used for two purposes, as a constraint testJvm only, i.e. they were no java source with this version.

When there are source set, addSourceSetFor actually sets by default the minimum JVM for test as well.

I chose to keep things explicit. But thinking about it maybe I can make another pass to avoid setting this twice.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I see. Thanks for the clarification!

Comment threadinternal-api/internal-api-9/build.gradle.kts
Comment threadgradle/java_no_deps.gradle
Comment threadgradle/java_no_deps.gradle

@sarahchen6sarahchen6 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pre-approving because I think these suggestions could be included in a follow-up PR as well, but wow thanks for this great build improvement!

Comment threadbuildSrc/src/main/kotlin/datadog.test-jvm-contraints.gradle.kts Outdated

@bric3bric3 left a comment

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Thanks for the review

Comment threadbuildSrc/src/main/kotlin/datadog.test-jvm-contraints.gradle.kts Outdated
tracerJava {
addSourceSetFor(JavaVersion.VERSION_11)
}

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Good catch !

Before minJavaVersionForTests was used for two purposes, as a constraint testJvm only, i.e. they were no java source with this version.

When there are source set, addSourceSetFor actually sets by default the minimum JVM for test as well.

I chose to keep things explicit. But thinking about it maybe I can make another pass to avoid setting this twice.

Comment threadinternal-api/internal-api-9/build.gradle.kts
Comment threadgradle/java_no_deps.gradle
@bric3
bric3 enabled auto-merge (squash) November 10, 2025 09:02
@bric3bric3 changed the title Introduces testJvmConstraint Gradle extension to replace extra propertiesIntroduces testJvmConstraints Gradle extension to replace extra propertiesNov 10, 2025
…s-to-extensions
# Conflicts:
#	dd-java-agent/instrumentation/jakarta-jms/build.gradle
#	dd-java-agent/instrumentation/karate/build.gradle
#	dd-java-agent/instrumentation/selenium/build.gradle
#	dd-java-agent/instrumentation/testng/testng-7/build.gradle
@bric3
bric3force-pushed the bdu/from-extra-props-to-extensions branch from 97d50b4 to b2345acCompareNovember 10, 2025 09:08
@datadog-official

datadog-officialBot commented Nov 10, 2025

Copy link
Copy Markdown
Contributor

🎯 Code Coverage
Patch Coverage: 100.00%
Total Coverage: 59.60% (-0.03%)

View detailed report

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: b2345ac | Docs | Datadog PR Page | Was this helpful? Give us feedback!

@amarzialiamarziali left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is really neat and now declaring test compatibilities with that kind of directive is way more clear! Thanks for having refactored this. As a future improvement (not needed for this PR) it could be nice to change the documentation

@pr-commenter

Copy link
Copy Markdown

Kafka / producer-benchmark

Parameters

BaselineCandidate
baseline_or_candidatebaselinecandidate
git_branchmasterbdu/from-extra-props-to-extensions
git_commit_date17627384861762765724
git_commit_sha0ab0769b2345ac
See matching parameters
BaselineCandidate
ci_job_date17627668411762766841
ci_job_id12247814901224781490
ci_pipeline_id8177229381772293
cpu_modelIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHzIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
jdkVersion11.0.2511.0.25
jmhVersion1.361.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
vmNameOpenJDK 64-Bit Server VMOpenJDK 64-Bit Server VM
vmVersion11.0.25+9-post-Ubuntu-1ubuntu122.0411.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.benchProducesame
scenario:only-tracing-dsm-disabled-benchmarks/KafkaProduceBenchmark.benchProducesame
scenario:only-tracing-dsm-enabled-benchmarks/KafkaProduceBenchmark.benchProducesame

@pr-commenter

Copy link
Copy Markdown

Benchmarks

Startup

Parameters

BaselineCandidate
baseline_or_candidatebaselinecandidate
git_branchmasterbdu/from-extra-props-to-extensions
git_commit_date17627384861762765724
git_commit_sha0ab0769b2345ac
release_version1.56.0-SNAPSHOT~0ab0769ee01.55.0-SNAPSHOT~b2345ac263
See matching parameters
BaselineCandidate
applicationinsecure-bankinsecure-bank
ci_job_date17627676041762767604
ci_job_id12247814811224781481
ci_pipeline_id8177229381772293
cpu_modelIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHzIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_versionLinux runner-zfyrx7zua-project-304-concurrent-0-0pf372ys 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/LinuxLinux runner-zfyrx7zua-project-304-concurrent-0-0pf372ys 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
moduleAgentAgent
parentNoneNone

Summary

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

Startup time reports for insecure-bank
gantt
title insecure-bank - global startup overhead: candidate=1.55.0-SNAPSHOT~b2345ac263, baseline=1.56.0-SNAPSHOT~0ab0769ee0
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.05 s) : 0, 1050031
Total [baseline] (8.645 s) : 0, 8644890
Agent [candidate] (1.062 s) : 0, 1062356
Total [candidate] (8.676 s) : 0, 8676354
section iast
Agent [baseline] (1.177 s) : 0, 1176669
Total [baseline] (9.261 s) : 0, 9261368
Agent [candidate] (1.185 s) : 0, 1184858
Total [candidate] (9.29 s) : 0, 9289516
Loading
  • baseline results
ModuleVariantDurationΔ tracing
Agenttracing1.05 s-
Agentiast1.177 s126.638 ms (12.1%)
Totaltracing8.645 s-
Totaliast9.261 s616.478 ms (7.1%)
  • candidate results
ModuleVariantDurationΔ tracing
Agenttracing1.062 s-
Agentiast1.185 s122.502 ms (11.5%)
Totaltracing8.676 s-
Totaliast9.29 s613.162 ms (7.1%)
gantt
title insecure-bank - break down per module: candidate=1.55.0-SNAPSHOT~b2345ac263, baseline=1.56.0-SNAPSHOT~0ab0769ee0
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.476 ms) : 0, 1476
crashtracking [candidate] (1.481 ms) : 0, 1481
BytebuddyAgent [baseline] (707.798 ms) : 0, 707798
BytebuddyAgent [candidate] (715.071 ms) : 0, 715071
GlobalTracer [baseline] (245.781 ms) : 0, 245781
GlobalTracer [candidate] (248.928 ms) : 0, 248928
AppSec [baseline] (32.233 ms) : 0, 32233
AppSec [candidate] (32.93 ms) : 0, 32930
Debugger [baseline] (6.349 ms) : 0, 6349
Debugger [candidate] (6.547 ms) : 0, 6547
Remote Config [baseline] (738.2 µs) : 0, 738
Remote Config [candidate] (713.076 µs) : 0, 713
Telemetry [baseline] (15.04 ms) : 0, 15040
Telemetry [candidate] (13.352 ms) : 0, 13352
Flare Poller [baseline] (5.769 ms) : 0, 5769
Flare Poller [candidate] (8.183 ms) : 0, 8183
section iast
crashtracking [baseline] (1.46 ms) : 0, 1460
crashtracking [candidate] (1.449 ms) : 0, 1449
BytebuddyAgent [baseline] (826.806 ms) : 0, 826806
BytebuddyAgent [candidate] (831.042 ms) : 0, 831042
GlobalTracer [baseline] (233.833 ms) : 0, 233833
GlobalTracer [candidate] (236.332 ms) : 0, 236332
AppSec [baseline] (26.219 ms) : 0, 26219
AppSec [candidate] (28.208 ms) : 0, 28208
Debugger [baseline] (6.004 ms) : 0, 6004
Debugger [candidate] (6.002 ms) : 0, 6002
Remote Config [baseline] (595.028 µs) : 0, 595
Remote Config [candidate] (601.26 µs) : 0, 601
Telemetry [baseline] (8.27 ms) : 0, 8270
Telemetry [candidate] (8.535 ms) : 0, 8535
Flare Poller [baseline] (4.164 ms) : 0, 4164
Flare Poller [candidate] (4.099 ms) : 0, 4099
IAST [baseline] (34.632 ms) : 0, 34632
IAST [candidate] (33.805 ms) : 0, 33805
Loading
Startup time reports for petclinic
gantt
title petclinic - global startup overhead: candidate=1.55.0-SNAPSHOT~b2345ac263, baseline=1.56.0-SNAPSHOT~0ab0769ee0
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.053 s) : 0, 1052969
Total [baseline] (10.805 s) : 0, 10805166
Agent [candidate] (1.047 s) : 0, 1047065
Total [candidate] (10.798 s) : 0, 10798346
section appsec
Agent [baseline] (1.228 s) : 0, 1228464
Total [baseline] (10.895 s) : 0, 10894726
Agent [candidate] (1.224 s) : 0, 1224144
Total [candidate] (10.944 s) : 0, 10943949
section iast
Agent [baseline] (1.176 s) : 0, 1176453
Total [baseline] (11.128 s) : 0, 11127514
Agent [candidate] (1.187 s) : 0, 1186765
Total [candidate] (11.264 s) : 0, 11264423
section profiling
Agent [baseline] (1.203 s) : 0, 1202794
Total [baseline] (10.973 s) : 0, 10972532
Agent [candidate] (1.199 s) : 0, 1198748
Total [candidate] (10.978 s) : 0, 10977524
Loading
  • baseline results
ModuleVariantDurationΔ tracing
Agenttracing1.053 s-
Agentappsec1.228 s175.495 ms (16.7%)
Agentiast1.176 s123.484 ms (11.7%)
Agentprofiling1.203 s149.825 ms (14.2%)
Totaltracing10.805 s-
Totalappsec10.895 s89.56 ms (0.8%)
Totaliast11.128 s322.348 ms (3.0%)
Totalprofiling10.973 s167.366 ms (1.5%)
  • candidate results
ModuleVariantDurationΔ tracing
Agenttracing1.047 s-
Agentappsec1.224 s177.079 ms (16.9%)
Agentiast1.187 s139.7 ms (13.3%)
Agentprofiling1.199 s151.684 ms (14.5%)
Totaltracing10.798 s-
Totalappsec10.944 s145.604 ms (1.3%)
Totaliast11.264 s466.078 ms (4.3%)
Totalprofiling10.978 s179.178 ms (1.7%)
gantt
title petclinic - break down per module: candidate=1.55.0-SNAPSHOT~b2345ac263, baseline=1.56.0-SNAPSHOT~0ab0769ee0
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.47 ms) : 0, 1470
crashtracking [candidate] (1.454 ms) : 0, 1454
BytebuddyAgent [baseline] (708.635 ms) : 0, 708635
BytebuddyAgent [candidate] (704.271 ms) : 0, 704271
GlobalTracer [baseline] (246.942 ms) : 0, 246942
GlobalTracer [candidate] (245.963 ms) : 0, 245963
AppSec [baseline] (32.656 ms) : 0, 32656
AppSec [candidate] (32.495 ms) : 0, 32495
Debugger [baseline] (6.448 ms) : 0, 6448
Debugger [candidate] (6.391 ms) : 0, 6391
Remote Config [baseline] (716.436 µs) : 0, 716
Remote Config [candidate] (723.212 µs) : 0, 723
Telemetry [baseline] (12.248 ms) : 0, 12248
Telemetry [candidate] (14.395 ms) : 0, 14395
Flare Poller [baseline] (8.946 ms) : 0, 8946
Flare Poller [candidate] (6.6 ms) : 0, 6600
section appsec
crashtracking [baseline] (1.471 ms) : 0, 1471
crashtracking [candidate] (1.455 ms) : 0, 1455
BytebuddyAgent [baseline] (735.118 ms) : 0, 735118
BytebuddyAgent [candidate] (730.473 ms) : 0, 730473
GlobalTracer [baseline] (238.058 ms) : 0, 238058
GlobalTracer [candidate] (237.481 ms) : 0, 237481
AppSec [baseline] (174.634 ms) : 0, 174634
AppSec [candidate] (175.611 ms) : 0, 175611
Debugger [baseline] (5.994 ms) : 0, 5994
Debugger [candidate] (6.025 ms) : 0, 6025
Remote Config [baseline] (647.257 µs) : 0, 647
Remote Config [candidate] (652.915 µs) : 0, 653
Telemetry [baseline] (8.574 ms) : 0, 8574
Telemetry [candidate] (8.632 ms) : 0, 8632
Flare Poller [baseline] (3.989 ms) : 0, 3989
Flare Poller [candidate] (4.021 ms) : 0, 4021
IAST [baseline] (24.852 ms) : 0, 24852
IAST [candidate] (24.809 ms) : 0, 24809
section iast
crashtracking [baseline] (1.458 ms) : 0, 1458
crashtracking [candidate] (1.465 ms) : 0, 1465
BytebuddyAgent [baseline] (825.509 ms) : 0, 825509
BytebuddyAgent [candidate] (834.22 ms) : 0, 834220
GlobalTracer [baseline] (234.004 ms) : 0, 234004
GlobalTracer [candidate] (235.642 ms) : 0, 235642
AppSec [baseline] (28.305 ms) : 0, 28305
AppSec [candidate] (27.168 ms) : 0, 27168
Debugger [baseline] (6.03 ms) : 0, 6030
Debugger [candidate] (6.056 ms) : 0, 6056
Remote Config [baseline] (601.499 µs) : 0, 601
Remote Config [candidate] (609.531 µs) : 0, 610
Telemetry [baseline] (8.407 ms) : 0, 8407
Telemetry [candidate] (8.407 ms) : 0, 8407
Flare Poller [baseline] (4.113 ms) : 0, 4113
Flare Poller [candidate] (4.127 ms) : 0, 4127
IAST [baseline] (33.283 ms) : 0, 33283
IAST [candidate] (34.217 ms) : 0, 34217
section profiling
crashtracking [baseline] (1.474 ms) : 0, 1474
crashtracking [candidate] (1.462 ms) : 0, 1462
BytebuddyAgent [baseline] (735.273 ms) : 0, 735273
BytebuddyAgent [candidate] (732.973 ms) : 0, 732973
GlobalTracer [baseline] (223.155 ms) : 0, 223155
GlobalTracer [candidate] (223.23 ms) : 0, 223230
AppSec [baseline] (32.294 ms) : 0, 32294
AppSec [candidate] (32.131 ms) : 0, 32131
Debugger [baseline] (8.356 ms) : 0, 8356
Debugger [candidate] (8.205 ms) : 0, 8205
Remote Config [baseline] (729.404 µs) : 0, 729
Remote Config [candidate] (725.925 µs) : 0, 726
Telemetry [baseline] (14.544 ms) : 0, 14544
Telemetry [candidate] (14.481 ms) : 0, 14481
Flare Poller [baseline] (4.111 ms) : 0, 4111
Flare Poller [candidate] (4.171 ms) : 0, 4171
ProfilingAgent [baseline] (112.138 ms) : 0, 112138
ProfilingAgent [candidate] (111.263 ms) : 0, 111263
Profiling [baseline] (112.802 ms) : 0, 112802
Profiling [candidate] (111.92 ms) : 0, 111920
Loading

Load

Parameters

BaselineCandidate
baseline_or_candidatebaselinecandidate
git_branchmasterbdu/from-extra-props-to-extensions
git_commit_date17627384861762765724
git_commit_sha0ab0769b2345ac
release_version1.56.0-SNAPSHOT~0ab0769ee01.55.0-SNAPSHOT~b2345ac263
See matching parameters
BaselineCandidate
applicationinsecure-bankinsecure-bank
ci_job_date17627680941762768094
ci_job_id12247814831224781483
ci_pipeline_id8177229381772293
cpu_modelIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHzIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_versionLinux runner-zfyrx7zua-project-304-concurrent-1-yhjto97a 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/LinuxLinux runner-zfyrx7zua-project-304-concurrent-1-yhjto97a 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 2 performance improvements and 3 performance regressions! Performance is the same for 7 metrics, 12 unstable metrics.

scenarioΔ mean http_req_durationΔ mean throughputcandidate mean http_req_durationcandidate mean throughputbaseline mean http_req_durationbaseline mean throughput
scenario:load:insecure-bank:profiling:high_loadbetter
[-412.125µs; -368.560µs] or [-17.649%; -15.783%]
unstable
[+120.013op/s; +632.237op/s] or [+6.178%; +32.546%]
1.945ms2318.719op/s2.335ms1942.594op/s
scenario:load:petclinic:no_agent:high_loadworse
[+432.091µs; +865.502µs] or [+2.260%; +4.527%]
unstable
[-33.944op/s; +18.069op/s] or [-13.905%; +7.402%]
19.768ms236.188op/s19.119ms244.125op/s
scenario:load:petclinic:profiling:high_loadworse
[+774.065µs; +1195.053µs] or [+4.155%; +6.415%]
unstable
[-38.469op/s; +13.407op/s] or [-15.355%; +5.351%]
19.613ms238.000op/s18.628ms250.531op/s
scenario:load:petclinic:iast:high_loadworse
[+732.855µs; +1125.678µs] or [+4.124%; +6.335%]
unstable
[-39.570op/s; +13.757op/s] or [-15.071%; +5.240%]
18.698ms249.656op/s17.769ms262.562op/s
scenario:load:petclinic:tracing:high_loadbetter
[-1.382ms; -0.982ms] or [-7.322%; -5.206%]
unstable
[-10.717op/s; +43.592op/s] or [-4.332%; +17.622%]
17.688ms263.812op/s18.870ms247.375op/s
Request duration reports for insecure-bank
gantt
title insecure-bank - request duration [CI 0.99] : candidate=1.55.0-SNAPSHOT~b2345ac263, baseline=1.56.0-SNAPSHOT~0ab0769ee0
dateFormat X
axisFormat %s
section baseline
no_agent (1.201 ms) : 1189, 1213
. : milestone, 1201,
iast (3.205 ms) : 3158, 3252
. : milestone, 3205,
iast_FULL (5.833 ms) : 5775, 5891
. : milestone, 5833,
iast_GLOBAL (3.651 ms) : 3601, 3701
. : milestone, 3651,
profiling (2.335 ms) : 2312, 2358
. : milestone, 2335,
tracing (1.834 ms) : 1819, 1849
. : milestone, 1834,
section candidate
no_agent (1.187 ms) : 1176, 1199
. : milestone, 1187,
iast (3.28 ms) : 3241, 3319
. : milestone, 3280,
iast_FULL (5.788 ms) : 5729, 5846
. : milestone, 5788,
iast_GLOBAL (3.64 ms) : 3586, 3693
. : milestone, 3640,
profiling (1.945 ms) : 1928, 1962
. : milestone, 1945,
tracing (1.823 ms) : 1809, 1838
. : milestone, 1823,
Loading
  • baseline results
VariantRequest duration [CI 0.99]Δ no_agent
no_agent1.201 ms [1.189 ms, 1.213 ms]-
iast3.205 ms [3.158 ms, 3.252 ms]2.004 ms (166.8%)
iast_FULL5.833 ms [5.775 ms, 5.891 ms]4.632 ms (385.7%)
iast_GLOBAL3.651 ms [3.601 ms, 3.701 ms]2.45 ms (204.0%)
profiling2.335 ms [2.312 ms, 2.358 ms]1.134 ms (94.4%)
tracing1.834 ms [1.819 ms, 1.849 ms]633.034 µs (52.7%)
  • candidate results
VariantRequest duration [CI 0.99]Δ no_agent
no_agent1.187 ms [1.176 ms, 1.199 ms]-
iast3.28 ms [3.241 ms, 3.319 ms]2.093 ms (176.3%)
iast_FULL5.788 ms [5.729 ms, 5.846 ms]4.6 ms (387.5%)
iast_GLOBAL3.64 ms [3.586 ms, 3.693 ms]2.452 ms (206.6%)
profiling1.945 ms [1.928 ms, 1.962 ms]757.592 µs (63.8%)
tracing1.823 ms [1.809 ms, 1.838 ms]636.114 µs (53.6%)
Request duration reports for petclinic
gantt
title petclinic - request duration [CI 0.99] : candidate=1.55.0-SNAPSHOT~b2345ac263, baseline=1.56.0-SNAPSHOT~0ab0769ee0
dateFormat X
axisFormat %s
section baseline
no_agent (19.119 ms) : 18923, 19315
. : milestone, 19119,
appsec (18.92 ms) : 18728, 19113
. : milestone, 18920,
code_origins (17.757 ms) : 17581, 17934
. : milestone, 17757,
iast (17.769 ms) : 17592, 17945
. : milestone, 17769,
profiling (18.628 ms) : 18440, 18817
. : milestone, 18628,
tracing (18.87 ms) : 18676, 19065
. : milestone, 18870,
section candidate
no_agent (19.768 ms) : 19561, 19974
. : milestone, 19768,
appsec (18.689 ms) : 18499, 18879
. : milestone, 18689,
code_origins (17.618 ms) : 17441, 17796
. : milestone, 17618,
iast (18.698 ms) : 18509, 18886
. : milestone, 18698,
profiling (19.613 ms) : 19411, 19815
. : milestone, 19613,
tracing (17.688 ms) : 17512, 17865
. : milestone, 17688,
Loading
  • baseline results
VariantRequest duration [CI 0.99]Δ no_agent
no_agent19.119 ms [18.923 ms, 19.315 ms]-
appsec18.92 ms [18.728 ms, 19.113 ms]-198.624 µs (-1.0%)
code_origins17.757 ms [17.581 ms, 17.934 ms]-1.361 ms (-7.1%)
iast17.769 ms [17.592 ms, 17.945 ms]-1.35 ms (-7.1%)
profiling18.628 ms [18.44 ms, 18.817 ms]-490.559 µs (-2.6%)
tracing18.87 ms [18.676 ms, 19.065 ms]-248.429 µs (-1.3%)
  • candidate results
VariantRequest duration [CI 0.99]Δ no_agent
no_agent19.768 ms [19.561 ms, 19.974 ms]-
appsec18.689 ms [18.499 ms, 18.879 ms]-1.079 ms (-5.5%)
code_origins17.618 ms [17.441 ms, 17.796 ms]-2.149 ms (-10.9%)
iast18.698 ms [18.509 ms, 18.886 ms]-1.07 ms (-5.4%)
profiling19.613 ms [19.411 ms, 19.815 ms]-154.797 µs (-0.8%)
tracing17.688 ms [17.512 ms, 17.865 ms]-2.079 ms (-10.5%)

Dacapo

Parameters

BaselineCandidate
baseline_or_candidatebaselinecandidate
git_branchmasterbdu/from-extra-props-to-extensions
git_commit_date17627384861762765724
git_commit_sha0ab0769b2345ac
release_version1.56.0-SNAPSHOT~0ab0769ee01.55.0-SNAPSHOT~b2345ac263
See matching parameters
BaselineCandidate
applicationbiojavabiojava
ci_job_date17627677371762767737
ci_job_id12247814851224781485
ci_pipeline_id8177229381772293
cpu_modelIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHzIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_versionLinux runner-zfyrx7zua-project-304-concurrent-2-8zp35tot 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/LinuxLinux runner-zfyrx7zua-project-304-concurrent-2-8zp35tot 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.55.0-SNAPSHOT~b2345ac263, baseline=1.56.0-SNAPSHOT~0ab0769ee0
dateFormat X
axisFormat %s
section baseline
no_agent (14.767 s) : 14767000, 14767000
. : milestone, 14767000,
appsec (14.874 s) : 14874000, 14874000
. : milestone, 14874000,
iast (18.587 s) : 18587000, 18587000
. : milestone, 18587000,
iast_GLOBAL (18.138 s) : 18138000, 18138000
. : milestone, 18138000,
profiling (15.068 s) : 15068000, 15068000
. : milestone, 15068000,
tracing (14.923 s) : 14923000, 14923000
. : milestone, 14923000,
section candidate
no_agent (14.977 s) : 14977000, 14977000
. : milestone, 14977000,
appsec (14.943 s) : 14943000, 14943000
. : milestone, 14943000,
iast (18.376 s) : 18376000, 18376000
. : milestone, 18376000,
iast_GLOBAL (17.839 s) : 17839000, 17839000
. : milestone, 17839000,
profiling (14.979 s) : 14979000, 14979000
. : milestone, 14979000,
tracing (14.892 s) : 14892000, 14892000
. : milestone, 14892000,
Loading
  • baseline results
VariantExecution Time [CI 0.99]Δ no_agent
no_agent14.767 s [14.767 s, 14.767 s]-
appsec14.874 s [14.874 s, 14.874 s]107.0 ms (0.7%)
iast18.587 s [18.587 s, 18.587 s]3.82 s (25.9%)
iast_GLOBAL18.138 s [18.138 s, 18.138 s]3.371 s (22.8%)
profiling15.068 s [15.068 s, 15.068 s]301.0 ms (2.0%)
tracing14.923 s [14.923 s, 14.923 s]156.0 ms (1.1%)
  • candidate results
VariantExecution Time [CI 0.99]Δ no_agent
no_agent14.977 s [14.977 s, 14.977 s]-
appsec14.943 s [14.943 s, 14.943 s]-34.0 ms (-0.2%)
iast18.376 s [18.376 s, 18.376 s]3.399 s (22.7%)
iast_GLOBAL17.839 s [17.839 s, 17.839 s]2.862 s (19.1%)
profiling14.979 s [14.979 s, 14.979 s]2.0 ms (0.0%)
tracing14.892 s [14.892 s, 14.892 s]-85.0 ms (-0.6%)
Execution time for tomcat
gantt
title tomcat - execution time [CI 0.99] : candidate=1.55.0-SNAPSHOT~b2345ac263, baseline=1.56.0-SNAPSHOT~0ab0769ee0
dateFormat X
axisFormat %s
section baseline
no_agent (1.473 ms) : 1461, 1484
. : milestone, 1473,
appsec (3.692 ms) : 3474, 3910
. : milestone, 3692,
iast (2.206 ms) : 2143, 2270
. : milestone, 2206,
iast_GLOBAL (2.235 ms) : 2171, 2298
. : milestone, 2235,
profiling (2.071 ms) : 2017, 2124
. : milestone, 2071,
tracing (2.03 ms) : 1980, 2080
. : milestone, 2030,
section candidate
no_agent (1.471 ms) : 1460, 1483
. : milestone, 1471,
appsec (3.709 ms) : 3491, 3928
. : milestone, 3709,
iast (2.206 ms) : 2142, 2269
. : milestone, 2206,
iast_GLOBAL (2.248 ms) : 2184, 2311
. : milestone, 2248,
profiling (2.075 ms) : 2022, 2128
. : milestone, 2075,
tracing (2.016 ms) : 1966, 2065
. : milestone, 2016,
Loading
  • baseline results
VariantExecution Time [CI 0.99]Δ no_agent
no_agent1.473 ms [1.461 ms, 1.484 ms]-
appsec3.692 ms [3.474 ms, 3.91 ms]2.219 ms (150.7%)
iast2.206 ms [2.143 ms, 2.27 ms]733.293 µs (49.8%)
iast_GLOBAL2.235 ms [2.171 ms, 2.298 ms]761.601 µs (51.7%)
profiling2.071 ms [2.017 ms, 2.124 ms]597.601 µs (40.6%)
tracing2.03 ms [1.98 ms, 2.08 ms]557.334 µs (37.8%)
  • candidate results
VariantExecution Time [CI 0.99]Δ no_agent
no_agent1.471 ms [1.46 ms, 1.483 ms]-
appsec3.709 ms [3.491 ms, 3.928 ms]2.238 ms (152.1%)
iast2.206 ms [2.142 ms, 2.269 ms]734.297 µs (49.9%)
iast_GLOBAL2.248 ms [2.184 ms, 2.311 ms]776.312 µs (52.8%)
profiling2.075 ms [2.022 ms, 2.128 ms]603.835 µs (41.0%)
tracing2.016 ms [1.966 ms, 2.065 ms]544.223 µs (37.0%)

@pr-commenter

Copy link
Copy Markdown

Kafka / consumer-benchmark

Parameters

BaselineCandidate
baseline_or_candidatebaselinecandidate
git_branchmasterbdu/from-extra-props-to-extensions
git_commit_date17627384861762765724
git_commit_sha0ab0769b2345ac
See matching parameters
BaselineCandidate
ci_job_date17627668751762766875
ci_job_id12247814911224781491
ci_pipeline_id8177229381772293
cpu_modelIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHzIntel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
jdkVersion11.0.2511.0.25
jmhVersion1.361.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
vmNameOpenJDK 64-Bit Server VMOpenJDK 64-Bit Server VM
vmVersion11.0.25+9-post-Ubuntu-1ubuntu122.0411.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.benchConsumesame
scenario:only-tracing-dsm-disabled-benchmarks/KafkaConsumerBenchmark.benchConsumesame
scenario:only-tracing-dsm-enabled-benchmarks/KafkaConsumerBenchmark.benchConsumesame

@bric3
bric3 merged commit 4255dc0 into masterNov 10, 2025
541 checks passed
@bric3
bric3 deleted the bdu/from-extra-props-to-extensions branch November 10, 2025 10:00
@github-actionsgithub-actionsBot added this to the 1.56.0 milestone Nov 10, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: toolingBuild & Toolingtag: no release notesChanges to exclude from release notestype: featureEnhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@bric3@amarziali@sarahchen6@AlexeyKuznetsov-DD