Skip to content

chore(build): Skip empty parent instrumentation projects #9106

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 2 commits into from
Jul 8, 2025

Conversation

bric3
Copy link
Contributor

@bric3 bric3 commented Jul 4, 2025

What Does This Do

Remove workaround for empty instrumentation parent projects.

No differences in final jar entries

$ git switch master && ./gradlew shadowJar -x test &&  mv dd-java-agent/build/libs/dd-java-agent-1.51.0-SNAPSHOT{,.master}.jar    

$ git switch bdu/react-properly-on-plugin && ./gradlew shadowJar -x test && mv dd-java-agent/build/libs/dd-java-agent-1.51.0-SNAPSHOT{,.react}.jar   

$ diff --suppress-common-lines -y -W 200 \
  <(unzip -lqq ../dd-trace-java/dd-java-agent/build/libs/dd-java-agent-1.51.0-SNAPSHOT.react.jar | cut -c 30- | sort) \
  <(unzip -lqq ../dd-trace-java/dd-java-agent/build/libs/dd-java-agent-1.51.0-SNAPSHOT.master.jar | cut -c 30- | sort) \
  | less

$

Motivation

Reduce configuration duty

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

@bric3 bric3 added tag: no release notes Changes to exclude from release notes comp: tooling Build & Tooling labels Jul 4, 2025
@pr-commenter
Copy link

pr-commenter bot commented Jul 4, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master bdu/react-properly-on-plugin
git_commit_date 1751895829 1751895899
git_commit_sha 041214b ac9151d
release_version 1.51.0-SNAPSHOT~041214be86 1.51.0-SNAPSHOT~ac9151dc73
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1751897718 1751897718
ci_job_id 1016040791 1016040791
ci_pipeline_id 69776747 69776747
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-i6izi1lg 6.8.0-1030-aws #32~22.04.1-Ubuntu SMP Thu Jun 5 08:38:24 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-0-i6izi1lg 6.8.0-1030-aws #32~22.04.1-Ubuntu SMP Thu Jun 5 08:38:24 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 45 metrics, 8 unstable metrics.

Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.51.0-SNAPSHOT~ac9151dc73, baseline=1.51.0-SNAPSHOT~041214be86

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (995.294 ms) : 0, 995294
Total [baseline] (8.631 s) : 0, 8630876
Agent [candidate] (994.905 ms) : 0, 994905
Total [candidate] (8.574 s) : 0, 8573632
section iast
Agent [baseline] (1.145 s) : 0, 1145045
Total [baseline] (9.288 s) : 0, 9288290
Agent [candidate] (1.132 s) : 0, 1131884
Total [candidate] (9.271 s) : 0, 9270929
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 995.294 ms -
Agent iast 1.145 s 149.751 ms (15.0%)
Total tracing 8.631 s -
Total iast 9.288 s 657.414 ms (7.6%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 994.905 ms -
Agent iast 1.132 s 136.979 ms (13.8%)
Total tracing 8.574 s -
Total iast 9.271 s 697.297 ms (8.1%)
gantt
    title insecure-bank - break down per module: candidate=1.51.0-SNAPSHOT~ac9151dc73, baseline=1.51.0-SNAPSHOT~041214be86

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (686.7 ms) : 0, 686700
BytebuddyAgent [candidate] (686.531 ms) : 0, 686531
GlobalTracer [baseline] (242.615 ms) : 0, 242615
GlobalTracer [candidate] (242.386 ms) : 0, 242386
AppSec [baseline] (30.201 ms) : 0, 30201
AppSec [candidate] (30.26 ms) : 0, 30260
Debugger [baseline] (6.054 ms) : 0, 6054
Debugger [candidate] (6.043 ms) : 0, 6043
Remote Config [baseline] (678.441 µs) : 0, 678
Remote Config [candidate] (673.054 µs) : 0, 673
Telemetry [baseline] (8.218 ms) : 0, 8218
Telemetry [candidate] (8.24 ms) : 0, 8240
section iast
BytebuddyAgent [baseline] (816.463 ms) : 0, 816463
BytebuddyAgent [candidate] (807.527 ms) : 0, 807527
GlobalTracer [baseline] (235.313 ms) : 0, 235313
GlobalTracer [candidate] (232.079 ms) : 0, 232079
AppSec [baseline] (30.376 ms) : 0, 30376
AppSec [candidate] (29.623 ms) : 0, 29623
Debugger [baseline] (5.93 ms) : 0, 5930
Debugger [candidate] (5.78 ms) : 0, 5780
Remote Config [baseline] (597.897 µs) : 0, 598
Remote Config [candidate] (577.445 µs) : 0, 577
Telemetry [baseline] (8.11 ms) : 0, 8110
Telemetry [candidate] (7.865 ms) : 0, 7865
IAST [baseline] (26.462 ms) : 0, 26462
IAST [candidate] (27.714 ms) : 0, 27714
Loading
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.51.0-SNAPSHOT~ac9151dc73, baseline=1.51.0-SNAPSHOT~041214be86

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (996.034 ms) : 0, 996034
Total [baseline] (10.637 s) : 0, 10637148
Agent [candidate] (994.68 ms) : 0, 994680
Total [candidate] (10.759 s) : 0, 10758977
section appsec
Agent [baseline] (1.188 s) : 0, 1188022
Total [baseline] (10.807 s) : 0, 10807417
Agent [candidate] (1.175 s) : 0, 1174948
Total [candidate] (10.731 s) : 0, 10731241
section iast
Agent [baseline] (1.134 s) : 0, 1134482
Total [baseline] (10.835 s) : 0, 10835378
Agent [candidate] (1.135 s) : 0, 1135042
Total [candidate] (10.796 s) : 0, 10796070
section profiling
Agent [baseline] (1.243 s) : 0, 1243286
Total [baseline] (11.002 s) : 0, 11002041
Agent [candidate] (1.248 s) : 0, 1247594
Total [candidate] (10.864 s) : 0, 10863924
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 996.034 ms -
Agent appsec 1.188 s 191.988 ms (19.3%)
Agent iast 1.134 s 138.448 ms (13.9%)
Agent profiling 1.243 s 247.252 ms (24.8%)
Total tracing 10.637 s -
Total appsec 10.807 s 170.27 ms (1.6%)
Total iast 10.835 s 198.23 ms (1.9%)
Total profiling 11.002 s 364.894 ms (3.4%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 994.68 ms -
Agent appsec 1.175 s 180.268 ms (18.1%)
Agent iast 1.135 s 140.362 ms (14.1%)
Agent profiling 1.248 s 252.914 ms (25.4%)
Total tracing 10.759 s -
Total appsec 10.731 s -27.736 ms (-0.3%)
Total iast 10.796 s 37.093 ms (0.3%)
Total profiling 10.864 s 104.947 ms (1.0%)
gantt
    title petclinic - break down per module: candidate=1.51.0-SNAPSHOT~ac9151dc73, baseline=1.51.0-SNAPSHOT~041214be86

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (687.276 ms) : 0, 687276
BytebuddyAgent [candidate] (686.679 ms) : 0, 686679
GlobalTracer [baseline] (242.725 ms) : 0, 242725
GlobalTracer [candidate] (242.247 ms) : 0, 242247
AppSec [baseline] (30.311 ms) : 0, 30311
AppSec [candidate] (30.104 ms) : 0, 30104
Debugger [baseline] (6.055 ms) : 0, 6055
Debugger [candidate] (5.986 ms) : 0, 5986
Remote Config [baseline] (674.73 µs) : 0, 675
Remote Config [candidate] (675.66 µs) : 0, 676
Telemetry [baseline] (8.22 ms) : 0, 8220
Telemetry [candidate] (8.221 ms) : 0, 8221
section appsec
BytebuddyAgent [baseline] (719.762 ms) : 0, 719762
BytebuddyAgent [candidate] (710.2 ms) : 0, 710200
GlobalTracer [baseline] (237.134 ms) : 0, 237134
GlobalTracer [candidate] (235.232 ms) : 0, 235232
AppSec [baseline] (172.102 ms) : 0, 172102
AppSec [candidate] (170.963 ms) : 0, 170963
Debugger [baseline] (5.789 ms) : 0, 5789
Debugger [candidate] (5.761 ms) : 0, 5761
Remote Config [baseline] (609.238 µs) : 0, 609
Remote Config [candidate] (597.713 µs) : 0, 598
Telemetry [baseline] (8.163 ms) : 0, 8163
Telemetry [candidate] (8.108 ms) : 0, 8108
IAST [baseline] (23.445 ms) : 0, 23445
IAST [candidate] (23.17 ms) : 0, 23170
section iast
BytebuddyAgent [baseline] (808.997 ms) : 0, 808997
BytebuddyAgent [candidate] (809.45 ms) : 0, 809450
GlobalTracer [baseline] (232.852 ms) : 0, 232852
GlobalTracer [candidate] (232.569 ms) : 0, 232569
AppSec [baseline] (26.962 ms) : 0, 26962
AppSec [candidate] (32.326 ms) : 0, 32326
Debugger [baseline] (5.868 ms) : 0, 5868
Debugger [candidate] (5.801 ms) : 0, 5801
Remote Config [baseline] (619.091 µs) : 0, 619
Remote Config [candidate] (581.629 µs) : 0, 582
Telemetry [baseline] (8.032 ms) : 0, 8032
Telemetry [candidate] (7.932 ms) : 0, 7932
IAST [baseline] (30.34 ms) : 0, 30340
IAST [candidate] (25.41 ms) : 0, 25410
section profiling
ProfilingAgent [baseline] (104.172 ms) : 0, 104172
ProfilingAgent [candidate] (103.088 ms) : 0, 103088
BytebuddyAgent [baseline] (676.572 ms) : 0, 676572
BytebuddyAgent [candidate] (680.722 ms) : 0, 680722
GlobalTracer [baseline] (360.969 ms) : 0, 360969
GlobalTracer [candidate] (361.893 ms) : 0, 361893
AppSec [baseline] (32.292 ms) : 0, 32292
AppSec [candidate] (30.843 ms) : 0, 30843
Debugger [baseline] (10.759 ms) : 0, 10759
Debugger [candidate] (12.094 ms) : 0, 12094
Remote Config [baseline] (674.082 µs) : 0, 674
Remote Config [candidate] (655.804 µs) : 0, 656
Telemetry [baseline] (9.431 ms) : 0, 9431
Telemetry [candidate] (9.57 ms) : 0, 9570
Profiling [baseline] (104.196 ms) : 0, 104196
Profiling [candidate] (103.111 ms) : 0, 103111
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master bdu/react-properly-on-plugin
git_commit_date 1751895829 1751895899
git_commit_sha 041214b ac9151d
release_version 1.51.0-SNAPSHOT~041214be86 1.51.0-SNAPSHOT~ac9151dc73
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1751897389 1751897389
ci_job_id 1016040793 1016040793
ci_pipeline_id 69776747 69776747
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-4lrwnxft 6.8.0-1030-aws #32~22.04.1-Ubuntu SMP Thu Jun 5 08:38:24 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-0-4lrwnxft 6.8.0-1030-aws #32~22.04.1-Ubuntu SMP Thu Jun 5 08:38:24 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

Found 1 performance improvements and 3 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:iast_GLOBAL:high_load better
[-681.102µs; -268.733µs] or [-6.405%; -2.527%]
unstable
[-32.542op/s; +73.042op/s] or [-7.446%; +16.712%]
10.159ms 457.312op/s 10.634ms 437.062op/s
scenario:load:insecure-bank:profiling:high_load worse
[+373.414µs; +692.529µs] or [+4.329%; +8.028%]
unstable
[-97.642op/s; +35.767op/s] or [-18.164%; +6.654%]
9.160ms 506.625op/s 8.627ms 537.562op/s
scenario:load:insecure-bank:tracing:high_load worse
[+297.037µs; +531.968µs] or [+3.958%; +7.088%]
unstable
[-104.136op/s; +43.011op/s] or [-16.881%; +6.972%]
7.920ms 586.312op/s 7.505ms 616.875op/s
scenario:load:insecure-bank:iast:high_load worse
[+267.164µs; +613.891µs] or [+2.922%; +6.714%]
unstable
[-83.009op/s; +36.884op/s] or [-16.357%; +7.268%]
9.584ms 484.406op/s 9.144ms 507.469op/s
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.51.0-SNAPSHOT~ac9151dc73, baseline=1.51.0-SNAPSHOT~041214be86
    dateFormat X
    axisFormat %s
section baseline
no_agent (4.46 ms) : 4408, 4513
.   : milestone, 4460,
iast (9.144 ms) : 8990, 9298
.   : milestone, 9144,
iast_FULL (14.318 ms) : 14027, 14609
.   : milestone, 14318,
iast_GLOBAL (10.634 ms) : 10443, 10824
.   : milestone, 10634,
profiling (8.627 ms) : 8486, 8768
.   : milestone, 8627,
tracing (7.505 ms) : 7399, 7611
.   : milestone, 7505,
section candidate
no_agent (4.435 ms) : 4381, 4489
.   : milestone, 4435,
iast (9.584 ms) : 9416, 9752
.   : milestone, 9584,
iast_FULL (13.917 ms) : 13637, 14196
.   : milestone, 13917,
iast_GLOBAL (10.159 ms) : 9966, 10352
.   : milestone, 10159,
profiling (9.16 ms) : 9005, 9315
.   : milestone, 9160,
tracing (7.92 ms) : 7807, 8032
.   : milestone, 7920,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.46 ms [4.408 ms, 4.513 ms] -
iast 9.144 ms [8.99 ms, 9.298 ms] 4.683 ms (105.0%)
iast_FULL 14.318 ms [14.027 ms, 14.609 ms] 9.857 ms (221.0%)
iast_GLOBAL 10.634 ms [10.443 ms, 10.824 ms] 6.173 ms (138.4%)
profiling 8.627 ms [8.486 ms, 8.768 ms] 4.166 ms (93.4%)
tracing 7.505 ms [7.399 ms, 7.611 ms] 3.045 ms (68.3%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.435 ms [4.381 ms, 4.489 ms] -
iast 9.584 ms [9.416 ms, 9.752 ms] 5.149 ms (116.1%)
iast_FULL 13.917 ms [13.637 ms, 14.196 ms] 9.481 ms (213.8%)
iast_GLOBAL 10.159 ms [9.966 ms, 10.352 ms] 5.723 ms (129.0%)
profiling 9.16 ms [9.005 ms, 9.315 ms] 4.724 ms (106.5%)
tracing 7.92 ms [7.807 ms, 8.032 ms] 3.484 ms (78.6%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.51.0-SNAPSHOT~ac9151dc73, baseline=1.51.0-SNAPSHOT~041214be86
    dateFormat X
    axisFormat %s
section baseline
no_agent (37.091 ms) : 36793, 37388
.   : milestone, 37091,
appsec (47.599 ms) : 47190, 48008
.   : milestone, 47599,
code_origins (45.288 ms) : 44897, 45678
.   : milestone, 45288,
iast (42.787 ms) : 42415, 43159
.   : milestone, 42787,
profiling (48.867 ms) : 48415, 49318
.   : milestone, 48867,
tracing (43.355 ms) : 42991, 43720
.   : milestone, 43355,
section candidate
no_agent (37.308 ms) : 37013, 37603
.   : milestone, 37308,
appsec (47.254 ms) : 46838, 47670
.   : milestone, 47254,
code_origins (44.988 ms) : 44590, 45386
.   : milestone, 44988,
iast (42.006 ms) : 41645, 42367
.   : milestone, 42006,
profiling (49.304 ms) : 48849, 49759
.   : milestone, 49304,
tracing (42.909 ms) : 42523, 43296
.   : milestone, 42909,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 37.091 ms [36.793 ms, 37.388 ms] -
appsec 47.599 ms [47.19 ms, 48.008 ms] 10.508 ms (28.3%)
code_origins 45.288 ms [44.897 ms, 45.678 ms] 8.197 ms (22.1%)
iast 42.787 ms [42.415 ms, 43.159 ms] 5.697 ms (15.4%)
profiling 48.867 ms [48.415 ms, 49.318 ms] 11.776 ms (31.7%)
tracing 43.355 ms [42.991 ms, 43.72 ms] 6.265 ms (16.9%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 37.308 ms [37.013 ms, 37.603 ms] -
appsec 47.254 ms [46.838 ms, 47.67 ms] 9.946 ms (26.7%)
code_origins 44.988 ms [44.59 ms, 45.386 ms] 7.68 ms (20.6%)
iast 42.006 ms [41.645 ms, 42.367 ms] 4.698 ms (12.6%)
profiling 49.304 ms [48.849 ms, 49.759 ms] 11.996 ms (32.2%)
tracing 42.909 ms [42.523 ms, 43.296 ms] 5.602 ms (15.0%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master bdu/react-properly-on-plugin
git_commit_date 1751895829 1751895899
git_commit_sha 041214b ac9151d
release_version 1.51.0-SNAPSHOT~041214be86 1.51.0-SNAPSHOT~ac9151dc73
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1751897885 1751897885
ci_job_id 1016040796 1016040796
ci_pipeline_id 69776747 69776747
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-ic2ac4yx 6.8.0-1030-aws #32~22.04.1-Ubuntu SMP Thu Jun 5 08:38:24 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-1-ic2ac4yx 6.8.0-1030-aws #32~22.04.1-Ubuntu SMP Thu Jun 5 08:38:24 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.51.0-SNAPSHOT~ac9151dc73, baseline=1.51.0-SNAPSHOT~041214be86
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.473 ms) : 1462, 1485
.   : milestone, 1473,
appsec (2.395 ms) : 2346, 2444
.   : milestone, 2395,
iast (2.191 ms) : 2129, 2253
.   : milestone, 2191,
iast_GLOBAL (2.226 ms) : 2163, 2288
.   : milestone, 2226,
profiling (2.049 ms) : 1997, 2100
.   : milestone, 2049,
tracing (2.0 ms) : 1952, 2048
.   : milestone, 2000,
section candidate
no_agent (1.475 ms) : 1464, 1487
.   : milestone, 1475,
appsec (2.392 ms) : 2343, 2441
.   : milestone, 2392,
iast (2.182 ms) : 2120, 2244
.   : milestone, 2182,
iast_GLOBAL (2.226 ms) : 2164, 2289
.   : milestone, 2226,
profiling (2.06 ms) : 2009, 2111
.   : milestone, 2060,
tracing (2.012 ms) : 1964, 2061
.   : milestone, 2012,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.473 ms [1.462 ms, 1.485 ms] -
appsec 2.395 ms [2.346 ms, 2.444 ms] 921.64 µs (62.6%)
iast 2.191 ms [2.129 ms, 2.253 ms] 717.222 µs (48.7%)
iast_GLOBAL 2.226 ms [2.163 ms, 2.288 ms] 752.254 µs (51.1%)
profiling 2.049 ms [1.997 ms, 2.1 ms] 575.244 µs (39.0%)
tracing 2.0 ms [1.952 ms, 2.048 ms] 526.504 µs (35.7%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.475 ms [1.464 ms, 1.487 ms] -
appsec 2.392 ms [2.343 ms, 2.441 ms] 916.906 µs (62.2%)
iast 2.182 ms [2.12 ms, 2.244 ms] 707.031 µs (47.9%)
iast_GLOBAL 2.226 ms [2.164 ms, 2.289 ms] 750.97 µs (50.9%)
profiling 2.06 ms [2.009 ms, 2.111 ms] 584.871 µs (39.6%)
tracing 2.012 ms [1.964 ms, 2.061 ms] 536.896 µs (36.4%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.51.0-SNAPSHOT~ac9151dc73, baseline=1.51.0-SNAPSHOT~041214be86
    dateFormat X
    axisFormat %s
section baseline
no_agent (14.805 s) : 14805000, 14805000
.   : milestone, 14805000,
appsec (14.825 s) : 14825000, 14825000
.   : milestone, 14825000,
iast (18.582 s) : 18582000, 18582000
.   : milestone, 18582000,
iast_GLOBAL (17.952 s) : 17952000, 17952000
.   : milestone, 17952000,
profiling (15.24 s) : 15240000, 15240000
.   : milestone, 15240000,
tracing (14.881 s) : 14881000, 14881000
.   : milestone, 14881000,
section candidate
no_agent (15.65 s) : 15650000, 15650000
.   : milestone, 15650000,
appsec (14.828 s) : 14828000, 14828000
.   : milestone, 14828000,
iast (18.593 s) : 18593000, 18593000
.   : milestone, 18593000,
iast_GLOBAL (18.133 s) : 18133000, 18133000
.   : milestone, 18133000,
profiling (15.483 s) : 15483000, 15483000
.   : milestone, 15483000,
tracing (14.911 s) : 14911000, 14911000
.   : milestone, 14911000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.805 s [14.805 s, 14.805 s] -
appsec 14.825 s [14.825 s, 14.825 s] 20.0 ms (0.1%)
iast 18.582 s [18.582 s, 18.582 s] 3.777 s (25.5%)
iast_GLOBAL 17.952 s [17.952 s, 17.952 s] 3.147 s (21.3%)
profiling 15.24 s [15.24 s, 15.24 s] 435.0 ms (2.9%)
tracing 14.881 s [14.881 s, 14.881 s] 76.0 ms (0.5%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.65 s [15.65 s, 15.65 s] -
appsec 14.828 s [14.828 s, 14.828 s] -822.0 ms (-5.3%)
iast 18.593 s [18.593 s, 18.593 s] 2.943 s (18.8%)
iast_GLOBAL 18.133 s [18.133 s, 18.133 s] 2.483 s (15.9%)
profiling 15.483 s [15.483 s, 15.483 s] -167.0 ms (-1.1%)
tracing 14.911 s [14.911 s, 14.911 s] -739.0 ms (-4.7%)

@bric3 bric3 force-pushed the bdu/react-properly-on-plugin branch from 49a3438 to 3af7215 Compare July 7, 2025 07:49
@bric3 bric3 force-pushed the bdu/react-properly-on-plugin branch from 3af7215 to 68db193 Compare July 7, 2025 11:24
Copy link
Contributor

@PerfectSlayer PerfectSlayer left a comment

Choose a reason for hiding this comment

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

Interesting! That will help with @amarziali refactoring 🤝

Copy link
Contributor

@amarziali amarziali left a comment

Choose a reason for hiding this comment

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

Thanks a lot Brice!

@bric3 bric3 marked this pull request as ready for review July 7, 2025 13:45
@bric3 bric3 requested review from a team as code owners July 7, 2025 13:45
Copy link
Member

@manuel-alvarez-alvarez manuel-alvarez-alvarez left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines 55 to +58
subProj.afterEvaluate {
if (!plugins.hasPlugin("java")) {
return
}
Copy link
Contributor Author

@bric3 bric3 Jul 7, 2025

Choose a reason for hiding this comment

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

Note: this afterEvaluate post pones this configuration at the very end. It might be improved instead with something like with the muzzle plugin applied within.

subProj.plugins.withId("java") { }

However, it doesn't work well at the moment because instrumentation projects may use the muzzle extension before declaring they are using muzzle plugin and before they are applying the java plugin.

In proper Gradle projects project should always prefer the plugins {} block to apply plugins.

@bric3 bric3 enabled auto-merge (squash) July 7, 2025 15:04
@bric3 bric3 merged commit 0f0b07e into master Jul 8, 2025
510 checks passed
@bric3 bric3 deleted the bdu/react-properly-on-plugin branch July 8, 2025 08:56
@github-actions github-actions bot added this to the 1.51.0 milestone Jul 8, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants