Skip to content

Conversation

@jbachorik
Copy link
Contributor

@jbachorik jbachorik commented May 27, 2025

What Does This Do

Bump ddprof to 1.27.0

Motivation

Bring in a profiler fix DataDog/java-profiler#213

Additional Notes

Contributor Checklist

@jbachorik jbachorik requested a review from a team as a code owner May 27, 2025 17:24
@jbachorik jbachorik requested a review from mcculls May 27, 2025 17:24
@jbachorik jbachorik added type: enhancement Enhancements and improvements comp: profiling Profiling labels May 27, 2025
@pr-commenter
Copy link

pr-commenter bot commented May 27, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master jb/ddprof_1.27.0
git_commit_date 1746789389 1748433571
git_commit_sha ad6d5fe 7fb5f17
release_version 1.50.0-SNAPSHOT~ad6d5fef42 1.50.0-SNAPSHOT~7fb5f1796f
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1748436182 1748436182
ci_job_id 957381305 957381305
ci_pipeline_id 66304274 66304274
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-a5ynt5bs-project-304-concurrent-1-1bo33hfk 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-a5ynt5bs-project-304-concurrent-1-1bo33hfk 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
module Agent Agent
parent None None
variant iast iast

Summary

Found 3 performance improvements and 2 performance regressions! Performance is the same for 52 metrics, 14 unstable metrics.

scenario Δ mean execution_time candidate mean execution_time baseline mean execution_time
scenario:startup:petclinic:profiling:ProfilingAgent better
[-7.334ms; -3.437ms] or [-6.716%; -3.148%]
103.806ms 109.191ms
scenario:startup:petclinic:profiling:GlobalTracer better
[-20.162ms; -16.676ms] or [-5.345%; -4.421%]
358.772ms 377.191ms
scenario:startup:petclinic:profiling:AppSec worse
[+5.699ms; +9.193ms] or [+10.539%; +17.001%]
61.517ms 54.072ms
scenario:startup:petclinic:profiling:Profiling better
[-7.336ms; -3.439ms] or [-6.717%; -3.149%]
103.830ms 109.217ms
scenario:startup:petclinic:tracing:Remote Config worse
[+14.481µs; +68.277µs] or [+2.116%; +9.977%]
725.726µs 684.347µs
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.50.0-SNAPSHOT~7fb5f1796f, baseline=1.50.0-SNAPSHOT~ad6d5fef42

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.02 s) : 0, 1019846
Total [baseline] (10.506 s) : 0, 10505776
Agent [candidate] (1.018 s) : 0, 1017654
Total [candidate] (10.499 s) : 0, 10498560
section appsec
Agent [baseline] (1.162 s) : 0, 1161845
Total [baseline] (10.678 s) : 0, 10678339
Agent [candidate] (1.164 s) : 0, 1164342
Total [candidate] (10.677 s) : 0, 10676704
section iast
Agent [baseline] (1.146 s) : 0, 1146151
Total [baseline] (10.876 s) : 0, 10875836
Agent [candidate] (1.15 s) : 0, 1149918
Total [candidate] (10.929 s) : 0, 10928623
section profiling
Agent [baseline] (1.281 s) : 0, 1280975
Total [baseline] (10.869 s) : 0, 10868627
Agent [candidate] (1.264 s) : 0, 1264205
Total [candidate] (10.766 s) : 0, 10766075
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.02 s -
Agent appsec 1.162 s 141.999 ms (13.9%)
Agent iast 1.146 s 126.305 ms (12.4%)
Agent profiling 1.281 s 261.13 ms (25.6%)
Total tracing 10.506 s -
Total appsec 10.678 s 172.564 ms (1.6%)
Total iast 10.876 s 370.061 ms (3.5%)
Total profiling 10.869 s 362.852 ms (3.5%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.018 s -
Agent appsec 1.164 s 146.688 ms (14.4%)
Agent iast 1.15 s 132.264 ms (13.0%)
Agent profiling 1.264 s 246.551 ms (24.2%)
Total tracing 10.499 s -
Total appsec 10.677 s 178.144 ms (1.7%)
Total iast 10.929 s 430.063 ms (4.1%)
Total profiling 10.766 s 267.515 ms (2.5%)
gantt
    title petclinic - break down per module: candidate=1.50.0-SNAPSHOT~7fb5f1796f, baseline=1.50.0-SNAPSHOT~ad6d5fef42

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (682.655 ms) : 0, 682655
BytebuddyAgent [candidate] (681.878 ms) : 0, 681878
GlobalTracer [baseline] (239.632 ms) : 0, 239632
GlobalTracer [candidate] (240.061 ms) : 0, 240061
AppSec [baseline] (54.495 ms) : 0, 54495
AppSec [candidate] (54.581 ms) : 0, 54581
Debugger [baseline] (8.283 ms) : 0, 8283
Debugger [candidate] (6.922 ms) : 0, 6922
Remote Config [baseline] (684.346 µs) : 0, 684
Remote Config [candidate] (725.725 µs) : 0, 726
Telemetry [baseline] (10.546 ms) : 0, 10546
Telemetry [candidate] (9.936 ms) : 0, 9936
section appsec
BytebuddyAgent [baseline] (701.124 ms) : 0, 701124
BytebuddyAgent [candidate] (702.201 ms) : 0, 702201
GlobalTracer [baseline] (236.791 ms) : 0, 236791
GlobalTracer [candidate] (237.236 ms) : 0, 237236
AppSec [baseline] (175.145 ms) : 0, 175145
AppSec [candidate] (175.964 ms) : 0, 175964
Debugger [baseline] (6.309 ms) : 0, 6309
Debugger [candidate] (5.971 ms) : 0, 5971
Remote Config [baseline] (620.03 µs) : 0, 620
Remote Config [candidate] (631.014 µs) : 0, 631
Telemetry [baseline] (7.409 ms) : 0, 7409
Telemetry [candidate] (7.824 ms) : 0, 7824
IAST [baseline] (21.725 ms) : 0, 21725
IAST [candidate] (21.823 ms) : 0, 21823
section iast
BytebuddyAgent [baseline] (800.19 ms) : 0, 800190
BytebuddyAgent [candidate] (803.014 ms) : 0, 803014
GlobalTracer [baseline] (230.046 ms) : 0, 230046
GlobalTracer [candidate] (230.616 ms) : 0, 230616
AppSec [baseline] (50.068 ms) : 0, 50068
AppSec [candidate] (48.419 ms) : 0, 48419
Debugger [baseline] (5.892 ms) : 0, 5892
Debugger [candidate] (5.951 ms) : 0, 5951
Remote Config [baseline] (597.214 µs) : 0, 597
Remote Config [candidate] (590.495 µs) : 0, 590
Telemetry [baseline] (7.841 ms) : 0, 7841
Telemetry [candidate] (7.957 ms) : 0, 7957
IAST [baseline] (28.018 ms) : 0, 28018
IAST [candidate] (29.847 ms) : 0, 29847
section profiling
ProfilingAgent [baseline] (109.191 ms) : 0, 109191
ProfilingAgent [candidate] (103.806 ms) : 0, 103806
BytebuddyAgent [baseline] (674.927 ms) : 0, 674927
BytebuddyAgent [candidate] (674.042 ms) : 0, 674042
GlobalTracer [baseline] (377.191 ms) : 0, 377191
GlobalTracer [candidate] (358.772 ms) : 0, 358772
AppSec [baseline] (54.072 ms) : 0, 54072
AppSec [candidate] (61.517 ms) : 0, 61517
Debugger [baseline] (6.154 ms) : 0, 6154
Debugger [candidate] (6.268 ms) : 0, 6268
Remote Config [baseline] (653.24 µs) : 0, 653
Remote Config [candidate] (638.637 µs) : 0, 639
Telemetry [baseline] (8.092 ms) : 0, 8092
Telemetry [candidate] (8.2 ms) : 0, 8200
Profiling [baseline] (109.217 ms) : 0, 109217
Profiling [candidate] (103.83 ms) : 0, 103830
Loading
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.50.0-SNAPSHOT~7fb5f1796f, baseline=1.50.0-SNAPSHOT~ad6d5fef42

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.019 s) : 0, 1019384
Total [baseline] (8.62 s) : 0, 8620034
Agent [candidate] (1.029 s) : 0, 1029364
Total [candidate] (8.714 s) : 0, 8714081
section iast
Agent [baseline] (1.153 s) : 0, 1153273
Total [baseline] (9.215 s) : 0, 9215125
Agent [candidate] (1.15 s) : 0, 1149694
Total [candidate] (9.226 s) : 0, 9225811
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.148 s) : 0, 1147682
Total [baseline] (9.176 s) : 0, 9175883
Agent [candidate] (1.147 s) : 0, 1146667
Total [candidate] (9.154 s) : 0, 9153664
section iast_TELEMETRY_OFF
Agent [baseline] (1.147 s) : 0, 1146717
Total [baseline] (9.226 s) : 0, 9226341
Agent [candidate] (1.146 s) : 0, 1145965
Total [candidate] (9.228 s) : 0, 9227900
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.019 s -
Agent iast 1.153 s 133.888 ms (13.1%)
Agent iast_HARDCODED_SECRET_DISABLED 1.148 s 128.297 ms (12.6%)
Agent iast_TELEMETRY_OFF 1.147 s 127.333 ms (12.5%)
Total tracing 8.62 s -
Total iast 9.215 s 595.091 ms (6.9%)
Total iast_HARDCODED_SECRET_DISABLED 9.176 s 555.849 ms (6.4%)
Total iast_TELEMETRY_OFF 9.226 s 606.307 ms (7.0%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.029 s -
Agent iast 1.15 s 120.329 ms (11.7%)
Agent iast_HARDCODED_SECRET_DISABLED 1.147 s 117.302 ms (11.4%)
Agent iast_TELEMETRY_OFF 1.146 s 116.601 ms (11.3%)
Total tracing 8.714 s -
Total iast 9.226 s 511.729 ms (5.9%)
Total iast_HARDCODED_SECRET_DISABLED 9.154 s 439.582 ms (5.0%)
Total iast_TELEMETRY_OFF 9.228 s 513.818 ms (5.9%)
gantt
    title insecure-bank - break down per module: candidate=1.50.0-SNAPSHOT~7fb5f1796f, baseline=1.50.0-SNAPSHOT~ad6d5fef42

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (681.653 ms) : 0, 681653
BytebuddyAgent [candidate] (690.339 ms) : 0, 690339
GlobalTracer [baseline] (239.346 ms) : 0, 239346
GlobalTracer [candidate] (242.474 ms) : 0, 242474
AppSec [baseline] (55.781 ms) : 0, 55781
AppSec [candidate] (55.9 ms) : 0, 55900
Debugger [baseline] (9.539 ms) : 0, 9539
Debugger [candidate] (7.676 ms) : 0, 7676
Remote Config [baseline] (678.542 µs) : 0, 679
Remote Config [candidate] (706.578 µs) : 0, 707
Telemetry [baseline] (8.834 ms) : 0, 8834
Telemetry [candidate] (8.462 ms) : 0, 8462
section iast
BytebuddyAgent [baseline] (805.844 ms) : 0, 805844
BytebuddyAgent [candidate] (802.413 ms) : 0, 802413
GlobalTracer [baseline] (230.507 ms) : 0, 230507
GlobalTracer [candidate] (230.638 ms) : 0, 230638
AppSec [baseline] (52.178 ms) : 0, 52178
AppSec [candidate] (51.226 ms) : 0, 51226
Debugger [baseline] (5.921 ms) : 0, 5921
Debugger [candidate] (5.956 ms) : 0, 5956
Remote Config [baseline] (595.108 µs) : 0, 595
Remote Config [candidate] (593.563 µs) : 0, 594
Telemetry [baseline] (7.91 ms) : 0, 7910
Telemetry [candidate] (7.795 ms) : 0, 7795
IAST [baseline] (26.796 ms) : 0, 26796
IAST [candidate] (26.697 ms) : 0, 26697
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (800.946 ms) : 0, 800946
BytebuddyAgent [candidate] (800.496 ms) : 0, 800496
GlobalTracer [baseline] (230.254 ms) : 0, 230254
GlobalTracer [candidate] (230.118 ms) : 0, 230118
AppSec [baseline] (50.008 ms) : 0, 50008
AppSec [candidate] (48.409 ms) : 0, 48409
Debugger [baseline] (5.942 ms) : 0, 5942
Debugger [candidate] (5.922 ms) : 0, 5922
Remote Config [baseline] (581.361 µs) : 0, 581
Remote Config [candidate] (594.772 µs) : 0, 595
Telemetry [baseline] (7.858 ms) : 0, 7858
Telemetry [candidate] (7.93 ms) : 0, 7930
IAST [baseline] (28.484 ms) : 0, 28484
IAST [candidate] (29.782 ms) : 0, 29782
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (799.78 ms) : 0, 799780
BytebuddyAgent [candidate] (799.149 ms) : 0, 799149
GlobalTracer [baseline] (230.75 ms) : 0, 230750
GlobalTracer [candidate] (231.012 ms) : 0, 231012
AppSec [baseline] (56.088 ms) : 0, 56088
AppSec [candidate] (54.798 ms) : 0, 54798
Debugger [baseline] (5.944 ms) : 0, 5944
Debugger [candidate] (5.94 ms) : 0, 5940
Remote Config [baseline] (603.901 µs) : 0, 604
Remote Config [candidate] (598.182 µs) : 0, 598
Telemetry [baseline] (7.804 ms) : 0, 7804
Telemetry [candidate] (7.808 ms) : 0, 7808
IAST [baseline] (22.286 ms) : 0, 22286
IAST [candidate] (23.114 ms) : 0, 23114
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
end_time 2025-05-28T12:10:19 2025-05-28T12:18:03
git_branch master jb/ddprof_1.27.0
git_commit_date 1746789389 1748433571
git_commit_sha ad6d5fe 7fb5f17
release_version 1.50.0-SNAPSHOT~ad6d5fef42 1.50.0-SNAPSHOT~7fb5f1796f
start_time 2025-05-28T12:10:05 2025-05-28T12:17:49
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1748435080 1748435080
ci_job_id 957381308 957381308
ci_pipeline_id 66304274 66304274
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-uzswx31h-project-304-concurrent-1-je03bg4y 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-uzswx31h-project-304-concurrent-1-je03bg4y 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
variant iast iast

Summary

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

Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.50.0-SNAPSHOT~7fb5f1796f, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (379.804 µs) : 360, 399
.   : milestone, 380,
iast (513.613 µs) : 492, 535
.   : milestone, 514,
iast_FULL (732.39 µs) : 711, 754
.   : milestone, 732,
iast_GLOBAL (565.033 µs) : 542, 588
.   : milestone, 565,
iast_HARDCODED_SECRET_DISABLED (512.992 µs) : 491, 535
.   : milestone, 513,
iast_INACTIVE (464.387 µs) : 442, 487
.   : milestone, 464,
iast_TELEMETRY_OFF (513.334 µs) : 490, 537
.   : milestone, 513,
tracing (457.088 µs) : 435, 479
.   : milestone, 457,
section candidate
no_agent (384.007 µs) : 364, 404
.   : milestone, 384,
iast (522.724 µs) : 500, 545
.   : milestone, 523,
iast_FULL (738.049 µs) : 716, 760
.   : milestone, 738,
iast_GLOBAL (564.616 µs) : 542, 587
.   : milestone, 565,
iast_HARDCODED_SECRET_DISABLED (523.065 µs) : 500, 546
.   : milestone, 523,
iast_INACTIVE (468.719 µs) : 446, 492
.   : milestone, 469,
iast_TELEMETRY_OFF (499.201 µs) : 476, 523
.   : milestone, 499,
tracing (457.603 µs) : 436, 479
.   : milestone, 458,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 379.804 µs [360.317 µs, 399.29 µs] -
iast 513.613 µs [491.737 µs, 535.488 µs] 133.809 µs (35.2%)
iast_FULL 732.39 µs [710.544 µs, 754.236 µs] 352.586 µs (92.8%)
iast_GLOBAL 565.033 µs [542.359 µs, 587.706 µs] 185.229 µs (48.8%)
iast_HARDCODED_SECRET_DISABLED 512.992 µs [491.381 µs, 534.603 µs] 133.188 µs (35.1%)
iast_INACTIVE 464.387 µs [441.9 µs, 486.873 µs] 84.583 µs (22.3%)
iast_TELEMETRY_OFF 513.334 µs [490.115 µs, 536.553 µs] 133.53 µs (35.2%)
tracing 457.088 µs [434.995 µs, 479.18 µs] 77.284 µs (20.3%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 384.007 µs [363.686 µs, 404.329 µs] -
iast 522.724 µs [500.388 µs, 545.06 µs] 138.716 µs (36.1%)
iast_FULL 738.049 µs [716.273 µs, 759.825 µs] 354.042 µs (92.2%)
iast_GLOBAL 564.616 µs [541.873 µs, 587.359 µs] 180.609 µs (47.0%)
iast_HARDCODED_SECRET_DISABLED 523.065 µs [499.751 µs, 546.379 µs] 139.057 µs (36.2%)
iast_INACTIVE 468.719 µs [445.708 µs, 491.729 µs] 84.712 µs (22.1%)
iast_TELEMETRY_OFF 499.201 µs [475.896 µs, 522.506 µs] 115.193 µs (30.0%)
tracing 457.603 µs [435.777 µs, 479.428 µs] 73.596 µs (19.2%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.50.0-SNAPSHOT~7fb5f1796f, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.362 ms) : 1343, 1381
.   : milestone, 1362,
appsec (1.732 ms) : 1709, 1756
.   : milestone, 1732,
appsec_no_iast (1.735 ms) : 1712, 1759
.   : milestone, 1735,
code_origins (1.674 ms) : 1647, 1701
.   : milestone, 1674,
iast (1.504 ms) : 1480, 1528
.   : milestone, 1504,
profiling (1.506 ms) : 1483, 1530
.   : milestone, 1506,
tracing (1.495 ms) : 1468, 1521
.   : milestone, 1495,
section candidate
no_agent (1.34 ms) : 1320, 1361
.   : milestone, 1340,
appsec (1.739 ms) : 1716, 1762
.   : milestone, 1739,
appsec_no_iast (1.725 ms) : 1701, 1749
.   : milestone, 1725,
code_origins (1.664 ms) : 1637, 1691
.   : milestone, 1664,
iast (1.507 ms) : 1484, 1530
.   : milestone, 1507,
profiling (1.504 ms) : 1481, 1527
.   : milestone, 1504,
tracing (1.488 ms) : 1464, 1513
.   : milestone, 1488,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.362 ms [1.343 ms, 1.381 ms] -
appsec 1.732 ms [1.709 ms, 1.756 ms] 370.451 µs (27.2%)
appsec_no_iast 1.735 ms [1.712 ms, 1.759 ms] 373.501 µs (27.4%)
code_origins 1.674 ms [1.647 ms, 1.701 ms] 312.162 µs (22.9%)
iast 1.504 ms [1.48 ms, 1.528 ms] 142.525 µs (10.5%)
profiling 1.506 ms [1.483 ms, 1.53 ms] 144.366 µs (10.6%)
tracing 1.495 ms [1.468 ms, 1.521 ms] 132.721 µs (9.7%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.34 ms [1.32 ms, 1.361 ms] -
appsec 1.739 ms [1.716 ms, 1.762 ms] 398.673 µs (29.7%)
appsec_no_iast 1.725 ms [1.701 ms, 1.749 ms] 384.998 µs (28.7%)
code_origins 1.664 ms [1.637 ms, 1.691 ms] 324.12 µs (24.2%)
iast 1.507 ms [1.484 ms, 1.53 ms] 166.787 µs (12.4%)
profiling 1.504 ms [1.481 ms, 1.527 ms] 164.183 µs (12.3%)
tracing 1.488 ms [1.464 ms, 1.513 ms] 148.216 µs (11.1%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master jb/ddprof_1.27.0
git_commit_date 1746789389 1748433571
git_commit_sha ad6d5fe 7fb5f17
release_version 1.50.0-SNAPSHOT~ad6d5fef42 1.50.0-SNAPSHOT~7fb5f1796f
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1748435582 1748435582
ci_job_id 957381310 957381310
ci_pipeline_id 66304274 66304274
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-xgzybjx-project-304-concurrent-1-e2pzqyh5 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-xgzybjx-project-304-concurrent-1-e2pzqyh5 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
variant appsec appsec

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.50.0-SNAPSHOT~7fb5f1796f, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.473 ms) : 1462, 1485
.   : milestone, 1473,
appsec (2.396 ms) : 2348, 2445
.   : milestone, 2396,
iast (2.173 ms) : 2111, 2234
.   : milestone, 2173,
iast_GLOBAL (2.218 ms) : 2156, 2279
.   : milestone, 2218,
profiling (2.032 ms) : 1982, 2082
.   : milestone, 2032,
tracing (2.012 ms) : 1965, 2060
.   : milestone, 2012,
section candidate
no_agent (1.473 ms) : 1461, 1485
.   : milestone, 1473,
appsec (2.393 ms) : 2344, 2442
.   : milestone, 2393,
iast (2.181 ms) : 2119, 2242
.   : milestone, 2181,
iast_GLOBAL (2.222 ms) : 2160, 2284
.   : milestone, 2222,
profiling (2.056 ms) : 2005, 2106
.   : milestone, 2056,
tracing (2.006 ms) : 1958, 2054
.   : milestone, 2006,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.473 ms [1.462 ms, 1.485 ms] -
appsec 2.396 ms [2.348 ms, 2.445 ms] 923.238 µs (62.7%)
iast 2.173 ms [2.111 ms, 2.234 ms] 699.592 µs (47.5%)
iast_GLOBAL 2.218 ms [2.156 ms, 2.279 ms] 744.491 µs (50.5%)
profiling 2.032 ms [1.982 ms, 2.082 ms] 558.754 µs (37.9%)
tracing 2.012 ms [1.965 ms, 2.06 ms] 539.35 µs (36.6%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.473 ms [1.461 ms, 1.485 ms] -
appsec 2.393 ms [2.344 ms, 2.442 ms] 919.972 µs (62.5%)
iast 2.181 ms [2.119 ms, 2.242 ms] 707.582 µs (48.0%)
iast_GLOBAL 2.222 ms [2.16 ms, 2.284 ms] 748.706 µs (50.8%)
profiling 2.056 ms [2.005 ms, 2.106 ms] 582.607 µs (39.6%)
tracing 2.006 ms [1.958 ms, 2.054 ms] 532.774 µs (36.2%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.50.0-SNAPSHOT~7fb5f1796f, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (14.792 s) : 14792000, 14792000
.   : milestone, 14792000,
appsec (15.028 s) : 15028000, 15028000
.   : milestone, 15028000,
iast (19.059 s) : 19059000, 19059000
.   : milestone, 19059000,
iast_GLOBAL (18.173 s) : 18173000, 18173000
.   : milestone, 18173000,
profiling (14.863 s) : 14863000, 14863000
.   : milestone, 14863000,
tracing (15.125 s) : 15125000, 15125000
.   : milestone, 15125000,
section candidate
no_agent (15.497 s) : 15497000, 15497000
.   : milestone, 15497000,
appsec (15.076 s) : 15076000, 15076000
.   : milestone, 15076000,
iast (18.927 s) : 18927000, 18927000
.   : milestone, 18927000,
iast_GLOBAL (17.987 s) : 17987000, 17987000
.   : milestone, 17987000,
profiling (15.096 s) : 15096000, 15096000
.   : milestone, 15096000,
tracing (15.193 s) : 15193000, 15193000
.   : milestone, 15193000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.792 s [14.792 s, 14.792 s] -
appsec 15.028 s [15.028 s, 15.028 s] 236.0 ms (1.6%)
iast 19.059 s [19.059 s, 19.059 s] 4.267 s (28.8%)
iast_GLOBAL 18.173 s [18.173 s, 18.173 s] 3.381 s (22.9%)
profiling 14.863 s [14.863 s, 14.863 s] 71.0 ms (0.5%)
tracing 15.125 s [15.125 s, 15.125 s] 333.0 ms (2.3%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.497 s [15.497 s, 15.497 s] -
appsec 15.076 s [15.076 s, 15.076 s] -421.0 ms (-2.7%)
iast 18.927 s [18.927 s, 18.927 s] 3.43 s (22.1%)
iast_GLOBAL 17.987 s [17.987 s, 17.987 s] 2.49 s (16.1%)
profiling 15.096 s [15.096 s, 15.096 s] -401.0 ms (-2.6%)
tracing 15.193 s [15.193 s, 15.193 s] -304.0 ms (-2.0%)

@jbachorik jbachorik merged commit 0ca8f80 into master May 28, 2025
522 of 523 checks passed
@jbachorik jbachorik deleted the jb/ddprof_1.27.0 branch May 28, 2025 14:15
@github-actions github-actions bot added this to the 1.50.0 milestone May 28, 2025
svc-squareup-copybara pushed a commit to cashapp/misk that referenced this pull request Jun 20, 2025
| Package | Type | Package file | Manager | Update | Change |
|---|---|---|---|---|---|
| [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`1.49.0` -> `1.50.0` |

---

### Release Notes

<details>
<summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary>

###
[`v1.50.0`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.50.0):
1.50.0

### Deprecation Notice

> \[!NOTE]
> `DD_RUNTIME_ID_ENABLED` has been deprecated and will be removed in
future releases. Please use `DD_RUNTIME_METRICS_RUNTIME_ID_ENABLED`
instead.

### Components

#### Application Security Management (WAF)

- 🐛 Add String length truncation limit to ObjectIntrospector and
update truncation metrics
([#&#8203;8825](DataDog/dd-trace-java#8825) -
[@&#8203;jandro996](https://github.com/jandro996))
- 🐛 Adapt standalone ASM to support API Security
([#&#8203;8804](DataDog/dd-trace-java#8804) -
[@&#8203;jandro996](https://github.com/jandro996))
- ✨ Add appsec.waf.input\_truncated metric
([#&#8203;8791](DataDog/dd-trace-java#8791) -
[@&#8203;jandro996](https://github.com/jandro996))
- ✨ Extended appsec request body collection
([#&#8203;8748](DataDog/dd-trace-java#8748) -
[@&#8203;jandro996](https://github.com/jandro996))
- ✨ Extended appsec request/response headers collection
([#&#8203;8724](DataDog/dd-trace-java#8724) -
[@&#8203;jandro996](https://github.com/jandro996))

#### Build & Tooling

- ✨ Add artifacts to public s3 bucket
([#&#8203;8947](DataDog/dd-trace-java#8947) -
[@&#8203;randomanderson](https://github.com/randomanderson))

#### Continuous Integration Visibility

- ✨ Improve PR information building
([#&#8203;8908](DataDog/dd-trace-java#8908) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- ✨ Truncate span stack traces when Test Optimization is
enabled
([#&#8203;8903](DataDog/dd-trace-java#8903) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- 🐛 Ensure auto-detected service name is the same for every process
in the same build
([#&#8203;8902](DataDog/dd-trace-java#8902) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- 🐛 Use tag as fallback in api requests if no branch is available
([#&#8203;8876](DataDog/dd-trace-java#8876) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- ✨ Add support for JUnit 5.13-RC1
([#&#8203;8865](DataDog/dd-trace-java#8865),
[#&#8203;8871](DataDog/dd-trace-java#8871) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- ✨ Implement attempt to fix v3 and v4 and bump capability
version
([#&#8203;8824](DataDog/dd-trace-java#8824) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- 🧹 Align retry logic for all test framework instrumentations
([#&#8203;8803](DataDog/dd-trace-java#8803) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- 🐛 Always build ci workspace without trailing separator
([#&#8203;8788](DataDog/dd-trace-java#8788) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))
- ✨ Add commit discrepancies telemetry when building repository
git information
([#&#8203;8763](DataDog/dd-trace-java#8763) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))

#### Data Streams Monitoring

- 💡 Surface process tags in dsm payloads and use them for base hash
calculation
([#&#8203;8836](DataDog/dd-trace-java#8836) -
[@&#8203;amarziali](https://github.com/amarziali))

#### Dynamic Instrumentation

- ✨ Optimized allocations for collection filter functions
([#&#8203;8896](DataDog/dd-trace-java#8896) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🐛 Fix SymDB upload size check
([#&#8203;8887](DataDog/dd-trace-java#8887) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🐛 Add support for Set in filter function
([#&#8203;8873](DataDog/dd-trace-java#8873) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🐛 Add support for isDefined in log template
([#&#8203;8859](DataDog/dd-trace-java#8859) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🐛 Fix Max captured frames for Exception Replay
([#&#8203;8856](DataDog/dd-trace-java#8856) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 🐛 Remove static inherited fields collection
([#&#8203;8832](DataDog/dd-trace-java#8832) -
[@&#8203;jpbempel](https://github.com/jpbempel))
- 💡 Add process tags to dynamic instrumentation intake payload
([#&#8203;8779](DataDog/dd-trace-java#8779) -
[@&#8203;amarziali](https://github.com/amarziali))

#### GraalVM native-image

- ✨ Add support for GraalVM Native GC metrics
([#&#8203;8913](DataDog/dd-trace-java#8913) -
[@&#8203;ygree](https://github.com/ygree))
- ✨ Add JMXFetch support for GraalVM Native
([#&#8203;8569](DataDog/dd-trace-java#8569) -
[@&#8203;ygree](https://github.com/ygree))

#### JMX fetch

- ✨ Add support for GraalVM Native GC metrics
([#&#8203;8913](DataDog/dd-trace-java#8913) -
[@&#8203;ygree](https://github.com/ygree))

#### Library Injection

- ✨ Deny oracle db jvm based tools
([#&#8203;8909](DataDog/dd-trace-java#8909) -
[@&#8203;bric3](https://github.com/bric3))

#### OpenTracing

- 🐛 Fix OT packaging for exception replay
([#&#8203;8912](DataDog/dd-trace-java#8912) -
[@&#8203;jpbempel](https://github.com/jpbempel))

#### Profiling

- ✨ Bump ddprof to 1.27.0
([#&#8203;8893](DataDog/dd-trace-java#8893) -
[@&#8203;jbachorik](https://github.com/jbachorik))
- Properly handle the adaptive sampling interval overflow by
[@&#8203;jbachorik](https://github.com/jbachorik) in
DataDog/java-profiler#213
- Fix [#&#8203;200](DataDog/dd-trace-java#200)
Crash related to aligned\_alloc and free in context by
[@&#8203;yanglong1010](https://github.com/yanglong1010) in
DataDog/java-profiler#208
- Explicitly initialize empty context page by
[@&#8203;jbachorik](https://github.com/jbachorik) in
DataDog/java-profiler#210
- Re-connect crash recursion protection with VM stackwalker by
[@&#8203;jbachorik](https://github.com/jbachorik) in
DataDog/java-profiler#214
- ✨ Enable ZSTD compression for profiling
([#&#8203;8862](DataDog/dd-trace-java#8862) -
[@&#8203;MattAlp](https://github.com/MattAlp))
- ✨ Extend JPS re-implementation to J9 family
([#&#8203;8813](DataDog/dd-trace-java#8813) -
[@&#8203;MattAlp](https://github.com/MattAlp))
- 💡 Collect process tags for profiling upload requests
([#&#8203;8780](DataDog/dd-trace-java#8780) -
[@&#8203;amarziali](https://github.com/amarziali))

#### Telemetry

- 💡 Surface process tags on telemetry payloads
([#&#8203;8837](DataDog/dd-trace-java#8837) -
[@&#8203;amarziali](https://github.com/amarziali))

#### Trace context propagation

- ✨ Migrating all HttpClient Instrumentations to Inject Full
Context
([#&#8203;8826](DataDog/dd-trace-java#8826) -
[@&#8203;mhlidd](https://github.com/mhlidd))
- ✨ Migrating all HttpServer Instrumentations to Extract full
Context
([#&#8203;8820](DataDog/dd-trace-java#8820) -
[@&#8203;mhlidd](https://github.com/mhlidd))
- ✨ Add context API support OTel propagators
([#&#8203;8770](DataDog/dd-trace-java#8770) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))

#### Tracer core

- ✨⚡ Skip JAXB generated classes classloader
([#&#8203;9003](DataDog/dd-trace-java#9003) -
[@&#8203;bric3](https://github.com/bric3))
- ✨ Add DD\_RUNTIME\_METRICS\_RUNTIME\_ID\_ENABLED alias for
runtime id generation
([#&#8203;8981](DataDog/dd-trace-java#8981) -
[@&#8203;amarziali](https://github.com/amarziali))
- 🐛 Use resolved address for peer.hostname when available without
hitting the cache
([#&#8203;8915](DataDog/dd-trace-java#8915) -
[@&#8203;amarziali](https://github.com/amarziali))
- 💡 Surface server name process tag for tomcat
([#&#8203;8894](DataDog/dd-trace-java#8894) -
[@&#8203;amarziali](https://github.com/amarziali))
- 💡 Surface websphere cell and server name on process tags
([#&#8203;8880](DataDog/dd-trace-java#8880) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Added special lightweight pre-main class that skips
installation on incompatible JVMs.
([#&#8203;8855](DataDog/dd-trace-java#8855) -
[@&#8203;AlexeyKuznetsov-DD](https://github.com/AlexeyKuznetsov-DD))
- 💡 Add entrypoint type to process tags
([#&#8203;8839](DataDog/dd-trace-java#8839) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Extend JPS re-implementation to J9 family
([#&#8203;8813](DataDog/dd-trace-java#8813) -
[@&#8203;MattAlp](https://github.com/MattAlp))
- ✨ Notify listeners when the scope top changes after switching
scope stacks
([#&#8203;8797](DataDog/dd-trace-java#8797) -
[@&#8203;mcculls](https://github.com/mcculls))
- ✨ Read hsperfdata for Java PIDs if jvmstat is unavailable
([#&#8203;8792](DataDog/dd-trace-java#8792) -
[@&#8203;MattAlp](https://github.com/MattAlp))
- 🐛 Turn JDK socket support on by default
([#&#8203;8752](DataDog/dd-trace-java#8752) -
[@&#8203;sarahchen6](https://github.com/sarahchen6))
- ✨ Simplify context propagation
([#&#8203;8719](DataDog/dd-trace-java#8719) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))
- ✨ Add JSON parsing support
([#&#8203;8579](DataDog/dd-trace-java#8579) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))

#### Tracer internal logging

- ✨ Fix printing format of span identifiers
([#&#8203;8897](DataDog/dd-trace-java#8897) -
[@&#8203;vandonr](https://github.com/vandonr))

#### Tracer public API

- 💡 Track the source of installation
([#&#8203;8956](DataDog/dd-trace-java#8956) -
[@&#8203;mabdinur](https://github.com/mabdinur))
- ✨ Enforce size limit on application\_monitoring.yaml files
([#&#8203;8789](DataDog/dd-trace-java#8789) -
[@&#8203;mtoffl01](https://github.com/mtoffl01))
- ✨ Enabling baggage cache to support limits and non-ascii
characters
([#&#8203;8713](DataDog/dd-trace-java#8713) -
[@&#8203;mhlidd](https://github.com/mhlidd))

### Instrumentations

#### AWS Lambda instrumentation

- ✨ Pass Lambda Request ID to Extension
([#&#8203;8814](DataDog/dd-trace-java#8814) -
[@&#8203;nhulston](https://github.com/nhulston))

#### Core Java language instrumentation

- ✨ Ensure ClassloadingInstrumentation is always applied even
with `DD_TRACE_ENABLED=false`
([#&#8203;8863](DataDog/dd-trace-java#8863) -
[@&#8203;mcculls](https://github.com/mcculls))

#### Eclipse Vert.x instrumentation

- 🐛 Do not override route with / in vertx instrumentation
([#&#8203;8881](DataDog/dd-trace-java#8881) -
[@&#8203;vandonr](https://github.com/vandonr))

#### IBM Liberty

- 🐛 Fix error mark on http status for IBM liberty
([#&#8203;8822](DataDog/dd-trace-java#8822) -
[@&#8203;amarziali](https://github.com/amarziali))

#### JDBC instrumentation

- 🐛 Do not prepend DBM <> APM trace comment in SQLCommenter if there
is a pg plan hint
([#&#8203;8864](DataDog/dd-trace-java#8864) -
[@&#8203;edengorevoy](https://github.com/edengorevoy))

#### JMS instrumentation

- ✨ Add jms as an extra integration name where there is JMS
involved
([#&#8203;8933](DataDog/dd-trace-java#8933) -
[@&#8203;vandonr](https://github.com/vandonr))

#### Kotlin instrumentation

- ✨ Enable kotlin\_coroutine integration by default
([#&#8203;8848](DataDog/dd-trace-java#8848) -
[@&#8203;mcculls](https://github.com/mcculls))
- 🧹 Rework Kotlin coroutines instrumentation around coroutine
context
([#&#8203;8774](DataDog/dd-trace-java#8774) -
[@&#8203;mcculls](https://github.com/mcculls))

#### OpenTelemetry instrumentation

- 🐛 Support WithSpan inheritContext attribute
([#&#8203;8858](DataDog/dd-trace-java#8858) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Add context API support OTel propagators
([#&#8203;8770](DataDog/dd-trace-java#8770) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))

#### Play Framework instrumentation

- 🐛 Fix the Play Framework's span resource name priority so that the
client JAX-RS 404 cannot override it
([#&#8203;8591](DataDog/dd-trace-java#8591) -
[@&#8203;ygree](https://github.com/ygree))

#### Quarkus Instrumentation

- 🐛 Ignore quarkus jaxrs stubs and cdi wrapper proxies
([#&#8203;8891](DataDog/dd-trace-java#8891) -
[@&#8203;amarziali](https://github.com/amarziali))

#### ServiceTalk

- ✨ Improve ServiceTalk Captured Context API Instrumentation
for v0.42.56+
([#&#8203;8821](DataDog/dd-trace-java#8821) -
[@&#8203;ygree](https://github.com/ygree))

#### Spring instrumentation

- ✨ Supporting Baggage for Instrumentations used in Weblog
Tests
([#&#8203;8773](DataDog/dd-trace-java#8773) -
[@&#8203;mhlidd](https://github.com/mhlidd))

#### WebSocket Instrumentation

- 💡 Trace websocket for spring webflux reactive handlers
([#&#8203;8831](DataDog/dd-trace-java#8831) -
[@&#8203;amarziali](https://github.com/amarziali))
- 💡:test\_tube: WebSocket support for Netty
([#&#8203;8632](DataDog/dd-trace-java#8632) -
[@&#8203;ValentinZakharov](https://github.com/ValentinZakharov))

#### Zio Instrumentation

- 🧹 Cleanup Zio fiber instrumentation to avoid repeated activation
of continuation
([#&#8203;8798](DataDog/dd-trace-java#8798) -
[@&#8203;mcculls](https://github.com/mcculls))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 6pm every weekday,before 2am
every weekday" in timezone Australia/Melbourne, Automerge - At any time
(no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

GitOrigin-RevId: 9207366cdb6a1bd098082305d354a0a3c4622d7a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: profiling Profiling type: enhancement Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants