Skip to content

Conversation

@jbachorik
Copy link
Contributor

@jbachorik jbachorik commented Dec 22, 2025

What Does This Do

This PR adds the ability to 'override' the ddprof (Java Profiler) dependency with its current snapshot version.
This is done by adding -PddprofUseSnapshot to the gradle task arguments.

Motivation

We (the Java profiler team) are looking for faster dogfooding iteration which involves the complete integration of the profiler library to the tracer. This is the first, preparatory step in order to be able to do that regularly in the future.

Additional Notes

This change is not affecting anything else and it is completely optional to use.
The CI job is manually triggered only for now.

Contributor Checklist

@pr-commenter
Copy link

pr-commenter bot commented Dec 22, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master air/automate-snapshot-publishing-with-version-incrementing-b935e650-1
git_commit_date 1767720455 1767782801
git_commit_sha 92c84e2 c5fa7cf
release_version 1.59.0-SNAPSHOT~92c84e28db 1.59.0-SNAPSHOT~c5fa7cf076
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1767785320 1767785320
ci_job_id 1332433200 1332433200
ci_pipeline_id 89414705 89414705
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-bwoyy9t3 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-bwoyy9t3 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 56 metrics, 9 unstable metrics.

Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.59.0-SNAPSHOT~c5fa7cf076, baseline=1.59.0-SNAPSHOT~92c84e28db

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.085 s) : 0, 1085410
Total [baseline] (8.745 s) : 0, 8745478
Agent [candidate] (1.103 s) : 0, 1103273
Total [candidate] (8.79 s) : 0, 8790061
section iast
Agent [baseline] (1.22 s) : 0, 1220172
Total [baseline] (9.298 s) : 0, 9298011
Agent [candidate] (1.229 s) : 0, 1229195
Total [candidate] (9.309 s) : 0, 9309187
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.085 s -
Agent iast 1.22 s 134.762 ms (12.4%)
Total tracing 8.745 s -
Total iast 9.298 s 552.534 ms (6.3%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.103 s -
Agent iast 1.229 s 125.922 ms (11.4%)
Total tracing 8.79 s -
Total iast 9.309 s 519.126 ms (5.9%)
gantt
    title insecure-bank - break down per module: candidate=1.59.0-SNAPSHOT~c5fa7cf076, baseline=1.59.0-SNAPSHOT~92c84e28db

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.185 ms) : 0, 1185
crashtracking [candidate] (1.209 ms) : 0, 1209
BytebuddyAgent [baseline] (651.497 ms) : 0, 651497
BytebuddyAgent [candidate] (662.981 ms) : 0, 662981
GlobalTracer [baseline] (283.039 ms) : 0, 283039
GlobalTracer [candidate] (287.851 ms) : 0, 287851
AppSec [baseline] (32.612 ms) : 0, 32612
AppSec [candidate] (33.283 ms) : 0, 33283
Debugger [baseline] (68.133 ms) : 0, 68133
Debugger [candidate] (68.439 ms) : 0, 68439
Remote Config [baseline] (631.952 µs) : 0, 632
Remote Config [candidate] (618.49 µs) : 0, 618
Telemetry [baseline] (9.003 ms) : 0, 9003
Telemetry [candidate] (9.091 ms) : 0, 9091
Flare Poller [baseline] (3.739 ms) : 0, 3739
Flare Poller [candidate] (3.778 ms) : 0, 3778
section iast
crashtracking [baseline] (1.185 ms) : 0, 1185
crashtracking [candidate] (1.208 ms) : 0, 1208
BytebuddyAgent [baseline] (789.988 ms) : 0, 789988
BytebuddyAgent [candidate] (794.93 ms) : 0, 794930
GlobalTracer [baseline] (255.104 ms) : 0, 255104
GlobalTracer [candidate] (257.331 ms) : 0, 257331
AppSec [baseline] (33.386 ms) : 0, 33386
AppSec [candidate] (35.781 ms) : 0, 35781
Debugger [baseline] (65.387 ms) : 0, 65387
Debugger [candidate] (64.289 ms) : 0, 64289
Remote Config [baseline] (619.325 µs) : 0, 619
Remote Config [candidate] (617.397 µs) : 0, 617
Telemetry [baseline] (8.457 ms) : 0, 8457
Telemetry [candidate] (8.527 ms) : 0, 8527
Flare Poller [baseline] (3.598 ms) : 0, 3598
Flare Poller [candidate] (3.621 ms) : 0, 3621
IAST [baseline] (26.976 ms) : 0, 26976
IAST [candidate] (27.16 ms) : 0, 27160
Loading
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.59.0-SNAPSHOT~c5fa7cf076, baseline=1.59.0-SNAPSHOT~92c84e28db

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.086 s) : 0, 1086118
Total [baseline] (10.763 s) : 0, 10763415
Agent [candidate] (1.087 s) : 0, 1086624
Total [candidate] (10.787 s) : 0, 10786885
section appsec
Agent [baseline] (1.28 s) : 0, 1279687
Total [baseline] (10.938 s) : 0, 10937934
Agent [candidate] (1.291 s) : 0, 1291473
Total [candidate] (11.121 s) : 0, 11120541
section iast
Agent [baseline] (1.237 s) : 0, 1237493
Total [baseline] (11.171 s) : 0, 11170906
Agent [candidate] (1.229 s) : 0, 1228575
Total [candidate] (11.198 s) : 0, 11197907
section profiling
Agent [baseline] (1.206 s) : 0, 1206136
Total [baseline] (10.215 s) : 0, 10214773
Agent [candidate] (1.215 s) : 0, 1214541
Total [candidate] (10.96 s) : 0, 10959885
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.086 s -
Agent appsec 1.28 s 193.569 ms (17.8%)
Agent iast 1.237 s 151.376 ms (13.9%)
Agent profiling 1.206 s 120.018 ms (11.1%)
Total tracing 10.763 s -
Total appsec 10.938 s 174.519 ms (1.6%)
Total iast 11.171 s 407.492 ms (3.8%)
Total profiling 10.215 s -548.641 ms (-5.1%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.087 s -
Agent appsec 1.291 s 204.849 ms (18.9%)
Agent iast 1.229 s 141.952 ms (13.1%)
Agent profiling 1.215 s 127.917 ms (11.8%)
Total tracing 10.787 s -
Total appsec 11.121 s 333.656 ms (3.1%)
Total iast 11.198 s 411.022 ms (3.8%)
Total profiling 10.96 s 173.0 ms (1.6%)
gantt
    title petclinic - break down per module: candidate=1.59.0-SNAPSHOT~c5fa7cf076, baseline=1.59.0-SNAPSHOT~92c84e28db

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.197 ms) : 0, 1197
crashtracking [candidate] (1.192 ms) : 0, 1192
BytebuddyAgent [baseline] (651.722 ms) : 0, 651722
BytebuddyAgent [candidate] (651.601 ms) : 0, 651601
GlobalTracer [baseline] (282.709 ms) : 0, 282709
GlobalTracer [candidate] (283.527 ms) : 0, 283527
AppSec [baseline] (32.546 ms) : 0, 32546
AppSec [candidate] (32.65 ms) : 0, 32650
Debugger [baseline] (68.786 ms) : 0, 68786
Debugger [candidate] (68.558 ms) : 0, 68558
Remote Config [baseline] (640.814 µs) : 0, 641
Remote Config [candidate] (628.191 µs) : 0, 628
Telemetry [baseline] (9.08 ms) : 0, 9080
Telemetry [candidate] (8.936 ms) : 0, 8936
Flare Poller [baseline] (3.805 ms) : 0, 3805
Flare Poller [candidate] (3.749 ms) : 0, 3749
section appsec
crashtracking [baseline] (1.199 ms) : 0, 1199
crashtracking [candidate] (1.219 ms) : 0, 1219
BytebuddyAgent [baseline] (698.672 ms) : 0, 698672
BytebuddyAgent [candidate] (705.457 ms) : 0, 705457
GlobalTracer [baseline] (260.954 ms) : 0, 260954
GlobalTracer [candidate] (264.601 ms) : 0, 264601
AppSec [baseline] (175.673 ms) : 0, 175673
AppSec [candidate] (176.542 ms) : 0, 176542
Debugger [baseline] (68.31 ms) : 0, 68310
Debugger [candidate] (67.86 ms) : 0, 67860
Remote Config [baseline] (775.159 µs) : 0, 775
Remote Config [candidate] (803.286 µs) : 0, 803
Telemetry [baseline] (9.566 ms) : 0, 9566
Telemetry [candidate] (9.477 ms) : 0, 9477
Flare Poller [baseline] (3.807 ms) : 0, 3807
Flare Poller [candidate] (3.89 ms) : 0, 3890
IAST [baseline] (24.889 ms) : 0, 24889
IAST [candidate] (25.526 ms) : 0, 25526
section iast
crashtracking [baseline] (1.218 ms) : 0, 1218
crashtracking [candidate] (1.216 ms) : 0, 1216
BytebuddyAgent [baseline] (800.67 ms) : 0, 800670
BytebuddyAgent [candidate] (794.848 ms) : 0, 794848
GlobalTracer [baseline] (258.268 ms) : 0, 258268
GlobalTracer [candidate] (257.121 ms) : 0, 257121
AppSec [baseline] (32.951 ms) : 0, 32951
AppSec [candidate] (34.436 ms) : 0, 34436
Debugger [baseline] (68.458 ms) : 0, 68458
Debugger [candidate] (65.552 ms) : 0, 65552
Remote Config [baseline] (578.145 µs) : 0, 578
Remote Config [candidate] (595.228 µs) : 0, 595
Telemetry [baseline] (8.516 ms) : 0, 8516
Telemetry [candidate] (8.479 ms) : 0, 8479
Flare Poller [baseline] (3.625 ms) : 0, 3625
Flare Poller [candidate] (3.529 ms) : 0, 3529
IAST [baseline] (27.355 ms) : 0, 27355
IAST [candidate] (27.198 ms) : 0, 27198
section profiling
crashtracking [baseline] (1.223 ms) : 0, 1223
crashtracking [candidate] (1.238 ms) : 0, 1238
BytebuddyAgent [baseline] (703.674 ms) : 0, 703674
BytebuddyAgent [candidate] (707.425 ms) : 0, 707425
GlobalTracer [baseline] (220.526 ms) : 0, 220526
GlobalTracer [candidate] (222.479 ms) : 0, 222479
AppSec [baseline] (32.198 ms) : 0, 32198
AppSec [candidate] (32.449 ms) : 0, 32449
Debugger [baseline] (68.627 ms) : 0, 68627
Debugger [candidate] (69.257 ms) : 0, 69257
Remote Config [baseline] (651.379 µs) : 0, 651
Remote Config [candidate] (653.907 µs) : 0, 654
Telemetry [baseline] (8.773 ms) : 0, 8773
Telemetry [candidate] (8.809 ms) : 0, 8809
Flare Poller [baseline] (3.612 ms) : 0, 3612
Flare Poller [candidate] (3.72 ms) : 0, 3720
ProfilingAgent [baseline] (96.915 ms) : 0, 96915
ProfilingAgent [candidate] (98.186 ms) : 0, 98186
Profiling [baseline] (97.521 ms) : 0, 97521
Profiling [candidate] (98.759 ms) : 0, 98759
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master air/automate-snapshot-publishing-with-version-incrementing-b935e650-1
git_commit_date 1767720455 1767782801
git_commit_sha 92c84e2 c5fa7cf
release_version 1.59.0-SNAPSHOT~92c84e28db 1.59.0-SNAPSHOT~c5fa7cf076
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1767786022 1767786022
ci_job_id 1332433201 1332433201
ci_pipeline_id 89414705 89414705
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-axleiq5r 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-axleiq5r 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 2 performance regressions! Performance is the same for 17 metrics, 16 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:iast_GLOBAL:high_load worse
[+91.390µs; +234.091µs] or [+3.417%; +8.753%]
unsure
[+88.076µs; +521.863µs] or [+1.155%; +6.846%]
unstable
[-212.713op/s; +64.963op/s] or [-15.741%; +4.807%]
2.837ms 7.928ms 1277.438op/s 2.674ms 7.623ms 1351.312op/s
scenario:load:petclinic:appsec:high_load better
[-1.434ms; -0.606ms] or [-7.600%; -3.215%]
unsure
[-1.755ms; -0.471ms] or [-5.702%; -1.529%]
unstable
[-13.351op/s; +39.288op/s] or [-5.512%; +16.220%]
17.845ms 29.672ms 255.188op/s 18.865ms 30.785ms 242.219op/s
scenario:load:petclinic:no_agent:high_load worse
[+0.367ms; +1.831ms] or [+2.089%; +10.425%]
unstable
[+0.018ms; +3.281ms] or [+0.062%; +11.109%]
unstable
[-43.469op/s; +12.907op/s] or [-16.783%; +4.983%]
18.663ms 31.185ms 243.719op/s 17.564ms 29.536ms 259.000op/s
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.59.0-SNAPSHOT~c5fa7cf076, baseline=1.59.0-SNAPSHOT~92c84e28db
    dateFormat X
    axisFormat %s
section baseline
no_agent (18.018 ms) : 17832, 18204
.   : milestone, 18018,
appsec (19.266 ms) : 19069, 19463
.   : milestone, 19266,
code_origins (17.646 ms) : 17467, 17825
.   : milestone, 17646,
iast (17.612 ms) : 17438, 17785
.   : milestone, 17612,
profiling (18.582 ms) : 18395, 18768
.   : milestone, 18582,
tracing (17.813 ms) : 17635, 17991
.   : milestone, 17813,
section candidate
no_agent (19.152 ms) : 18955, 19349
.   : milestone, 19152,
appsec (18.289 ms) : 18103, 18475
.   : milestone, 18289,
code_origins (17.807 ms) : 17628, 17986
.   : milestone, 17807,
iast (17.576 ms) : 17400, 17752
.   : milestone, 17576,
profiling (18.364 ms) : 18181, 18548
.   : milestone, 18364,
tracing (17.712 ms) : 17538, 17885
.   : milestone, 17712,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 18.018 ms [17.832 ms, 18.204 ms] -
appsec 19.266 ms [19.069 ms, 19.463 ms] 1.248 ms (6.9%)
code_origins 17.646 ms [17.467 ms, 17.825 ms] -372.146 µs (-2.1%)
iast 17.612 ms [17.438 ms, 17.785 ms] -406.376 µs (-2.3%)
profiling 18.582 ms [18.395 ms, 18.768 ms] 563.656 µs (3.1%)
tracing 17.813 ms [17.635 ms, 17.991 ms] -205.248 µs (-1.1%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 19.152 ms [18.955 ms, 19.349 ms] -
appsec 18.289 ms [18.103 ms, 18.475 ms] -862.964 µs (-4.5%)
code_origins 17.807 ms [17.628 ms, 17.986 ms] -1.345 ms (-7.0%)
iast 17.576 ms [17.4 ms, 17.752 ms] -1.576 ms (-8.2%)
profiling 18.364 ms [18.181 ms, 18.548 ms] -787.587 µs (-4.1%)
tracing 17.712 ms [17.538 ms, 17.885 ms] -1.44 ms (-7.5%)
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.59.0-SNAPSHOT~c5fa7cf076, baseline=1.59.0-SNAPSHOT~92c84e28db
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.182 ms) : 1170, 1193
.   : milestone, 1182,
iast (3.193 ms) : 3149, 3236
.   : milestone, 3193,
iast_FULL (5.959 ms) : 5899, 6018
.   : milestone, 5959,
iast_GLOBAL (3.388 ms) : 3340, 3436
.   : milestone, 3388,
profiling (1.954 ms) : 1937, 1971
.   : milestone, 1954,
tracing (1.849 ms) : 1831, 1866
.   : milestone, 1849,
section candidate
no_agent (1.193 ms) : 1181, 1204
.   : milestone, 1193,
iast (3.134 ms) : 3097, 3170
.   : milestone, 3134,
iast_FULL (5.766 ms) : 5709, 5823
.   : milestone, 5766,
iast_GLOBAL (3.592 ms) : 3533, 3651
.   : milestone, 3592,
profiling (2.002 ms) : 1985, 2019
.   : milestone, 2002,
tracing (1.791 ms) : 1776, 1805
.   : milestone, 1791,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.182 ms [1.17 ms, 1.193 ms] -
iast 3.193 ms [3.149 ms, 3.236 ms] 2.011 ms (170.2%)
iast_FULL 5.959 ms [5.899 ms, 6.018 ms] 4.777 ms (404.3%)
iast_GLOBAL 3.388 ms [3.34 ms, 3.436 ms] 2.207 ms (186.8%)
profiling 1.954 ms [1.937 ms, 1.971 ms] 772.689 µs (65.4%)
tracing 1.849 ms [1.831 ms, 1.866 ms] 667.088 µs (56.5%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.193 ms [1.181 ms, 1.204 ms] -
iast 3.134 ms [3.097 ms, 3.17 ms] 1.941 ms (162.7%)
iast_FULL 5.766 ms [5.709 ms, 5.823 ms] 4.573 ms (383.4%)
iast_GLOBAL 3.592 ms [3.533 ms, 3.651 ms] 2.399 ms (201.1%)
profiling 2.002 ms [1.985 ms, 2.019 ms] 808.879 µs (67.8%)
tracing 1.791 ms [1.776 ms, 1.805 ms] 597.936 µs (50.1%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master air/automate-snapshot-publishing-with-version-incrementing-b935e650-1
git_commit_date 1767720455 1767782801
git_commit_sha 92c84e2 c5fa7cf
release_version 1.59.0-SNAPSHOT~92c84e28db 1.59.0-SNAPSHOT~c5fa7cf076
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1767785558 1767785558
ci_job_id 1332433202 1332433202
ci_pipeline_id 89414705 89414705
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-557ykeu4 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-557ykeu4 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 tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.59.0-SNAPSHOT~c5fa7cf076, baseline=1.59.0-SNAPSHOT~92c84e28db
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.475 ms) : 1464, 1487
.   : milestone, 1475,
appsec (3.702 ms) : 3481, 3923
.   : milestone, 3702,
iast (2.213 ms) : 2149, 2278
.   : milestone, 2213,
iast_GLOBAL (2.257 ms) : 2192, 2322
.   : milestone, 2257,
profiling (2.056 ms) : 2004, 2109
.   : milestone, 2056,
tracing (2.046 ms) : 1995, 2097
.   : milestone, 2046,
section candidate
no_agent (1.477 ms) : 1466, 1489
.   : milestone, 1477,
appsec (3.663 ms) : 3448, 3878
.   : milestone, 3663,
iast (2.218 ms) : 2153, 2283
.   : milestone, 2218,
iast_GLOBAL (2.26 ms) : 2195, 2325
.   : milestone, 2260,
profiling (2.051 ms) : 1998, 2103
.   : milestone, 2051,
tracing (2.041 ms) : 1990, 2092
.   : milestone, 2041,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.475 ms [1.464 ms, 1.487 ms] -
appsec 3.702 ms [3.481 ms, 3.923 ms] 2.227 ms (150.9%)
iast 2.213 ms [2.149 ms, 2.278 ms] 737.772 µs (50.0%)
iast_GLOBAL 2.257 ms [2.192 ms, 2.322 ms] 781.946 µs (53.0%)
profiling 2.056 ms [2.004 ms, 2.109 ms] 580.734 µs (39.4%)
tracing 2.046 ms [1.995 ms, 2.097 ms] 570.462 µs (38.7%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.477 ms [1.466 ms, 1.489 ms] -
appsec 3.663 ms [3.448 ms, 3.878 ms] 2.186 ms (148.0%)
iast 2.218 ms [2.153 ms, 2.283 ms] 740.598 µs (50.1%)
iast_GLOBAL 2.26 ms [2.195 ms, 2.325 ms] 782.428 µs (53.0%)
profiling 2.051 ms [1.998 ms, 2.103 ms] 573.163 µs (38.8%)
tracing 2.041 ms [1.99 ms, 2.092 ms] 563.181 µs (38.1%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.59.0-SNAPSHOT~c5fa7cf076, baseline=1.59.0-SNAPSHOT~92c84e28db
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.521 s) : 15521000, 15521000
.   : milestone, 15521000,
appsec (14.622 s) : 14622000, 14622000
.   : milestone, 14622000,
iast (18.155 s) : 18155000, 18155000
.   : milestone, 18155000,
iast_GLOBAL (17.911 s) : 17911000, 17911000
.   : milestone, 17911000,
profiling (14.819 s) : 14819000, 14819000
.   : milestone, 14819000,
tracing (14.539 s) : 14539000, 14539000
.   : milestone, 14539000,
section candidate
no_agent (15.598 s) : 15598000, 15598000
.   : milestone, 15598000,
appsec (14.539 s) : 14539000, 14539000
.   : milestone, 14539000,
iast (18.221 s) : 18221000, 18221000
.   : milestone, 18221000,
iast_GLOBAL (17.932 s) : 17932000, 17932000
.   : milestone, 17932000,
profiling (15.028 s) : 15028000, 15028000
.   : milestone, 15028000,
tracing (14.496 s) : 14496000, 14496000
.   : milestone, 14496000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.521 s [15.521 s, 15.521 s] -
appsec 14.622 s [14.622 s, 14.622 s] -899.0 ms (-5.8%)
iast 18.155 s [18.155 s, 18.155 s] 2.634 s (17.0%)
iast_GLOBAL 17.911 s [17.911 s, 17.911 s] 2.39 s (15.4%)
profiling 14.819 s [14.819 s, 14.819 s] -702.0 ms (-4.5%)
tracing 14.539 s [14.539 s, 14.539 s] -982.0 ms (-6.3%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.598 s [15.598 s, 15.598 s] -
appsec 14.539 s [14.539 s, 14.539 s] -1.059 s (-6.8%)
iast 18.221 s [18.221 s, 18.221 s] 2.623 s (16.8%)
iast_GLOBAL 17.932 s [17.932 s, 17.932 s] 2.334 s (15.0%)
profiling 15.028 s [15.028 s, 15.028 s] -570.0 ms (-3.7%)
tracing 14.496 s [14.496 s, 14.496 s] -1.102 s (-7.1%)

@jbachorik jbachorik marked this pull request as ready for review December 22, 2025 14:49
@jbachorik jbachorik requested review from a team as code owners December 22, 2025 14:49
@jbachorik jbachorik requested review from colin-higgins and mcculls and removed request for a team December 22, 2025 14:49
@github-actions
Copy link
Contributor

github-actions bot commented Dec 22, 2025

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.

@jbachorik jbachorik changed the title [WIP] Allow ddprof version override to build a custom 'profiler-snapshot' dd-java-agent artifact Allow ddprof version override to build a custom 'profiler-snapshot' dd-java-agent artifact Dec 22, 2025
Copy link
Contributor

@mcculls mcculls left a comment

Choose a reason for hiding this comment

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

Just one comment - the PR description mentions using -PddprofSnapshotVersion but the doc change suggests that -PddprofUseSnapshot is the flag to set.

@mcculls mcculls added type: enhancement Enhancements and improvements tag: no release notes Changes to exclude from release notes comp: profiling Profiling comp: tooling Build & Tooling labels Dec 30, 2025
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 have some concern here. But I can help move this forward.

- Document new convention plugin approach
- Update file list to include new files
- Clarify that dependency override only affects relevant projects
- Add example of plugin application in build files
Address PR review feedback from bric3:
- Create dd-trace-java.profiling-ddprof-override convention plugin
- Apply plugin only to projects that depend on ddprof (ddprof-lib)
- Remove allprojects blocks from ddprof-override.gradle
- Enhance TracerVersionPlugin to support version qualifiers
- Use consistent property access (property() instead of ext)

Benefits:
- Only affects projects that explicitly apply the plugin
- Follows Gradle best practices and project conventions
- More maintainable and easier to understand
- Clear separation of concerns

The ddprof dependency override now happens via a convention plugin
that projects can opt into, rather than affecting all projects globally.
@jbachorik jbachorik force-pushed the air/automate-snapshot-publishing-with-version-incrementing-b935e650-1 branch from 8b98b1f to c5fa7cf Compare January 7, 2026 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: profiling Profiling 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.

4 participants