Skip to content

Conversation

mhlidd
Copy link
Contributor

@mhlidd mhlidd commented Sep 26, 2025

What Does This Do

This PR builds off of the Config Inversion implementation to migrate all querying of environment variables to utilize ConfigHelper instead of directly invoking the Environment component. Linter rules to restrict the direct invocation of the Environment component or undocumented String constants for environment variables (e.g. DD_ENV_VAR) are now enforced.

Classes that are excluded from this migration are bootstrap-related classes since there would be issues with the Logger being initialized too early. Furthermore, there are few configurations used in bootstrap and they are rarely modified.

Additionally, this PR introduces a NoOp implementation of the ConfigInversionMetricCollector to handle exceptions during build-time where the ConfigHelper is invoked but actual implementation has not been registered.

This PR also adds the environment variables that have been introduced since the initial commit of the metadata/supported-configurations.json file.

Motivation

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

@mhlidd mhlidd changed the base branch from master to mhlidd/config_inversion_base September 26, 2025 00:54
@pr-commenter
Copy link

pr-commenter bot commented Sep 30, 2025

Debugger benchmarks

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
ci_job_date 1759523392 1759523737
end_time 2025-10-03T20:31:14 2025-10-03T20:36:58
git_branch master mhlidd/migrate_to_config_helper
git_commit_sha 6549d20 2401cfd
start_time 2025-10-03T20:29:53 2025-10-03T20:35:38
See matching parameters
Baseline Candidate
ci_job_id 1163206872 1163206872
ci_pipeline_id 78362629 78362629
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
git_commit_date 1759522662 1759522662

Summary

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

See unchanged results
scenario Δ mean agg_http_req_duration_min Δ mean agg_http_req_duration_p50 Δ mean agg_http_req_duration_p75 Δ mean agg_http_req_duration_p99 Δ mean throughput
scenario:noprobe unstable
[-35.555µs; +25.075µs] or [-12.448%; +8.779%]
unstable
[-46.431µs; +37.610µs] or [-14.227%; +11.524%]
unstable
[-57.500µs; +51.247µs] or [-16.825%; +14.996%]
unstable
[-82.897µs; +153.660µs] or [-8.936%; +16.563%]
unstable
[-95.557op/s; +155.779op/s] or [-3.918%; +6.387%]
scenario:basic same same same unstable
[-67.955µs; +108.349µs] or [-9.326%; +14.869%]
unstable
[-158.087op/s; +158.087op/s] or [-6.007%; +6.007%]
scenario:loop unsure
[+2.615µs; +9.362µs] or [+0.030%; +0.106%]
unsure
[+14.125µs; +24.410µs] or [+0.158%; +0.273%]
unsure
[+5.686µs; +16.565µs] or [+0.063%; +0.184%]
same same
Request duration reports for reports
gantt
    title reports - request duration [CI 0.99] : candidate=None, baseline=None
    dateFormat X
    axisFormat %s
section baseline
noprobe (326.351 µs) : 290, 362
.   : milestone, 326,
basic (281.143 µs) : 275, 288
.   : milestone, 281,
loop (8.951 ms) : 8946, 8956
.   : milestone, 8951,
section candidate
noprobe (321.941 µs) : 278, 365
.   : milestone, 322,
basic (280.261 µs) : 274, 286
.   : milestone, 280,
loop (8.97 ms) : 8966, 8975
.   : milestone, 8970,
Loading
  • baseline results
Scenario Request median duration [CI 0.99]
noprobe 326.351 µs [290.216 µs, 362.486 µs]
basic 281.143 µs [274.547 µs, 287.738 µs]
loop 8.951 ms [8.946 ms, 8.956 ms]
  • candidate results
Scenario Request median duration [CI 0.99]
noprobe 321.941 µs [278.422 µs, 365.46 µs]
basic 280.261 µs [274.214 µs, 286.309 µs]
loop 8.97 ms [8.966 ms, 8.975 ms]

@datadog-datadog-prod-us1
Copy link
Contributor

datadog-datadog-prod-us1 bot commented Sep 30, 2025

🎯 Code Coverage
Patch Coverage: 30.77%
Total Coverage: 60.46% (+2.62%)

View detailed report

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

@pr-commenter
Copy link

pr-commenter bot commented Sep 30, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master mhlidd/migrate_to_config_helper
git_commit_date 1759515098 1759523401
git_commit_sha 6549d20 401cfd900a
release_version 1.54.0-SNAPSHOT~6549d20548 1.54.0-SNAPSHOT~2401cfd900a
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1759524669 1759524669
ci_job_id 1163206865 1163206865
ci_pipeline_id 78362629 78362629
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-xbww4e11 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-xbww4e11 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 5 performance improvements and 0 performance regressions! Performance is the same for 49 metrics, 5 unstable metrics.

scenario Δ mean execution_time candidate mean execution_time baseline mean execution_time
scenario:startup:insecure-bank:tracing:AppSec better
[-2.236ms; -1.440ms] or [-6.864%; -4.421%]
30.741ms 32.579ms
scenario:startup:petclinic:iast:AppSec better
[-2.216ms; -1.188ms] or [-6.268%; -3.359%]
33.658ms 35.360ms
scenario:startup:petclinic:iast:Telemetry better
[-636.463µs; -308.434µs] or [-7.490%; -3.630%]
8.025ms 8.498ms
scenario:startup:petclinic:profiling:AppSec better
[-1.531ms; -0.923ms] or [-4.710%; -2.837%]
31.291ms 32.518ms
scenario:startup:petclinic:tracing:AppSec better
[-2.614ms; -1.349ms] or [-7.956%; -4.105%]
30.878ms 32.860ms
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.54.0-SNAPSHOT~2401cfd900a, baseline=1.54.0-SNAPSHOT~6549d20548

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.024 s) : 0, 1023690
Total [baseline] (8.659 s) : 0, 8659458
Agent [candidate] (1.017 s) : 0, 1017375
Total [candidate] (8.641 s) : 0, 8640709
section iast
Agent [baseline] (1.147 s) : 0, 1147187
Total [baseline] (9.215 s) : 0, 9215287
Agent [candidate] (1.167 s) : 0, 1167287
Total [candidate] (9.321 s) : 0, 9320577
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.024 s -
Agent iast 1.147 s 123.497 ms (12.1%)
Total tracing 8.659 s -
Total iast 9.215 s 555.828 ms (6.4%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.017 s -
Agent iast 1.167 s 149.912 ms (14.7%)
Total tracing 8.641 s -
Total iast 9.321 s 679.868 ms (7.9%)
gantt
    title insecure-bank - break down per module: candidate=1.54.0-SNAPSHOT~2401cfd900a, baseline=1.54.0-SNAPSHOT~6549d20548

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.475 ms) : 0, 1475
crashtracking [candidate] (1.469 ms) : 0, 1469
BytebuddyAgent [baseline] (697.889 ms) : 0, 697889
BytebuddyAgent [candidate] (694.14 ms) : 0, 694140
GlobalTracer [baseline] (243.379 ms) : 0, 243379
GlobalTracer [candidate] (248.151 ms) : 0, 248151
AppSec [baseline] (32.579 ms) : 0, 32579
AppSec [candidate] (30.741 ms) : 0, 30741
Debugger [baseline] (6.325 ms) : 0, 6325
Debugger [candidate] (6.337 ms) : 0, 6337
Remote Config [baseline] (678.091 µs) : 0, 678
Remote Config [candidate] (674.277 µs) : 0, 674
Telemetry [baseline] (9.298 ms) : 0, 9298
Telemetry [candidate] (14.573 ms) : 0, 14573
Flare Poller [baseline] (10.827 ms) : 0, 10827
section iast
crashtracking [baseline] (1.466 ms) : 0, 1466
crashtracking [candidate] (1.469 ms) : 0, 1469
BytebuddyAgent [baseline] (811.267 ms) : 0, 811267
BytebuddyAgent [candidate] (829.895 ms) : 0, 829895
GlobalTracer [baseline] (232.474 ms) : 0, 232474
GlobalTracer [candidate] (239.665 ms) : 0, 239665
AppSec [baseline] (35.235 ms) : 0, 35235
AppSec [candidate] (32.209 ms) : 0, 32209
Debugger [baseline] (6.063 ms) : 0, 6063
Debugger [candidate] (6.071 ms) : 0, 6071
Remote Config [baseline] (585.236 µs) : 0, 585
Remote Config [candidate] (584.262 µs) : 0, 584
Telemetry [baseline] (8.359 ms) : 0, 8359
Telemetry [candidate] (8.103 ms) : 0, 8103
Flare Poller [baseline] (4.201 ms) : 0, 4201
IAST [baseline] (26.225 ms) : 0, 26225
IAST [candidate] (26.257 ms) : 0, 26257
Loading
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.54.0-SNAPSHOT~2401cfd900a, baseline=1.54.0-SNAPSHOT~6549d20548

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.028 s) : 0, 1027846
Total [baseline] (10.788 s) : 0, 10787727
Agent [candidate] (1.017 s) : 0, 1016694
Total [candidate] (10.759 s) : 0, 10759472
section appsec
Agent [baseline] (1.195 s) : 0, 1195342
Total [baseline] (11.103 s) : 0, 11102977
Agent [candidate] (1.194 s) : 0, 1194433
Total [candidate] (10.906 s) : 0, 10905811
section iast
Agent [baseline] (1.152 s) : 0, 1152210
Total [baseline] (11.034 s) : 0, 11033532
Agent [candidate] (1.152 s) : 0, 1151522
Total [candidate] (11.11 s) : 0, 11110343
section profiling
Agent [baseline] (1.162 s) : 0, 1161768
Total [baseline] (11.006 s) : 0, 11005735
Agent [candidate] (1.161 s) : 0, 1161393
Total [candidate] (11.04 s) : 0, 11039823
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.028 s -
Agent appsec 1.195 s 167.495 ms (16.3%)
Agent iast 1.152 s 124.364 ms (12.1%)
Agent profiling 1.162 s 133.922 ms (13.0%)
Total tracing 10.788 s -
Total appsec 11.103 s 315.25 ms (2.9%)
Total iast 11.034 s 245.805 ms (2.3%)
Total profiling 11.006 s 218.008 ms (2.0%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.017 s -
Agent appsec 1.194 s 177.738 ms (17.5%)
Agent iast 1.152 s 134.828 ms (13.3%)
Agent profiling 1.161 s 144.699 ms (14.2%)
Total tracing 10.759 s -
Total appsec 10.906 s 146.339 ms (1.4%)
Total iast 11.11 s 350.87 ms (3.3%)
Total profiling 11.04 s 280.351 ms (2.6%)
gantt
    title petclinic - break down per module: candidate=1.54.0-SNAPSHOT~2401cfd900a, baseline=1.54.0-SNAPSHOT~6549d20548

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.472 ms) : 0, 1472
crashtracking [candidate] (1.453 ms) : 0, 1453
BytebuddyAgent [baseline] (700.119 ms) : 0, 700119
BytebuddyAgent [candidate] (693.096 ms) : 0, 693096
GlobalTracer [baseline] (244.705 ms) : 0, 244705
GlobalTracer [candidate] (247.94 ms) : 0, 247940
AppSec [baseline] (32.86 ms) : 0, 32860
AppSec [candidate] (30.878 ms) : 0, 30878
Debugger [baseline] (6.443 ms) : 0, 6443
Debugger [candidate] (6.379 ms) : 0, 6379
Remote Config [baseline] (682.717 µs) : 0, 683
Remote Config [candidate] (680.815 µs) : 0, 681
Telemetry [baseline] (9.39 ms) : 0, 9390
Telemetry [candidate] (14.413 ms) : 0, 14413
Flare Poller [baseline] (10.882 ms) : 0, 10882
section appsec
crashtracking [baseline] (1.481 ms) : 0, 1481
crashtracking [candidate] (1.465 ms) : 0, 1465
BytebuddyAgent [baseline] (718.033 ms) : 0, 718033
BytebuddyAgent [candidate] (719.404 ms) : 0, 719404
GlobalTracer [baseline] (235.961 ms) : 0, 235961
GlobalTracer [candidate] (240.174 ms) : 0, 240174
AppSec [baseline] (173.075 ms) : 0, 173075
AppSec [candidate] (172.577 ms) : 0, 172577
Debugger [baseline] (6.082 ms) : 0, 6082
Debugger [candidate] (5.967 ms) : 0, 5967
Remote Config [baseline] (648.685 µs) : 0, 649
Remote Config [candidate] (641.691 µs) : 0, 642
Telemetry [baseline] (9.314 ms) : 0, 9314
Telemetry [candidate] (8.345 ms) : 0, 8345
Flare Poller [baseline] (4.781 ms) : 0, 4781
IAST [baseline] (24.778 ms) : 0, 24778
IAST [candidate] (24.702 ms) : 0, 24702
section iast
crashtracking [baseline] (1.466 ms) : 0, 1466
crashtracking [candidate] (1.452 ms) : 0, 1452
BytebuddyAgent [baseline] (815.266 ms) : 0, 815266
BytebuddyAgent [candidate] (816.579 ms) : 0, 816579
GlobalTracer [baseline] (233.113 ms) : 0, 233113
GlobalTracer [candidate] (238.173 ms) : 0, 238173
AppSec [baseline] (35.36 ms) : 0, 35360
AppSec [candidate] (33.658 ms) : 0, 33658
Debugger [baseline] (6.089 ms) : 0, 6089
Debugger [candidate] (6.047 ms) : 0, 6047
Remote Config [baseline] (590.95 µs) : 0, 591
Remote Config [candidate] (581.108 µs) : 0, 581
Telemetry [baseline] (8.498 ms) : 0, 8498
Telemetry [candidate] (8.025 ms) : 0, 8025
Flare Poller [baseline] (4.249 ms) : 0, 4249
IAST [baseline] (26.327 ms) : 0, 26327
IAST [candidate] (25.751 ms) : 0, 25751
section profiling
crashtracking [baseline] (1.425 ms) : 0, 1425
crashtracking [candidate] (1.418 ms) : 0, 1418
BytebuddyAgent [baseline] (721.841 ms) : 0, 721841
BytebuddyAgent [candidate] (721.745 ms) : 0, 721745
GlobalTracer [baseline] (218.646 ms) : 0, 218646
GlobalTracer [candidate] (222.404 ms) : 0, 222404
AppSec [baseline] (32.518 ms) : 0, 32518
AppSec [candidate] (31.291 ms) : 0, 31291
Debugger [baseline] (6.45 ms) : 0, 6450
Debugger [candidate] (6.566 ms) : 0, 6566
Remote Config [baseline] (747.952 µs) : 0, 748
Remote Config [candidate] (720.829 µs) : 0, 721
Telemetry [baseline] (16.665 ms) : 0, 16665
Telemetry [candidate] (16.138 ms) : 0, 16138
Flare Poller [baseline] (4.101 ms) : 0, 4101
ProfilingAgent [baseline] (107.01 ms) : 0, 107010
ProfilingAgent [candidate] (107.19 ms) : 0, 107190
Profiling [baseline] (107.661 ms) : 0, 107661
Profiling [candidate] (107.811 ms) : 0, 107811
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master mhlidd/migrate_to_config_helper
git_commit_date 1759515098 1759523418
git_commit_sha 6549d20 401cfd900a
release_version 1.54.0-SNAPSHOT~6549d20548 1.54.0-SNAPSHOT~2401cfd900a
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1759524348 1759524348
ci_job_id 1163206866 1163206866
ci_pipeline_id 78362629 78362629
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-z6k04pdb 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-z6k04pdb 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 0 performance regressions! Performance is the same for 9 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:petclinic:appsec:high_load better
[-3.869ms; -2.944ms] or [-7.684%; -5.848%]
unstable
[-0.759op/s; +14.084op/s] or [-0.816%; +15.142%]
46.941ms 99.675op/s 50.347ms 93.013op/s
scenario:load:petclinic:profiling:high_load better
[-3.177ms; -2.135ms] or [-6.334%; -4.257%]
unstable
[-2.494op/s; +12.769op/s] or [-2.670%; +13.673%]
47.502ms 98.525op/s 50.158ms 93.388op/s
scenario:load:petclinic:no_agent:high_load better
[-1.801ms; -1.160ms] or [-4.785%; -3.083%]
unstable
[-4.405op/s; +14.530op/s] or [-3.547%; +11.698%]
36.152ms 129.275op/s 37.633ms 124.213op/s
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.54.0-SNAPSHOT~2401cfd900a, baseline=1.54.0-SNAPSHOT~6549d20548
    dateFormat X
    axisFormat %s
section baseline
no_agent (4.415 ms) : 4359, 4471
.   : milestone, 4415,
iast (10.021 ms) : 9852, 10190
.   : milestone, 10021,
iast_FULL (14.394 ms) : 14102, 14685
.   : milestone, 14394,
iast_GLOBAL (11.08 ms) : 10878, 11281
.   : milestone, 11080,
profiling (9.341 ms) : 9195, 9487
.   : milestone, 9341,
tracing (7.738 ms) : 7616, 7860
.   : milestone, 7738,
section candidate
no_agent (4.386 ms) : 4334, 4439
.   : milestone, 4386,
iast (9.815 ms) : 9654, 9976
.   : milestone, 9815,
iast_FULL (14.54 ms) : 14250, 14829
.   : milestone, 14540,
iast_GLOBAL (11.071 ms) : 10872, 11270
.   : milestone, 11071,
profiling (9.062 ms) : 8921, 9204
.   : milestone, 9062,
tracing (7.493 ms) : 7383, 7603
.   : milestone, 7493,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.415 ms [4.359 ms, 4.471 ms] -
iast 10.021 ms [9.852 ms, 10.19 ms] 5.605 ms (127.0%)
iast_FULL 14.394 ms [14.102 ms, 14.685 ms] 9.979 ms (226.0%)
iast_GLOBAL 11.08 ms [10.878 ms, 11.281 ms] 6.665 ms (151.0%)
profiling 9.341 ms [9.195 ms, 9.487 ms] 4.926 ms (111.6%)
tracing 7.738 ms [7.616 ms, 7.86 ms] 3.323 ms (75.3%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.386 ms [4.334 ms, 4.439 ms] -
iast 9.815 ms [9.654 ms, 9.976 ms] 5.429 ms (123.8%)
iast_FULL 14.54 ms [14.25 ms, 14.829 ms] 10.153 ms (231.5%)
iast_GLOBAL 11.071 ms [10.872 ms, 11.27 ms] 6.684 ms (152.4%)
profiling 9.062 ms [8.921 ms, 9.204 ms] 4.676 ms (106.6%)
tracing 7.493 ms [7.383 ms, 7.603 ms] 3.106 ms (70.8%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.54.0-SNAPSHOT~2401cfd900a, baseline=1.54.0-SNAPSHOT~6549d20548
    dateFormat X
    axisFormat %s
section baseline
no_agent (37.633 ms) : 37329, 37936
.   : milestone, 37633,
appsec (50.347 ms) : 49896, 50798
.   : milestone, 50347,
code_origins (43.372 ms) : 43009, 43735
.   : milestone, 43372,
iast (43.781 ms) : 43417, 44145
.   : milestone, 43781,
profiling (50.158 ms) : 49683, 50633
.   : milestone, 50158,
tracing (44.087 ms) : 43717, 44457
.   : milestone, 44087,
section candidate
no_agent (36.152 ms) : 35860, 36444
.   : milestone, 36152,
appsec (46.941 ms) : 46533, 47348
.   : milestone, 46941,
code_origins (43.955 ms) : 43583, 44327
.   : milestone, 43955,
iast (43.8 ms) : 43409, 44190
.   : milestone, 43800,
profiling (47.502 ms) : 47009, 47995
.   : milestone, 47502,
tracing (44.266 ms) : 43873, 44660
.   : milestone, 44266,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 37.633 ms [37.329 ms, 37.936 ms] -
appsec 50.347 ms [49.896 ms, 50.798 ms] 12.714 ms (33.8%)
code_origins 43.372 ms [43.009 ms, 43.735 ms] 5.74 ms (15.3%)
iast 43.781 ms [43.417 ms, 44.145 ms] 6.148 ms (16.3%)
profiling 50.158 ms [49.683 ms, 50.633 ms] 12.526 ms (33.3%)
tracing 44.087 ms [43.717 ms, 44.457 ms] 6.454 ms (17.2%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 36.152 ms [35.86 ms, 36.444 ms] -
appsec 46.941 ms [46.533 ms, 47.348 ms] 10.789 ms (29.8%)
code_origins 43.955 ms [43.583 ms, 44.327 ms] 7.803 ms (21.6%)
iast 43.8 ms [43.409 ms, 44.19 ms] 7.648 ms (21.2%)
profiling 47.502 ms [47.009 ms, 47.995 ms] 11.35 ms (31.4%)
tracing 44.266 ms [43.873 ms, 44.66 ms] 8.114 ms (22.4%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master mhlidd/migrate_to_config_helper
git_commit_date 1759515098 1759523369
git_commit_sha 6549d20 401cfd900a
release_version 1.54.0-SNAPSHOT~6549d20548 1.54.0-SNAPSHOT~2401cfd900a
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1759524836 1759524836
ci_job_id 1163206867 1163206867
ci_pipeline_id 78362629 78362629
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-h461bx56 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-h461bx56 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 10 metrics, 2 unstable metrics.

Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.54.0-SNAPSHOT~2401cfd900a, baseline=1.54.0-SNAPSHOT~6549d20548
    dateFormat X
    axisFormat %s
section baseline
no_agent (14.863 s) : 14863000, 14863000
.   : milestone, 14863000,
appsec (15.251 s) : 15251000, 15251000
.   : milestone, 15251000,
iast (18.453 s) : 18453000, 18453000
.   : milestone, 18453000,
iast_GLOBAL (17.755 s) : 17755000, 17755000
.   : milestone, 17755000,
profiling (15.462 s) : 15462000, 15462000
.   : milestone, 15462000,
tracing (15.083 s) : 15083000, 15083000
.   : milestone, 15083000,
section candidate
no_agent (15.326 s) : 15326000, 15326000
.   : milestone, 15326000,
appsec (15.4 s) : 15400000, 15400000
.   : milestone, 15400000,
iast (18.612 s) : 18612000, 18612000
.   : milestone, 18612000,
iast_GLOBAL (18.165 s) : 18165000, 18165000
.   : milestone, 18165000,
profiling (14.902 s) : 14902000, 14902000
.   : milestone, 14902000,
tracing (15.249 s) : 15249000, 15249000
.   : milestone, 15249000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.863 s [14.863 s, 14.863 s] -
appsec 15.251 s [15.251 s, 15.251 s] 388.0 ms (2.6%)
iast 18.453 s [18.453 s, 18.453 s] 3.59 s (24.2%)
iast_GLOBAL 17.755 s [17.755 s, 17.755 s] 2.892 s (19.5%)
profiling 15.462 s [15.462 s, 15.462 s] 599.0 ms (4.0%)
tracing 15.083 s [15.083 s, 15.083 s] 220.0 ms (1.5%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.326 s [15.326 s, 15.326 s] -
appsec 15.4 s [15.4 s, 15.4 s] 74.0 ms (0.5%)
iast 18.612 s [18.612 s, 18.612 s] 3.286 s (21.4%)
iast_GLOBAL 18.165 s [18.165 s, 18.165 s] 2.839 s (18.5%)
profiling 14.902 s [14.902 s, 14.902 s] -424.0 ms (-2.8%)
tracing 15.249 s [15.249 s, 15.249 s] -77.0 ms (-0.5%)
Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.54.0-SNAPSHOT~2401cfd900a, baseline=1.54.0-SNAPSHOT~6549d20548
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.475 ms) : 1464, 1486
.   : milestone, 1475,
appsec (3.727 ms) : 3508, 3947
.   : milestone, 3727,
iast (2.21 ms) : 2146, 2274
.   : milestone, 2210,
iast_GLOBAL (2.25 ms) : 2185, 2314
.   : milestone, 2250,
profiling (2.066 ms) : 2014, 2117
.   : milestone, 2066,
tracing (2.031 ms) : 1982, 2081
.   : milestone, 2031,
section candidate
no_agent (1.477 ms) : 1465, 1488
.   : milestone, 1477,
appsec (3.719 ms) : 3501, 3937
.   : milestone, 3719,
iast (2.194 ms) : 2132, 2257
.   : milestone, 2194,
iast_GLOBAL (2.238 ms) : 2175, 2301
.   : milestone, 2238,
profiling (2.492 ms) : 2322, 2663
.   : milestone, 2492,
tracing (2.022 ms) : 1973, 2071
.   : milestone, 2022,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.475 ms [1.464 ms, 1.486 ms] -
appsec 3.727 ms [3.508 ms, 3.947 ms] 2.252 ms (152.7%)
iast 2.21 ms [2.146 ms, 2.274 ms] 735.319 µs (49.9%)
iast_GLOBAL 2.25 ms [2.185 ms, 2.314 ms] 774.602 µs (52.5%)
profiling 2.066 ms [2.014 ms, 2.117 ms] 590.591 µs (40.0%)
tracing 2.031 ms [1.982 ms, 2.081 ms] 556.336 µs (37.7%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.477 ms [1.465 ms, 1.488 ms] -
appsec 3.719 ms [3.501 ms, 3.937 ms] 2.242 ms (151.8%)
iast 2.194 ms [2.132 ms, 2.257 ms] 717.642 µs (48.6%)
iast_GLOBAL 2.238 ms [2.175 ms, 2.301 ms] 760.779 µs (51.5%)
profiling 2.492 ms [2.322 ms, 2.663 ms] 1.016 ms (68.8%)
tracing 2.022 ms [1.973 ms, 2.071 ms] 544.984 µs (36.9%)

@mhlidd mhlidd changed the title Mhlidd/migrate to config helper Migrate Querying of Environment Variables to to ConfigHelper Oct 2, 2025
@mhlidd mhlidd marked this pull request as ready for review October 2, 2025 17:56
@mhlidd mhlidd requested review from a team as code owners October 2, 2025 17:56
@mhlidd mhlidd requested review from daniel-mohedano, AlexeyKuznetsov-DD, dougqh, mcculls and PerfectSlayer and removed request for a team October 2, 2025 17:56
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.

So far it looks good. I left some comments along the review.

🎯 suggestion: The more I read usage of ConfigHelper, the more‏ I wonder if you should not introduce static helper methods as syntactic sugar like: ConfigHelper.env(String key) : String and ConfigHelper.env() : Map<String, String>.

public static String env(String key) {
  return get().getEnvironmentVariable(key); 
}

This would replace calls like:
ConfigHelper.get().getEnvironmentVariable("TMPDIR") and .map(ConfigHelper.get()::getEnvironmentVariable)
to
ConfigHelper.env("TMPDIR") and map(ConfigHelper::env)

WDYT?

@mhlidd
Copy link
Contributor Author

mhlidd commented Oct 3, 2025

🎯 suggestion: The more I read usage of ConfigHelper, the more‏ I wonder if you should not introduce static helper methods as syntactic sugar like: ConfigHelper.env(String key) : String and ConfigHelper.env() : Map<String, String>.

I think you mean I should introduce it 😄. But yes I agree this makes sense and is a lot more clear.

@mhlidd mhlidd requested a review from PerfectSlayer October 3, 2025 20:45
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.

I think you mean I should introduce it 😄. But yes I agree this makes sense and is a lot more clear.

Yes, sorry, it was a poor translation from my French 😓

👏 praise: ‏Thanks for the follow up changes! Everything looks great now ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants