Skip to content

Conversation

@sarahchen6
Copy link
Contributor

What Does This Do

Replace ci_jobs.gradle file with a convention plugin and extension file

Motivation

We want to progressively replace our scripts with convention plugins where it makes sense to. Convention plugins are useful for reusability and encapsulation, among other things. With our extensive amount of modules, convention plugins will make it easier to maintain, reuse, and organize our build components.

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I created a CIJobsExtensions.kt file separate from the datadog.ci-jobs.gradle.kts plugin file because these functions needed to available to the build.gradle.kts build script that applies the plugin itself. It also seemed like too much logic to include in the build.gradle.kts file directly. Let me know if a different organization method would be better (and any other thoughts of course)!

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this should land ins some package there, like datadog.ci.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I included package datadog.ci now!

Copy link
Contributor

@bric3 bric3 Oct 24, 2025

Choose a reason for hiding this comment

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

Sorry, I took another look and I've seen other plugins do put their things in here datadog.gradle.plugin. What do you think about moving this to datadog.gradle.plugin.ci ?

Unresolving for visibility

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea! That makes sense.

@datadog-official
Copy link

datadog-official bot commented Oct 22, 2025

🎯 Code Coverage
Patch Coverage: 100.00%
Total Coverage: 59.65% (-0.02%)

View detailed report

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

@pr-commenter
Copy link

pr-commenter bot commented Oct 22, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master sarahchen6/ci_job_configuration_plugin
git_commit_date 1761314866 1761318141
git_commit_sha 5370add 1ea522f
release_version 1.55.0-SNAPSHOT~5370add8f6 1.55.0-SNAPSHOT~1ea522f2be
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1761320119 1761320119
ci_job_id 1196473549 1196473549
ci_pipeline_id 80231724 80231724
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-4ssao72w 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-4ssao72w 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 54 metrics, 11 unstable metrics.

Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.55.0-SNAPSHOT~1ea522f2be, baseline=1.55.0-SNAPSHOT~5370add8f6

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.051 s) : 0, 1051451
Total [baseline] (10.904 s) : 0, 10903983
Agent [candidate] (1.033 s) : 0, 1033102
Total [candidate] (11.011 s) : 0, 11010761
section appsec
Agent [baseline] (1.204 s) : 0, 1204101
Total [baseline] (11.044 s) : 0, 11043939
Agent [candidate] (1.213 s) : 0, 1212580
Total [candidate] (10.906 s) : 0, 10906154
section iast
Agent [baseline] (1.168 s) : 0, 1167817
Total [baseline] (11.261 s) : 0, 11261063
Agent [candidate] (1.168 s) : 0, 1168101
Total [candidate] (11.119 s) : 0, 11118520
section profiling
Agent [baseline] (1.182 s) : 0, 1182283
Total [baseline] (10.914 s) : 0, 10913789
Agent [candidate] (1.175 s) : 0, 1174596
Total [candidate] (10.829 s) : 0, 10829474
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.051 s -
Agent appsec 1.204 s 152.65 ms (14.5%)
Agent iast 1.168 s 116.366 ms (11.1%)
Agent profiling 1.182 s 130.832 ms (12.4%)
Total tracing 10.904 s -
Total appsec 11.044 s 139.956 ms (1.3%)
Total iast 11.261 s 357.08 ms (3.3%)
Total profiling 10.914 s 9.806 ms (0.1%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.033 s -
Agent appsec 1.213 s 179.478 ms (17.4%)
Agent iast 1.168 s 134.999 ms (13.1%)
Agent profiling 1.175 s 141.494 ms (13.7%)
Total tracing 11.011 s -
Total appsec 10.906 s -104.607 ms (-1.0%)
Total iast 11.119 s 107.759 ms (1.0%)
Total profiling 10.829 s -181.286 ms (-1.6%)
gantt
    title petclinic - break down per module: candidate=1.55.0-SNAPSHOT~1ea522f2be, baseline=1.55.0-SNAPSHOT~5370add8f6

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.5 ms) : 0, 1500
crashtracking [candidate] (1.469 ms) : 0, 1469
BytebuddyAgent [baseline] (716.308 ms) : 0, 716308
BytebuddyAgent [candidate] (702.85 ms) : 0, 702850
GlobalTracer [baseline] (249.941 ms) : 0, 249941
GlobalTracer [candidate] (246.841 ms) : 0, 246841
AppSec [baseline] (33.135 ms) : 0, 33135
AppSec [candidate] (32.462 ms) : 0, 32462
Debugger [baseline] (6.603 ms) : 0, 6603
Debugger [candidate] (6.452 ms) : 0, 6452
Remote Config [baseline] (696.9 µs) : 0, 697
Remote Config [candidate] (685.514 µs) : 0, 686
Telemetry [baseline] (12.585 ms) : 0, 12585
Telemetry [candidate] (15.251 ms) : 0, 15251
Flare Poller [baseline] (9.211 ms) : 0, 9211
Flare Poller [candidate] (5.77 ms) : 0, 5770
section appsec
crashtracking [baseline] (1.468 ms) : 0, 1468
crashtracking [candidate] (1.494 ms) : 0, 1494
BytebuddyAgent [baseline] (725.932 ms) : 0, 725932
BytebuddyAgent [candidate] (732.358 ms) : 0, 732358
GlobalTracer [baseline] (237.379 ms) : 0, 237379
GlobalTracer [candidate] (237.997 ms) : 0, 237997
AppSec [baseline] (174.136 ms) : 0, 174136
AppSec [candidate] (175.21 ms) : 0, 175210
Debugger [baseline] (5.924 ms) : 0, 5924
Debugger [candidate] (5.954 ms) : 0, 5954
Remote Config [baseline] (625.94 µs) : 0, 626
Remote Config [candidate] (642.161 µs) : 0, 642
Telemetry [baseline] (8.372 ms) : 0, 8372
Telemetry [candidate] (8.565 ms) : 0, 8565
Flare Poller [baseline] (3.881 ms) : 0, 3881
Flare Poller [candidate] (3.911 ms) : 0, 3911
IAST [baseline] (25.247 ms) : 0, 25247
IAST [candidate] (25.198 ms) : 0, 25198
section iast
crashtracking [baseline] (1.483 ms) : 0, 1483
crashtracking [candidate] (1.473 ms) : 0, 1473
BytebuddyAgent [baseline] (826.932 ms) : 0, 826932
BytebuddyAgent [candidate] (829.177 ms) : 0, 829177
GlobalTracer [baseline] (235.937 ms) : 0, 235937
GlobalTracer [candidate] (234.973 ms) : 0, 234973
AppSec [baseline] (31.054 ms) : 0, 31054
AppSec [candidate] (29.021 ms) : 0, 29021
Debugger [baseline] (6.227 ms) : 0, 6227
Debugger [candidate] (6.176 ms) : 0, 6176
Remote Config [baseline] (618.939 µs) : 0, 619
Remote Config [candidate] (595.628 µs) : 0, 596
Telemetry [baseline] (8.732 ms) : 0, 8732
Telemetry [candidate] (8.447 ms) : 0, 8447
Flare Poller [baseline] (4.123 ms) : 0, 4123
Flare Poller [candidate] (4.174 ms) : 0, 4174
IAST [baseline] (31.23 ms) : 0, 31230
IAST [candidate] (32.614 ms) : 0, 32614
section profiling
ProfilingAgent [baseline] (110.545 ms) : 0, 110545
ProfilingAgent [candidate] (109.838 ms) : 0, 109838
crashtracking [baseline] (1.478 ms) : 0, 1478
crashtracking [candidate] (1.451 ms) : 0, 1451
BytebuddyAgent [baseline] (732.671 ms) : 0, 732671
BytebuddyAgent [candidate] (726.968 ms) : 0, 726968
GlobalTracer [baseline] (221.441 ms) : 0, 221441
GlobalTracer [candidate] (220.973 ms) : 0, 220973
AppSec [baseline] (32.464 ms) : 0, 32464
AppSec [candidate] (32.168 ms) : 0, 32168
Debugger [baseline] (10.69 ms) : 0, 10690
Debugger [candidate] (10.855 ms) : 0, 10855
Remote Config [baseline] (719.658 µs) : 0, 720
Remote Config [candidate] (2.195 ms) : 0, 2195
Telemetry [baseline] (12.266 ms) : 0, 12266
Telemetry [candidate] (10.655 ms) : 0, 10655
Flare Poller [baseline] (4.213 ms) : 0, 4213
Flare Poller [candidate] (4.157 ms) : 0, 4157
Profiling [baseline] (111.168 ms) : 0, 111168
Profiling [candidate] (110.482 ms) : 0, 110482
Loading
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.55.0-SNAPSHOT~1ea522f2be, baseline=1.55.0-SNAPSHOT~5370add8f6

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.033 s) : 0, 1032576
Total [baseline] (8.697 s) : 0, 8696866
Agent [candidate] (1.032 s) : 0, 1031879
Total [candidate] (8.669 s) : 0, 8668788
section iast
Agent [baseline] (1.162 s) : 0, 1162135
Total [baseline] (9.373 s) : 0, 9373350
Agent [candidate] (1.165 s) : 0, 1164548
Total [candidate] (9.343 s) : 0, 9343392
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.033 s -
Agent iast 1.162 s 129.56 ms (12.5%)
Total tracing 8.697 s -
Total iast 9.373 s 676.483 ms (7.8%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.032 s -
Agent iast 1.165 s 132.669 ms (12.9%)
Total tracing 8.669 s -
Total iast 9.343 s 674.604 ms (7.8%)
gantt
    title insecure-bank - break down per module: candidate=1.55.0-SNAPSHOT~1ea522f2be, baseline=1.55.0-SNAPSHOT~5370add8f6

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.491 ms) : 0, 1491
crashtracking [candidate] (1.467 ms) : 0, 1467
BytebuddyAgent [baseline] (703.785 ms) : 0, 703785
BytebuddyAgent [candidate] (703.13 ms) : 0, 703130
GlobalTracer [baseline] (245.8 ms) : 0, 245800
GlobalTracer [candidate] (245.631 ms) : 0, 245631
AppSec [baseline] (32.351 ms) : 0, 32351
AppSec [candidate] (32.231 ms) : 0, 32231
Debugger [baseline] (6.39 ms) : 0, 6390
Debugger [candidate] (6.389 ms) : 0, 6389
Remote Config [baseline] (683.753 µs) : 0, 684
Remote Config [candidate] (678.62 µs) : 0, 679
Telemetry [baseline] (15.036 ms) : 0, 15036
Telemetry [candidate] (15.321 ms) : 0, 15321
Flare Poller [baseline] (5.874 ms) : 0, 5874
Flare Poller [candidate] (5.828 ms) : 0, 5828
section iast
crashtracking [baseline] (1.48 ms) : 0, 1480
crashtracking [candidate] (1.499 ms) : 0, 1499
BytebuddyAgent [baseline] (824.838 ms) : 0, 824838
BytebuddyAgent [candidate] (826.487 ms) : 0, 826487
GlobalTracer [baseline] (233.994 ms) : 0, 233994
GlobalTracer [candidate] (234.459 ms) : 0, 234459
IAST [baseline] (31.614 ms) : 0, 31614
IAST [candidate] (31.78 ms) : 0, 31780
AppSec [baseline] (29.676 ms) : 0, 29676
AppSec [candidate] (29.748 ms) : 0, 29748
Debugger [baseline] (6.066 ms) : 0, 6066
Debugger [candidate] (6.079 ms) : 0, 6079
Remote Config [baseline] (603.486 µs) : 0, 603
Remote Config [candidate] (606.463 µs) : 0, 606
Telemetry [baseline] (8.403 ms) : 0, 8403
Telemetry [candidate] (8.468 ms) : 0, 8468
Flare Poller [baseline] (4.107 ms) : 0, 4107
Flare Poller [candidate] (4.085 ms) : 0, 4085
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master sarahchen6/ci_job_configuration_plugin
git_commit_date 1761314866 1761318141
git_commit_sha 5370add 1ea522f
release_version 1.55.0-SNAPSHOT~5370add8f6 1.55.0-SNAPSHOT~1ea522f2be
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1761319697 1761319697
ci_job_id 1196473553 1196473553
ci_pipeline_id 80231724 80231724
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-z6dtvh32 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-z6dtvh32 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 7 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:iast:high_load better
[-1131.566µs; -786.163µs] or [-11.195%; -7.777%]
unstable
[-11.372op/s; +107.184op/s] or [-2.475%; +23.328%]
9.149ms 507.375op/s 10.108ms 459.469op/s
scenario:load:petclinic:no_agent:high_load worse
[+1.583ms; +2.222ms] or [+4.392%; +6.164%]
unstable
[-15.210op/s; +2.235op/s] or [-11.726%; +1.723%]
37.952ms 123.225op/s 36.049ms 129.713op/s
scenario:load:petclinic:iast:high_load worse
[+1.320ms; +2.157ms] or [+3.001%; +4.902%]
unstable
[-11.376op/s; +3.351op/s] or [-10.697%; +3.151%]
45.737ms 102.338op/s 43.998ms 106.350op/s
scenario:load:petclinic:code_origins:high_load better
[-1.771ms; -0.975ms] or [-4.067%; -2.240%]
unstable
[-4.302op/s; +11.252op/s] or [-4.002%; +10.468%]
42.167ms 110.963op/s 43.540ms 107.487op/s
scenario:load:petclinic:profiling:high_load better
[-2.152ms; -1.147ms] or [-4.268%; -2.274%]
unstable
[-3.848op/s; +10.098op/s] or [-4.144%; +10.877%]
48.785ms 95.963op/s 50.435ms 92.838op/s
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.55.0-SNAPSHOT~1ea522f2be, baseline=1.55.0-SNAPSHOT~5370add8f6
    dateFormat X
    axisFormat %s
section baseline
no_agent (4.381 ms) : 4331, 4430
.   : milestone, 4381,
iast (10.108 ms) : 9939, 10278
.   : milestone, 10108,
iast_FULL (13.981 ms) : 13705, 14256
.   : milestone, 13981,
iast_GLOBAL (10.85 ms) : 10654, 11047
.   : milestone, 10850,
profiling (8.877 ms) : 8740, 9015
.   : milestone, 8877,
tracing (8.075 ms) : 7948, 8203
.   : milestone, 8075,
section candidate
no_agent (4.424 ms) : 4374, 4473
.   : milestone, 4424,
iast (9.149 ms) : 8998, 9300
.   : milestone, 9149,
iast_FULL (14.562 ms) : 14273, 14850
.   : milestone, 14562,
iast_GLOBAL (10.678 ms) : 10488, 10867
.   : milestone, 10678,
profiling (8.931 ms) : 8789, 9073
.   : milestone, 8931,
tracing (7.817 ms) : 7700, 7935
.   : milestone, 7817,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.381 ms [4.331 ms, 4.43 ms] -
iast 10.108 ms [9.939 ms, 10.278 ms] 5.727 ms (130.7%)
iast_FULL 13.981 ms [13.705 ms, 14.256 ms] 9.6 ms (219.1%)
iast_GLOBAL 10.85 ms [10.654 ms, 11.047 ms] 6.47 ms (147.7%)
profiling 8.877 ms [8.74 ms, 9.015 ms] 4.497 ms (102.6%)
tracing 8.075 ms [7.948 ms, 8.203 ms] 3.695 ms (84.3%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.424 ms [4.374 ms, 4.473 ms] -
iast 9.149 ms [8.998 ms, 9.3 ms] 4.726 ms (106.8%)
iast_FULL 14.562 ms [14.273 ms, 14.85 ms] 10.138 ms (229.2%)
iast_GLOBAL 10.678 ms [10.488 ms, 10.867 ms] 6.254 ms (141.4%)
profiling 8.931 ms [8.789 ms, 9.073 ms] 4.507 ms (101.9%)
tracing 7.817 ms [7.7 ms, 7.935 ms] 3.394 ms (76.7%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.55.0-SNAPSHOT~1ea522f2be, baseline=1.55.0-SNAPSHOT~5370add8f6
    dateFormat X
    axisFormat %s
section baseline
no_agent (36.049 ms) : 35757, 36341
.   : milestone, 36049,
appsec (47.106 ms) : 46699, 47513
.   : milestone, 47106,
code_origins (43.54 ms) : 43162, 43918
.   : milestone, 43540,
iast (43.998 ms) : 43628, 44369
.   : milestone, 43998,
profiling (50.435 ms) : 49978, 50892
.   : milestone, 50435,
tracing (44.589 ms) : 44213, 44966
.   : milestone, 44589,
section candidate
no_agent (37.952 ms) : 37650, 38253
.   : milestone, 37952,
appsec (48.053 ms) : 47645, 48462
.   : milestone, 48053,
code_origins (42.167 ms) : 41806, 42528
.   : milestone, 42167,
iast (45.737 ms) : 45331, 46143
.   : milestone, 45737,
profiling (48.785 ms) : 48308, 49262
.   : milestone, 48785,
tracing (44.407 ms) : 44009, 44806
.   : milestone, 44407,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 36.049 ms [35.757 ms, 36.341 ms] -
appsec 47.106 ms [46.699 ms, 47.513 ms] 11.057 ms (30.7%)
code_origins 43.54 ms [43.162 ms, 43.918 ms] 7.491 ms (20.8%)
iast 43.998 ms [43.628 ms, 44.369 ms] 7.949 ms (22.1%)
profiling 50.435 ms [49.978 ms, 50.892 ms] 14.386 ms (39.9%)
tracing 44.589 ms [44.213 ms, 44.966 ms] 8.54 ms (23.7%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 37.952 ms [37.65 ms, 38.253 ms] -
appsec 48.053 ms [47.645 ms, 48.462 ms] 10.102 ms (26.6%)
code_origins 42.167 ms [41.806 ms, 42.528 ms] 4.215 ms (11.1%)
iast 45.737 ms [45.331 ms, 46.143 ms] 7.785 ms (20.5%)
profiling 48.785 ms [48.308 ms, 49.262 ms] 10.834 ms (28.5%)
tracing 44.407 ms [44.009 ms, 44.806 ms] 6.456 ms (17.0%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master sarahchen6/ci_job_configuration_plugin
git_commit_date 1761314866 1761318141
git_commit_sha 5370add 1ea522f
release_version 1.55.0-SNAPSHOT~5370add8f6 1.55.0-SNAPSHOT~1ea522f2be
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1761320238 1761320238
ci_job_id 1196473556 1196473556
ci_pipeline_id 80231724 80231724
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-ypsgtouy 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-ypsgtouy 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.372ms; -1.030ms] or [-36.811%; -27.629%]
2.526ms 3.727ms
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.55.0-SNAPSHOT~1ea522f2be, baseline=1.55.0-SNAPSHOT~5370add8f6
    dateFormat X
    axisFormat %s
section baseline
no_agent (14.978 s) : 14978000, 14978000
.   : milestone, 14978000,
appsec (14.777 s) : 14777000, 14777000
.   : milestone, 14777000,
iast (18.502 s) : 18502000, 18502000
.   : milestone, 18502000,
iast_GLOBAL (18.211 s) : 18211000, 18211000
.   : milestone, 18211000,
profiling (15.903 s) : 15903000, 15903000
.   : milestone, 15903000,
tracing (14.905 s) : 14905000, 14905000
.   : milestone, 14905000,
section candidate
no_agent (15.502 s) : 15502000, 15502000
.   : milestone, 15502000,
appsec (14.834 s) : 14834000, 14834000
.   : milestone, 14834000,
iast (18.605 s) : 18605000, 18605000
.   : milestone, 18605000,
iast_GLOBAL (18.159 s) : 18159000, 18159000
.   : milestone, 18159000,
profiling (15.406 s) : 15406000, 15406000
.   : milestone, 15406000,
tracing (15.129 s) : 15129000, 15129000
.   : milestone, 15129000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.978 s [14.978 s, 14.978 s] -
appsec 14.777 s [14.777 s, 14.777 s] -201.0 ms (-1.3%)
iast 18.502 s [18.502 s, 18.502 s] 3.524 s (23.5%)
iast_GLOBAL 18.211 s [18.211 s, 18.211 s] 3.233 s (21.6%)
profiling 15.903 s [15.903 s, 15.903 s] 925.0 ms (6.2%)
tracing 14.905 s [14.905 s, 14.905 s] -73.0 ms (-0.5%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.502 s [15.502 s, 15.502 s] -
appsec 14.834 s [14.834 s, 14.834 s] -668.0 ms (-4.3%)
iast 18.605 s [18.605 s, 18.605 s] 3.103 s (20.0%)
iast_GLOBAL 18.159 s [18.159 s, 18.159 s] 2.657 s (17.1%)
profiling 15.406 s [15.406 s, 15.406 s] -96.0 ms (-0.6%)
tracing 15.129 s [15.129 s, 15.129 s] -373.0 ms (-2.4%)
Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.55.0-SNAPSHOT~1ea522f2be, baseline=1.55.0-SNAPSHOT~5370add8f6
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.481 ms) : 1470, 1493
.   : milestone, 1481,
appsec (3.727 ms) : 3509, 3946
.   : milestone, 3727,
iast (2.218 ms) : 2154, 2282
.   : milestone, 2218,
iast_GLOBAL (2.267 ms) : 2202, 2331
.   : milestone, 2267,
profiling (2.051 ms) : 2000, 2103
.   : milestone, 2051,
tracing (2.036 ms) : 1986, 2086
.   : milestone, 2036,
section candidate
no_agent (1.481 ms) : 1470, 1493
.   : milestone, 1481,
appsec (2.526 ms) : 2472, 2581
.   : milestone, 2526,
iast (2.212 ms) : 2148, 2276
.   : milestone, 2212,
iast_GLOBAL (2.267 ms) : 2202, 2332
.   : milestone, 2267,
profiling (2.077 ms) : 2024, 2129
.   : milestone, 2077,
tracing (2.035 ms) : 1985, 2085
.   : milestone, 2035,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.481 ms [1.47 ms, 1.493 ms] -
appsec 3.727 ms [3.509 ms, 3.946 ms] 2.246 ms (151.6%)
iast 2.218 ms [2.154 ms, 2.282 ms] 736.397 µs (49.7%)
iast_GLOBAL 2.267 ms [2.202 ms, 2.331 ms] 785.174 µs (53.0%)
profiling 2.051 ms [2.0 ms, 2.103 ms] 569.958 µs (38.5%)
tracing 2.036 ms [1.986 ms, 2.086 ms] 554.954 µs (37.5%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.481 ms [1.47 ms, 1.493 ms] -
appsec 2.526 ms [2.472 ms, 2.581 ms] 1.045 ms (70.6%)
iast 2.212 ms [2.148 ms, 2.276 ms] 731.161 µs (49.4%)
iast_GLOBAL 2.267 ms [2.202 ms, 2.332 ms] 785.759 µs (53.1%)
profiling 2.077 ms [2.024 ms, 2.129 ms] 595.656 µs (40.2%)
tracing 2.035 ms [1.985 ms, 2.085 ms] 553.471 µs (37.4%)

Copy link
Contributor

@bric3 bric3 left a comment

Choose a reason for hiding this comment

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

I had a brief overview and this looks good !

Thanks for that.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this should land ins some package there, like datadog.ci.

val coverage = forceCoverage || rootProject.hasProperty("checkCoverage")
val proj = this@testAggregate
tasks.register(rootTaskName) {
proj.subprojects.forEach { subproject ->
Copy link
Contributor

Choose a reason for hiding this comment

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

thought: It's outside the scope of this PR, but I think this can be rewritten as a provider passed to the task.dependsOn

val activePartition = p.extra.get("activePartition") as Boolean
activePartition && p.plugins.hasPlugin("java") && p.plugins.hasPlugin("muzzle")
}
dependsOn(muzzleSubprojects.map { p -> "${p.path}:muzzle" })
Copy link
Contributor

Choose a reason for hiding this comment

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

thought: Outside the scope of this PR as well, there might be an opportunity to wrap this calculation to a provider as well.

@sarahchen6 sarahchen6 force-pushed the sarahchen6/ci_job_configuration_plugin branch from 46048af to 6c60952 Compare October 23, 2025 15:08
@sarahchen6 sarahchen6 added type: enhancement Enhancements and improvements tag: no release notes Changes to exclude from release notes comp: tooling Build & Tooling labels Oct 23, 2025
@sarahchen6 sarahchen6 marked this pull request as ready for review October 23, 2025 17:08
@sarahchen6 sarahchen6 requested a review from a team as a code owner October 23, 2025 17:08
@sarahchen6 sarahchen6 requested review from bric3 and ygree October 23, 2025 17:09
includePrefixes.any { subproject.path.startsWith(it) } &&
!excludePrefixes.any { subproject.path.startsWith(it) }) {

val testTask = subproject.tasks.findByName(subProjTaskName)
Copy link
Contributor

@bric3 bric3 Oct 24, 2025

Choose a reason for hiding this comment

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

note: Also, related to this other comment #9838 (comment) (and as such for another PR), findByName is eager, so we may want to revise this algo for the task's dependencies.

Copy link
Contributor Author

@sarahchen6 sarahchen6 Oct 24, 2025

Choose a reason for hiding this comment

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

Ooh right! Noted, thanks.

@sarahchen6 sarahchen6 merged commit 24678a1 into master Oct 24, 2025
536 checks passed
@sarahchen6 sarahchen6 deleted the sarahchen6/ci_job_configuration_plugin branch October 24, 2025 15:55
@github-actions github-actions bot added this to the 1.55.0 milestone Oct 24, 2025
amarziali pushed a commit that referenced this pull request Oct 27, 2025
* Turn ci_jobs into a convention plugin and extension

* Remove ci_jobs file

* Address review comments

* Address review comments pt 2
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: enhancement Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants