-
Notifications
You must be signed in to change notification settings - Fork 318
Refactored tests to Kotlin. #10015
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
Merged
Merged
Refactored tests to Kotlin. #10015
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bric3
approved these changes
Nov 21, 2025
buildSrc/src/main/kotlin/datadog/gradle/plugin/muzzle/VersionSet.kt
Outdated
Show resolved
Hide resolved
buildSrc/src/test/kotlin/datadog/gradle/plugin/muzzle/RangeQueryTest.kt
Outdated
Show resolved
Hide resolved
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 60 metrics, 5 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.57.0-SNAPSHOT~c186d8b6af, baseline=1.57.0-SNAPSHOT~614cc721f6
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.109 s) : 0, 1108980
Total [baseline] (10.843 s) : 0, 10843107
Agent [candidate] (1.107 s) : 0, 1107056
Total [candidate] (10.859 s) : 0, 10859469
section appsec
Agent [baseline] (1.287 s) : 0, 1286759
Total [baseline] (11.03 s) : 0, 11029674
Agent [candidate] (1.285 s) : 0, 1284808
Total [candidate] (11.193 s) : 0, 11192880
section iast
Agent [baseline] (1.25 s) : 0, 1249516
Total [baseline] (11.235 s) : 0, 11235083
Agent [candidate] (1.255 s) : 0, 1254644
Total [candidate] (11.353 s) : 0, 11352663
section profiling
Agent [baseline] (1.232 s) : 0, 1232287
Total [baseline] (11.133 s) : 0, 11132812
Agent [candidate] (1.236 s) : 0, 1236337
Total [candidate] (11.105 s) : 0, 11105437
gantt
title petclinic - break down per module: candidate=1.57.0-SNAPSHOT~c186d8b6af, baseline=1.57.0-SNAPSHOT~614cc721f6
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.502 ms) : 0, 1502
crashtracking [candidate] (1.484 ms) : 0, 1484
BytebuddyAgent [baseline] (712.96 ms) : 0, 712960
BytebuddyAgent [candidate] (710.451 ms) : 0, 710451
GlobalTracer [baseline] (250.396 ms) : 0, 250396
GlobalTracer [candidate] (250.938 ms) : 0, 250938
AppSec [baseline] (32.215 ms) : 0, 32215
AppSec [candidate] (32.259 ms) : 0, 32259
Debugger [baseline] (64.245 ms) : 0, 64245
Debugger [candidate] (64.324 ms) : 0, 64324
Remote Config [baseline] (654.274 µs) : 0, 654
Remote Config [candidate] (635.511 µs) : 0, 636
Telemetry [baseline] (8.278 ms) : 0, 8278
Telemetry [candidate] (8.328 ms) : 0, 8328
Flare Poller [baseline] (3.747 ms) : 0, 3747
Flare Poller [candidate] (3.763 ms) : 0, 3763
section appsec
crashtracking [baseline] (1.487 ms) : 0, 1487
crashtracking [candidate] (1.49 ms) : 0, 1490
BytebuddyAgent [baseline] (734.474 ms) : 0, 734474
BytebuddyAgent [candidate] (732.863 ms) : 0, 732863
GlobalTracer [baseline] (241.523 ms) : 0, 241523
GlobalTracer [candidate] (241.163 ms) : 0, 241163
AppSec [baseline] (174.374 ms) : 0, 174374
AppSec [candidate] (174.685 ms) : 0, 174685
Debugger [baseline] (62.28 ms) : 0, 62280
Debugger [candidate] (62.027 ms) : 0, 62027
Remote Config [baseline] (670.473 µs) : 0, 670
Remote Config [candidate] (662.086 µs) : 0, 662
Telemetry [baseline] (8.231 ms) : 0, 8231
Telemetry [candidate] (8.284 ms) : 0, 8284
Flare Poller [baseline] (3.883 ms) : 0, 3883
Flare Poller [candidate] (3.955 ms) : 0, 3955
IAST [baseline] (24.806 ms) : 0, 24806
IAST [candidate] (24.615 ms) : 0, 24615
section iast
crashtracking [baseline] (1.497 ms) : 0, 1497
crashtracking [candidate] (1.5 ms) : 0, 1500
BytebuddyAgent [baseline] (839.746 ms) : 0, 839746
BytebuddyAgent [candidate] (844.575 ms) : 0, 844575
GlobalTracer [baseline] (238.527 ms) : 0, 238527
GlobalTracer [candidate] (238.449 ms) : 0, 238449
AppSec [baseline] (33.131 ms) : 0, 33131
AppSec [candidate] (34.025 ms) : 0, 34025
Debugger [baseline] (61.369 ms) : 0, 61369
Debugger [candidate] (61.307 ms) : 0, 61307
Remote Config [baseline] (536.398 µs) : 0, 536
Remote Config [candidate] (561.223 µs) : 0, 561
Telemetry [baseline] (7.689 ms) : 0, 7689
Telemetry [candidate] (7.709 ms) : 0, 7709
Flare Poller [baseline] (3.532 ms) : 0, 3532
Flare Poller [candidate] (3.537 ms) : 0, 3537
IAST [baseline] (28.538 ms) : 0, 28538
IAST [candidate] (27.813 ms) : 0, 27813
section profiling
ProfilingAgent [baseline] (96.712 ms) : 0, 96712
ProfilingAgent [candidate] (97.327 ms) : 0, 97327
crashtracking [baseline] (1.44 ms) : 0, 1440
crashtracking [candidate] (1.442 ms) : 0, 1442
BytebuddyAgent [baseline] (734.342 ms) : 0, 734342
BytebuddyAgent [candidate] (736.752 ms) : 0, 736752
GlobalTracer [baseline] (222.72 ms) : 0, 222720
GlobalTracer [candidate] (223.329 ms) : 0, 223329
AppSec [baseline] (32.239 ms) : 0, 32239
AppSec [candidate] (32.308 ms) : 0, 32308
Debugger [baseline] (63.281 ms) : 0, 63281
Debugger [candidate] (63.53 ms) : 0, 63530
Remote Config [baseline] (644.355 µs) : 0, 644
Remote Config [candidate] (662.711 µs) : 0, 663
Telemetry [baseline] (8.037 ms) : 0, 8037
Telemetry [candidate] (8.022 ms) : 0, 8022
Flare Poller [baseline] (3.843 ms) : 0, 3843
Flare Poller [candidate] (3.801 ms) : 0, 3801
Profiling [baseline] (97.295 ms) : 0, 97295
Profiling [candidate] (97.904 ms) : 0, 97904
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.57.0-SNAPSHOT~c186d8b6af, baseline=1.57.0-SNAPSHOT~614cc721f6
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.115 s) : 0, 1115361
Total [baseline] (8.869 s) : 0, 8869405
Agent [candidate] (1.101 s) : 0, 1100807
Total [candidate] (8.856 s) : 0, 8856307
section iast
Agent [baseline] (1.24 s) : 0, 1239822
Total [baseline] (9.559 s) : 0, 9559018
Agent [candidate] (1.241 s) : 0, 1241283
Total [candidate] (9.537 s) : 0, 9536670
gantt
title insecure-bank - break down per module: candidate=1.57.0-SNAPSHOT~c186d8b6af, baseline=1.57.0-SNAPSHOT~614cc721f6
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.531 ms) : 0, 1531
crashtracking [candidate] (1.492 ms) : 0, 1492
BytebuddyAgent [baseline] (717.363 ms) : 0, 717363
BytebuddyAgent [candidate] (708.219 ms) : 0, 708219
GlobalTracer [baseline] (252.051 ms) : 0, 252051
GlobalTracer [candidate] (248.429 ms) : 0, 248429
AppSec [baseline] (32.595 ms) : 0, 32595
AppSec [candidate] (31.876 ms) : 0, 31876
Debugger [baseline] (63.829 ms) : 0, 63829
Debugger [candidate] (63.376 ms) : 0, 63376
Remote Config [baseline] (653.5 µs) : 0, 653
Remote Config [candidate] (626.032 µs) : 0, 626
Telemetry [baseline] (8.366 ms) : 0, 8366
Telemetry [candidate] (8.304 ms) : 0, 8304
Flare Poller [baseline] (3.764 ms) : 0, 3764
Flare Poller [candidate] (3.655 ms) : 0, 3655
section iast
crashtracking [baseline] (1.497 ms) : 0, 1497
crashtracking [candidate] (1.482 ms) : 0, 1482
BytebuddyAgent [baseline] (832.329 ms) : 0, 832329
BytebuddyAgent [candidate] (833.231 ms) : 0, 833231
GlobalTracer [baseline] (237.867 ms) : 0, 237867
GlobalTracer [candidate] (238.319 ms) : 0, 238319
AppSec [baseline] (32.166 ms) : 0, 32166
AppSec [candidate] (33.916 ms) : 0, 33916
Debugger [baseline] (59.813 ms) : 0, 59813
Debugger [candidate] (60.031 ms) : 0, 60031
Remote Config [baseline] (534.434 µs) : 0, 534
Remote Config [candidate] (533.238 µs) : 0, 533
Telemetry [baseline] (7.55 ms) : 0, 7550
Telemetry [candidate] (7.612 ms) : 0, 7612
Flare Poller [baseline] (3.467 ms) : 0, 3467
Flare Poller [candidate] (3.448 ms) : 0, 3448
IAST [baseline] (29.723 ms) : 0, 29723
IAST [candidate] (27.759 ms) : 0, 27759
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 4 performance regressions! Performance is the same for 15 metrics, 17 unstable metrics.
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.57.0-SNAPSHOT~c186d8b6af, baseline=1.57.0-SNAPSHOT~614cc721f6
dateFormat X
axisFormat %s
section baseline
no_agent (19.033 ms) : 18836, 19231
. : milestone, 19033,
appsec (18.932 ms) : 18739, 19125
. : milestone, 18932,
code_origins (17.489 ms) : 17319, 17658
. : milestone, 17489,
iast (17.736 ms) : 17558, 17915
. : milestone, 17736,
profiling (18.502 ms) : 18314, 18690
. : milestone, 18502,
tracing (17.609 ms) : 17435, 17784
. : milestone, 17609,
section candidate
no_agent (18.687 ms) : 18490, 18885
. : milestone, 18687,
appsec (19.722 ms) : 19519, 19925
. : milestone, 19722,
code_origins (17.528 ms) : 17353, 17702
. : milestone, 17528,
iast (17.971 ms) : 17792, 18151
. : milestone, 17971,
profiling (18.653 ms) : 18466, 18839
. : milestone, 18653,
tracing (17.587 ms) : 17411, 17763
. : milestone, 17587,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.57.0-SNAPSHOT~c186d8b6af, baseline=1.57.0-SNAPSHOT~614cc721f6
dateFormat X
axisFormat %s
section baseline
no_agent (1.186 ms) : 1175, 1197
. : milestone, 1186,
iast (3.21 ms) : 3171, 3249
. : milestone, 3210,
iast_FULL (5.626 ms) : 5571, 5681
. : milestone, 5626,
iast_GLOBAL (3.571 ms) : 3520, 3623
. : milestone, 3571,
profiling (2.249 ms) : 2226, 2271
. : milestone, 2249,
tracing (1.849 ms) : 1834, 1865
. : milestone, 1849,
section candidate
no_agent (1.204 ms) : 1192, 1216
. : milestone, 1204,
iast (3.309 ms) : 3274, 3344
. : milestone, 3309,
iast_FULL (6.213 ms) : 6149, 6276
. : milestone, 6213,
iast_GLOBAL (3.562 ms) : 3505, 3619
. : milestone, 3562,
profiling (2.267 ms) : 2245, 2289
. : milestone, 2267,
tracing (1.866 ms) : 1850, 1882
. : milestone, 1866,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 1 unstable metrics. Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.57.0-SNAPSHOT~c186d8b6af, baseline=1.57.0-SNAPSHOT~614cc721f6
dateFormat X
axisFormat %s
section baseline
no_agent (1.491 ms) : 1479, 1503
. : milestone, 1491,
appsec (3.761 ms) : 3540, 3982
. : milestone, 3761,
iast (2.232 ms) : 2167, 2296
. : milestone, 2232,
iast_GLOBAL (2.285 ms) : 2220, 2350
. : milestone, 2285,
profiling (2.075 ms) : 2023, 2128
. : milestone, 2075,
tracing (2.074 ms) : 2022, 2125
. : milestone, 2074,
section candidate
no_agent (1.484 ms) : 1472, 1495
. : milestone, 1484,
appsec (3.703 ms) : 3484, 3921
. : milestone, 3703,
iast (2.241 ms) : 2177, 2306
. : milestone, 2241,
iast_GLOBAL (2.284 ms) : 2219, 2349
. : milestone, 2284,
profiling (2.09 ms) : 2037, 2142
. : milestone, 2090,
tracing (2.062 ms) : 2011, 2113
. : milestone, 2062,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.57.0-SNAPSHOT~c186d8b6af, baseline=1.57.0-SNAPSHOT~614cc721f6
dateFormat X
axisFormat %s
section baseline
no_agent (15.04 s) : 15040000, 15040000
. : milestone, 15040000,
appsec (15.152 s) : 15152000, 15152000
. : milestone, 15152000,
iast (18.122 s) : 18122000, 18122000
. : milestone, 18122000,
iast_GLOBAL (18.061 s) : 18061000, 18061000
. : milestone, 18061000,
profiling (14.671 s) : 14671000, 14671000
. : milestone, 14671000,
tracing (14.859 s) : 14859000, 14859000
. : milestone, 14859000,
section candidate
no_agent (14.99 s) : 14990000, 14990000
. : milestone, 14990000,
appsec (15.133 s) : 15133000, 15133000
. : milestone, 15133000,
iast (18.671 s) : 18671000, 18671000
. : milestone, 18671000,
iast_GLOBAL (17.965 s) : 17965000, 17965000
. : milestone, 17965000,
profiling (14.687 s) : 14687000, 14687000
. : milestone, 14687000,
tracing (14.766 s) : 14766000, 14766000
. : milestone, 14766000,
|
sarahchen6
approved these changes
Nov 21, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
comp: tooling
Build & Tooling
tag: no release notes
Changes to exclude from release notes
type: refactoring
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What Does This Do
First step of migration our
buildSrcfolder from Groovy to Kotlin.Motivation
Kotlin is a better choice as DSL and programming language for Gradle.
Additional Notes
Our ultimate goal is to migrate whole Gradle build to Kotlin eventually.