Skip to content

Conversation

@jpbempel
Copy link
Member

@jpbempel jpbempel commented Mar 27, 2025

What Does This Do

Wait for feature started before sending request to avoid racy startup

Motivation

Additional Notes

Contributor Checklist

Jira ticket: DEBUG-3653

@jpbempel jpbempel requested a review from Copilot March 27, 2025 13:33
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR aims to fix a flaky InProduct enablement smoke test by ensuring the feature is fully started before sending requests and by improving logging clarity.

  • Removed the @flaky annotation from one of the tests after adding a more precise waitForFeatureStarted callback
  • Adjusted log messages in both test and agent code to indicate the correct startup state
  • Simplified diagnostic output in the ServerDebuggerTestApplication

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
dd-smoke-tests/debugger-integration-tests/src/test/java/datadog/smoketest/InProductEnablementIntegrationTest.java Removed @flaky annotation and updated the message in waitForFeatureStarted to accurately reflect the state
dd-smoke-tests/debugger-integration-tests/src/main/java/datadog/smoketest/debugger/ServerDebuggerTestApplication.java Modified the console output in waitForInstrumentation to remove an unnecessary reference
dd-java-agent/agent-debugger/src/main/java/com/datadog/debugger/agent/DebuggerAgent.java Added INFO-level log messages to indicate when dynamic instrumentation, exception replay, and code origin features have started
Comments suppressed due to low confidence (1)

dd-smoke-tests/debugger-integration-tests/src/test/java/datadog/smoketest/InProductEnablementIntegrationTest.java:54

  • Removal of the @flaky annotation may lead to unstable test behavior if the new wait logic does not fully mitigate the race condition. Verify that the waitForFeatureStarted method reliably prevents test flakiness under all conditions.
@Flaky


protected void waitForInstrumentation(String className) {
System.out.println("waitForInstrumentation on " + className + " from: " + lastMatchedLine);
System.out.println("waitForInstrumentation on " + className);
Copy link

Copilot AI Mar 27, 2025

Choose a reason for hiding this comment

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

[nitpick] Removing the reference to lastMatchedLine from the output message may reduce useful diagnostic details when troubleshooting instrumentation issues. Consider logging lastMatchedLine at a debug level to provide additional context without cluttering the standard output.

Suggested change
System.out.println("waitForInstrumentation on " + className);
logger.info("waitForInstrumentation on " + className);

Copilot uses AI. Check for mistakes.
@jpbempel jpbempel requested a review from evanchooly March 27, 2025 15:29
@jpbempel jpbempel marked this pull request as ready for review March 27, 2025 15:29
@jpbempel jpbempel requested a review from a team as a code owner March 27, 2025 15:29
@github-actions
Copy link
Contributor

github-actions bot commented Mar 27, 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.

Wait for feature started before sending request to avoid racy startup
@jpbempel jpbempel force-pushed the jpbempel/fix-flaky-smoke-test branch from 4c6f773 to b33402c Compare March 28, 2025 06:38
@pr-commenter
Copy link

pr-commenter bot commented Mar 28, 2025

Debugger benchmarks

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
ci_job_date 1743145236 1743145620
end_time 2025-03-28T07:01:54 2025-03-28T07:08:18
git_branch master jpbempel/fix-flaky-smoke-test
git_commit_sha 4a5461c b33402c
start_time 2025-03-28T07:00:37 2025-03-28T07:07:01
See matching parameters
Baseline Candidate
ci_job_id 869348145 869348145
ci_pipeline_id 60288362 60288362
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
git_commit_date 1743143892 1743143892

Summary

Found 5 performance improvements and 0 performance regressions! Performance is the same for 4 metrics, 6 unstable metrics.

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:loop better
[-819.813µs; -721.754µs] or [-7.632%; -6.719%]
better
[-849.065µs; -726.536µs] or [-7.775%; -6.653%]
better
[-836.975µs; -699.770µs] or [-7.613%; -6.365%]
better
[-1014.978µs; -501.268µs] or [-8.912%; -4.402%]
better
[+5.971op/s; +7.333op/s] or [+6.568%; +8.066%]
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
[-13.952µs; +20.364µs] or [-5.165%; +7.539%]
unstable
[-25.641µs; +30.117µs] or [-8.243%; +9.682%]
unstable
[-38142.665ns; +39419.485ns] or [-11.695%; +12.087%]
unstable
[-74.747µs; +104.579µs] or [-12.610%; +17.643%]
same
scenario:basic same same same unstable
[-187.813µs; +91.579µs] or [-31.004%; +15.118%]
unstable
[-137.546op/s; +137.546op/s] or [-5.502%; +5.502%]
Request duration reports for reports
gantt
    title reports - request duration [CI 0.99] : candidate=None, baseline=None
    dateFormat X
    axisFormat %s
section baseline
noprobe (311.077 µs) : 288, 334
.   : milestone, 311,
basic (309.965 µs) : 301, 318
.   : milestone, 310,
loop (10.92 ms) : 10850, 10990
.   : milestone, 10920,
section candidate
noprobe (313.316 µs) : 283, 343
.   : milestone, 313,
basic (315.507 µs) : 307, 324
.   : milestone, 316,
loop (10.132 ms) : 10092, 10172
.   : milestone, 10132,
Loading
  • baseline results
Scenario Request median duration [CI 0.99]
noprobe 311.077 µs [288.31 µs, 333.845 µs]
basic 309.965 µs [301.459 µs, 318.472 µs]
loop 10.92 ms [10.85 ms, 10.99 ms]
  • candidate results
Scenario Request median duration [CI 0.99]
noprobe 313.316 µs [283.431 µs, 343.201 µs]
basic 315.507 µs [306.608 µs, 324.406 µs]
loop 10.132 ms [10.092 ms, 10.172 ms]

@pr-commenter
Copy link

pr-commenter bot commented Mar 28, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master jpbempel/fix-flaky-smoke-test
git_commit_date 1743121790 1743143892
git_commit_sha 4a5461c b33402c
release_version 1.48.0-SNAPSHOT~4a5461cf3e 1.48.0-SNAPSHOT~b33402c729
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1743146870 1743146870
ci_job_id 869348139 869348139
ci_pipeline_id 60288362 60288362
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-5gca-jya-project-304-concurrent-0-2m4vygq1 6.8.0-1024-aws #26~22.04.1-Ubuntu SMP Wed Feb 19 06:54:57 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-5gca-jya-project-304-concurrent-0-2m4vygq1 6.8.0-1024-aws #26~22.04.1-Ubuntu SMP Wed Feb 19 06:54:57 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
module Agent Agent
parent None None
variant iast iast

Summary

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

Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.48.0-SNAPSHOT~b33402c729, baseline=1.48.0-SNAPSHOT~4a5461cf3e

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.054 s) : 0, 1054447
Total [baseline] (10.516 s) : 0, 10515823
Agent [candidate] (1.065 s) : 0, 1065136
Total [candidate] (10.468 s) : 0, 10467633
section appsec
Agent [baseline] (1.195 s) : 0, 1195089
Total [baseline] (10.772 s) : 0, 10771778
Agent [candidate] (1.197 s) : 0, 1196748
Total [candidate] (10.736 s) : 0, 10736131
section iast
Agent [baseline] (1.179 s) : 0, 1179319
Total [baseline] (11.04 s) : 0, 11040400
Agent [candidate] (1.178 s) : 0, 1177664
Total [candidate] (11.022 s) : 0, 11022149
section profiling
Agent [baseline] (1.274 s) : 0, 1274447
Total [baseline] (10.82 s) : 0, 10819937
Agent [candidate] (1.288 s) : 0, 1288157
Total [candidate] (10.873 s) : 0, 10873177
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.054 s -
Agent appsec 1.195 s 140.642 ms (13.3%)
Agent iast 1.179 s 124.872 ms (11.8%)
Agent profiling 1.274 s 219.999 ms (20.9%)
Total tracing 10.516 s -
Total appsec 10.772 s 255.954 ms (2.4%)
Total iast 11.04 s 524.576 ms (5.0%)
Total profiling 10.82 s 304.113 ms (2.9%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.065 s -
Agent appsec 1.197 s 131.612 ms (12.4%)
Agent iast 1.178 s 112.527 ms (10.6%)
Agent profiling 1.288 s 223.02 ms (20.9%)
Total tracing 10.468 s -
Total appsec 10.736 s 268.498 ms (2.6%)
Total iast 11.022 s 554.516 ms (5.3%)
Total profiling 10.873 s 405.544 ms (3.9%)
gantt
    title petclinic - break down per module: candidate=1.48.0-SNAPSHOT~b33402c729, baseline=1.48.0-SNAPSHOT~4a5461cf3e

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (721.789 ms) : 0, 721789
BytebuddyAgent [candidate] (727.423 ms) : 0, 727423
GlobalTracer [baseline] (240.112 ms) : 0, 240112
GlobalTracer [candidate] (242.177 ms) : 0, 242177
AppSec [baseline] (54.803 ms) : 0, 54803
AppSec [candidate] (55.555 ms) : 0, 55555
Debugger [baseline] (4.486 ms) : 0, 4486
Debugger [candidate] (4.541 ms) : 0, 4541
Remote Config [baseline] (691.34 µs) : 0, 691
Remote Config [candidate] (710.318 µs) : 0, 710
Telemetry [baseline] (12.8 ms) : 0, 12800
Telemetry [candidate] (14.828 ms) : 0, 14828
section appsec
BytebuddyAgent [baseline] (738.708 ms) : 0, 738708
BytebuddyAgent [candidate] (740.251 ms) : 0, 740251
GlobalTracer [baseline] (235.945 ms) : 0, 235945
GlobalTracer [candidate] (236.205 ms) : 0, 236205
AppSec [baseline] (176.771 ms) : 0, 176771
AppSec [candidate] (176.185 ms) : 0, 176185
Debugger [baseline] (4.289 ms) : 0, 4289
Debugger [candidate] (4.302 ms) : 0, 4302
Remote Config [baseline] (641.243 µs) : 0, 641
Remote Config [candidate] (650.721 µs) : 0, 651
Telemetry [baseline] (8.178 ms) : 0, 8178
Telemetry [candidate] (8.544 ms) : 0, 8544
IAST [baseline] (21.68 ms) : 0, 21680
IAST [candidate] (21.639 ms) : 0, 21639
section iast
BytebuddyAgent [baseline] (837.716 ms) : 0, 837716
BytebuddyAgent [candidate] (836.655 ms) : 0, 836655
GlobalTracer [baseline] (229.5 ms) : 0, 229500
GlobalTracer [candidate] (228.843 ms) : 0, 228843
AppSec [baseline] (55.915 ms) : 0, 55915
AppSec [candidate] (55.925 ms) : 0, 55925
Debugger [baseline] (4.221 ms) : 0, 4221
Debugger [candidate] (4.206 ms) : 0, 4206
Remote Config [baseline] (614.213 µs) : 0, 614
Remote Config [candidate] (609.63 µs) : 0, 610
Telemetry [baseline] (8.894 ms) : 0, 8894
Telemetry [candidate] (8.81 ms) : 0, 8810
IAST [baseline] (22.82 ms) : 0, 22820
IAST [candidate] (23.002 ms) : 0, 23002
section profiling
ProfilingAgent [baseline] (102.621 ms) : 0, 102621
ProfilingAgent [candidate] (103.445 ms) : 0, 103445
BytebuddyAgent [baseline] (709.691 ms) : 0, 709691
BytebuddyAgent [candidate] (719.959 ms) : 0, 719959
GlobalTracer [baseline] (349.083 ms) : 0, 349083
GlobalTracer [candidate] (352.149 ms) : 0, 352149
AppSec [baseline] (54.299 ms) : 0, 54299
AppSec [candidate] (53.222 ms) : 0, 53222
Debugger [baseline] (4.28 ms) : 0, 4280
Debugger [candidate] (4.269 ms) : 0, 4269
Remote Config [baseline] (683.554 µs) : 0, 684
Remote Config [candidate] (680.075 µs) : 0, 680
Telemetry [baseline] (8.941 ms) : 0, 8941
Telemetry [candidate] (8.858 ms) : 0, 8858
Profiling [baseline] (102.647 ms) : 0, 102647
Profiling [candidate] (103.47 ms) : 0, 103470
Loading
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.48.0-SNAPSHOT~b33402c729, baseline=1.48.0-SNAPSHOT~4a5461cf3e

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.061 s) : 0, 1061368
Total [baseline] (8.713 s) : 0, 8713404
Agent [candidate] (1.049 s) : 0, 1048895
Total [candidate] (8.668 s) : 0, 8668182
section iast
Agent [baseline] (1.176 s) : 0, 1176369
Total [baseline] (9.264 s) : 0, 9263814
Agent [candidate] (1.178 s) : 0, 1178216
Total [candidate] (9.235 s) : 0, 9234903
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.179 s) : 0, 1179380
Total [baseline] (9.208 s) : 0, 9208004
Agent [candidate] (1.175 s) : 0, 1174910
Total [candidate] (9.243 s) : 0, 9243219
section iast_TELEMETRY_OFF
Agent [baseline] (1.176 s) : 0, 1176277
Total [baseline] (9.247 s) : 0, 9247464
Agent [candidate] (1.177 s) : 0, 1176537
Total [candidate] (9.246 s) : 0, 9245673
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.061 s -
Agent iast 1.176 s 115.001 ms (10.8%)
Agent iast_HARDCODED_SECRET_DISABLED 1.179 s 118.012 ms (11.1%)
Agent iast_TELEMETRY_OFF 1.176 s 114.91 ms (10.8%)
Total tracing 8.713 s -
Total iast 9.264 s 550.409 ms (6.3%)
Total iast_HARDCODED_SECRET_DISABLED 9.208 s 494.6 ms (5.7%)
Total iast_TELEMETRY_OFF 9.247 s 534.06 ms (6.1%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.049 s -
Agent iast 1.178 s 129.32 ms (12.3%)
Agent iast_HARDCODED_SECRET_DISABLED 1.175 s 126.015 ms (12.0%)
Agent iast_TELEMETRY_OFF 1.177 s 127.641 ms (12.2%)
Total tracing 8.668 s -
Total iast 9.235 s 566.721 ms (6.5%)
Total iast_HARDCODED_SECRET_DISABLED 9.243 s 575.037 ms (6.6%)
Total iast_TELEMETRY_OFF 9.246 s 577.491 ms (6.7%)
gantt
    title insecure-bank - break down per module: candidate=1.48.0-SNAPSHOT~b33402c729, baseline=1.48.0-SNAPSHOT~4a5461cf3e

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (725.581 ms) : 0, 725581
BytebuddyAgent [candidate] (718.317 ms) : 0, 718317
GlobalTracer [baseline] (241.449 ms) : 0, 241449
GlobalTracer [candidate] (239.101 ms) : 0, 239101
AppSec [baseline] (54.977 ms) : 0, 54977
AppSec [candidate] (54.512 ms) : 0, 54512
Debugger [baseline] (4.475 ms) : 0, 4475
Debugger [candidate] (5.146 ms) : 0, 5146
Remote Config [baseline] (699.93 µs) : 0, 700
Remote Config [candidate] (694.603 µs) : 0, 695
Telemetry [baseline] (14.236 ms) : 0, 14236
Telemetry [candidate] (11.414 ms) : 0, 11414
section iast
BytebuddyAgent [baseline] (835.386 ms) : 0, 835386
BytebuddyAgent [candidate] (837.096 ms) : 0, 837096
GlobalTracer [baseline] (228.612 ms) : 0, 228612
GlobalTracer [candidate] (229.058 ms) : 0, 229058
AppSec [baseline] (56.271 ms) : 0, 56271
AppSec [candidate] (55.897 ms) : 0, 55897
Debugger [baseline] (4.212 ms) : 0, 4212
Debugger [candidate] (4.212 ms) : 0, 4212
Remote Config [baseline] (610.096 µs) : 0, 610
Remote Config [candidate] (608.516 µs) : 0, 609
Telemetry [baseline] (8.719 ms) : 0, 8719
Telemetry [candidate] (8.791 ms) : 0, 8791
IAST [baseline] (22.925 ms) : 0, 22925
IAST [candidate] (22.844 ms) : 0, 22844
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (837.869 ms) : 0, 837869
BytebuddyAgent [candidate] (834.58 ms) : 0, 834580
GlobalTracer [baseline] (229.266 ms) : 0, 229266
GlobalTracer [candidate] (228.077 ms) : 0, 228077
AppSec [baseline] (56.139 ms) : 0, 56139
AppSec [candidate] (56.11 ms) : 0, 56110
Debugger [baseline] (4.179 ms) : 0, 4179
Debugger [candidate] (4.231 ms) : 0, 4231
Remote Config [baseline] (632.756 µs) : 0, 633
Remote Config [candidate] (614.856 µs) : 0, 615
Telemetry [baseline] (8.81 ms) : 0, 8810
Telemetry [candidate] (8.836 ms) : 0, 8836
IAST [baseline] (22.782 ms) : 0, 22782
IAST [candidate] (22.827 ms) : 0, 22827
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (835.999 ms) : 0, 835999
BytebuddyAgent [candidate] (835.768 ms) : 0, 835768
GlobalTracer [baseline] (228.985 ms) : 0, 228985
GlobalTracer [candidate] (229.367 ms) : 0, 229367
AppSec [baseline] (55.947 ms) : 0, 55947
AppSec [candidate] (55.996 ms) : 0, 55996
Debugger [baseline] (4.145 ms) : 0, 4145
Debugger [candidate] (4.137 ms) : 0, 4137
Remote Config [baseline] (600.624 µs) : 0, 601
Remote Config [candidate] (595.379 µs) : 0, 595
Telemetry [baseline] (8.605 ms) : 0, 8605
Telemetry [candidate] (8.709 ms) : 0, 8709
IAST [baseline] (22.33 ms) : 0, 22330
IAST [candidate] (22.31 ms) : 0, 22310
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
end_time 2025-03-28T06:58:05 2025-03-28T07:05:50
git_branch master jpbempel/fix-flaky-smoke-test
git_commit_date 1743121790 1743143892
git_commit_sha 4a5461c b33402c
release_version 1.48.0-SNAPSHOT~4a5461cf3e 1.48.0-SNAPSHOT~b33402c729
start_time 2025-03-28T06:57:51 2025-03-28T07:05:36
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1743145950 1743145950
ci_job_id 869348140 869348140
ci_pipeline_id 60288362 60288362
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-5gca-jya-project-304-concurrent-1-680y2u5j 6.8.0-1024-aws #26~22.04.1-Ubuntu SMP Wed Feb 19 06:54:57 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-5gca-jya-project-304-concurrent-1-680y2u5j 6.8.0-1024-aws #26~22.04.1-Ubuntu SMP Wed Feb 19 06:54:57 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 13 metrics, 17 unstable metrics.

Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.48.0-SNAPSHOT~b33402c729, baseline=1.48.0-SNAPSHOT~4a5461cf3e
    dateFormat X
    axisFormat %s
section baseline
no_agent (383.011 µs) : 363, 403
.   : milestone, 383,
iast (510.943 µs) : 489, 533
.   : milestone, 511,
iast_FULL (737.298 µs) : 715, 759
.   : milestone, 737,
iast_GLOBAL (561.456 µs) : 540, 583
.   : milestone, 561,
iast_HARDCODED_SECRET_DISABLED (519.5 µs) : 498, 541
.   : milestone, 520,
iast_INACTIVE (463.998 µs) : 443, 485
.   : milestone, 464,
iast_TELEMETRY_OFF (501.192 µs) : 480, 523
.   : milestone, 501,
tracing (456.565 µs) : 436, 477
.   : milestone, 457,
section candidate
no_agent (379.354 µs) : 360, 399
.   : milestone, 379,
iast (516.135 µs) : 494, 538
.   : milestone, 516,
iast_FULL (733.7 µs) : 712, 756
.   : milestone, 734,
iast_GLOBAL (561.856 µs) : 540, 583
.   : milestone, 562,
iast_HARDCODED_SECRET_DISABLED (520.015 µs) : 498, 542
.   : milestone, 520,
iast_INACTIVE (465.293 µs) : 443, 487
.   : milestone, 465,
iast_TELEMETRY_OFF (505.374 µs) : 483, 528
.   : milestone, 505,
tracing (464.527 µs) : 443, 486
.   : milestone, 465,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 383.011 µs [362.767 µs, 403.255 µs] -
iast 510.943 µs [489.173 µs, 532.714 µs] 127.933 µs (33.4%)
iast_FULL 737.298 µs [715.462 µs, 759.135 µs] 354.288 µs (92.5%)
iast_GLOBAL 561.456 µs [539.969 µs, 582.942 µs] 178.445 µs (46.6%)
iast_HARDCODED_SECRET_DISABLED 519.5 µs [497.735 µs, 541.266 µs] 136.489 µs (35.6%)
iast_INACTIVE 463.998 µs [442.64 µs, 485.357 µs] 80.988 µs (21.1%)
iast_TELEMETRY_OFF 501.192 µs [479.728 µs, 522.656 µs] 118.181 µs (30.9%)
tracing 456.565 µs [435.7 µs, 477.429 µs] 73.554 µs (19.2%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 379.354 µs [359.811 µs, 398.897 µs] -
iast 516.135 µs [494.185 µs, 538.084 µs] 136.78 µs (36.1%)
iast_FULL 733.7 µs [711.566 µs, 755.834 µs] 354.345 µs (93.4%)
iast_GLOBAL 561.856 µs [540.406 µs, 583.306 µs] 182.502 µs (48.1%)
iast_HARDCODED_SECRET_DISABLED 520.015 µs [497.812 µs, 542.219 µs] 140.661 µs (37.1%)
iast_INACTIVE 465.293 µs [443.259 µs, 487.326 µs] 85.938 µs (22.7%)
iast_TELEMETRY_OFF 505.374 µs [482.812 µs, 527.937 µs] 126.02 µs (33.2%)
tracing 464.527 µs [443.123 µs, 485.932 µs] 85.173 µs (22.5%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.48.0-SNAPSHOT~b33402c729, baseline=1.48.0-SNAPSHOT~4a5461cf3e
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.367 ms) : 1347, 1387
.   : milestone, 1367,
appsec (1.737 ms) : 1714, 1761
.   : milestone, 1737,
appsec_no_iast (1.749 ms) : 1726, 1772
.   : milestone, 1749,
code_origins (1.695 ms) : 1668, 1722
.   : milestone, 1695,
iast (1.503 ms) : 1479, 1528
.   : milestone, 1503,
profiling (1.521 ms) : 1498, 1544
.   : milestone, 1521,
tracing (1.506 ms) : 1482, 1531
.   : milestone, 1506,
section candidate
no_agent (1.361 ms) : 1342, 1381
.   : milestone, 1361,
appsec (1.73 ms) : 1706, 1754
.   : milestone, 1730,
appsec_no_iast (1.742 ms) : 1719, 1765
.   : milestone, 1742,
code_origins (1.695 ms) : 1668, 1721
.   : milestone, 1695,
iast (1.532 ms) : 1508, 1555
.   : milestone, 1532,
profiling (1.561 ms) : 1537, 1585
.   : milestone, 1561,
tracing (1.501 ms) : 1477, 1525
.   : milestone, 1501,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.367 ms [1.347 ms, 1.387 ms] -
appsec 1.737 ms [1.714 ms, 1.761 ms] 370.488 µs (27.1%)
appsec_no_iast 1.749 ms [1.726 ms, 1.772 ms] 381.84 µs (27.9%)
code_origins 1.695 ms [1.668 ms, 1.722 ms] 328.173 µs (24.0%)
iast 1.503 ms [1.479 ms, 1.528 ms] 136.333 µs (10.0%)
profiling 1.521 ms [1.498 ms, 1.544 ms] 154.401 µs (11.3%)
tracing 1.506 ms [1.482 ms, 1.531 ms] 139.345 µs (10.2%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.361 ms [1.342 ms, 1.381 ms] -
appsec 1.73 ms [1.706 ms, 1.754 ms] 368.971 µs (27.1%)
appsec_no_iast 1.742 ms [1.719 ms, 1.765 ms] 380.459 µs (27.9%)
code_origins 1.695 ms [1.668 ms, 1.721 ms] 333.096 µs (24.5%)
iast 1.532 ms [1.508 ms, 1.555 ms] 170.1 µs (12.5%)
profiling 1.561 ms [1.537 ms, 1.585 ms] 199.652 µs (14.7%)
tracing 1.501 ms [1.477 ms, 1.525 ms] 139.684 µs (10.3%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master jpbempel/fix-flaky-smoke-test
git_commit_date 1743121790 1743143892
git_commit_sha 4a5461c b33402c
release_version 1.48.0-SNAPSHOT~4a5461cf3e 1.48.0-SNAPSHOT~b33402c729
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1743146422 1743146422
ci_job_id 869348141 869348141
ci_pipeline_id 60288362 60288362
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-5gca-jya-project-304-concurrent-2-4tox74wz 6.8.0-1024-aws #26~22.04.1-Ubuntu SMP Wed Feb 19 06:54:57 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-5gca-jya-project-304-concurrent-2-4tox74wz 6.8.0-1024-aws #26~22.04.1-Ubuntu SMP Wed Feb 19 06:54:57 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 11 metrics, 1 unstable metrics.

Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.48.0-SNAPSHOT~b33402c729, baseline=1.48.0-SNAPSHOT~4a5461cf3e
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.471 ms) : 1459, 1482
.   : milestone, 1471,
appsec (2.358 ms) : 2314, 2403
.   : milestone, 2358,
iast (2.133 ms) : 2076, 2190
.   : milestone, 2133,
iast_GLOBAL (2.173 ms) : 2117, 2230
.   : milestone, 2173,
profiling (2.448 ms) : 2270, 2626
.   : milestone, 2448,
tracing (1.96 ms) : 1917, 2003
.   : milestone, 1960,
section candidate
no_agent (1.473 ms) : 1461, 1484
.   : milestone, 1473,
appsec (2.352 ms) : 2307, 2397
.   : milestone, 2352,
iast (2.139 ms) : 2082, 2196
.   : milestone, 2139,
iast_GLOBAL (2.172 ms) : 2115, 2228
.   : milestone, 2172,
profiling (2.003 ms) : 1957, 2049
.   : milestone, 2003,
tracing (1.964 ms) : 1920, 2007
.   : milestone, 1964,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.471 ms [1.459 ms, 1.482 ms] -
appsec 2.358 ms [2.314 ms, 2.403 ms] 887.456 µs (60.3%)
iast 2.133 ms [2.076 ms, 2.19 ms] 662.679 µs (45.1%)
iast_GLOBAL 2.173 ms [2.117 ms, 2.23 ms] 702.625 µs (47.8%)
profiling 2.448 ms [2.27 ms, 2.626 ms] 977.095 µs (66.4%)
tracing 1.96 ms [1.917 ms, 2.003 ms] 489.613 µs (33.3%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.473 ms [1.461 ms, 1.484 ms] -
appsec 2.352 ms [2.307 ms, 2.397 ms] 879.579 µs (59.7%)
iast 2.139 ms [2.082 ms, 2.196 ms] 666.716 µs (45.3%)
iast_GLOBAL 2.172 ms [2.115 ms, 2.228 ms] 699.012 µs (47.5%)
profiling 2.003 ms [1.957 ms, 2.049 ms] 530.347 µs (36.0%)
tracing 1.964 ms [1.92 ms, 2.007 ms] 491.109 µs (33.4%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.48.0-SNAPSHOT~b33402c729, baseline=1.48.0-SNAPSHOT~4a5461cf3e
    dateFormat X
    axisFormat %s
section baseline
no_agent (14.975 s) : 14975000, 14975000
.   : milestone, 14975000,
appsec (15.154 s) : 15154000, 15154000
.   : milestone, 15154000,
iast (18.802 s) : 18802000, 18802000
.   : milestone, 18802000,
iast_GLOBAL (17.869 s) : 17869000, 17869000
.   : milestone, 17869000,
profiling (15.178 s) : 15178000, 15178000
.   : milestone, 15178000,
tracing (15.169 s) : 15169000, 15169000
.   : milestone, 15169000,
section candidate
no_agent (14.889 s) : 14889000, 14889000
.   : milestone, 14889000,
appsec (14.661 s) : 14661000, 14661000
.   : milestone, 14661000,
iast (19.077 s) : 19077000, 19077000
.   : milestone, 19077000,
iast_GLOBAL (17.769 s) : 17769000, 17769000
.   : milestone, 17769000,
profiling (15.246 s) : 15246000, 15246000
.   : milestone, 15246000,
tracing (15.091 s) : 15091000, 15091000
.   : milestone, 15091000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.975 s [14.975 s, 14.975 s] -
appsec 15.154 s [15.154 s, 15.154 s] 179.0 ms (1.2%)
iast 18.802 s [18.802 s, 18.802 s] 3.827 s (25.6%)
iast_GLOBAL 17.869 s [17.869 s, 17.869 s] 2.894 s (19.3%)
profiling 15.178 s [15.178 s, 15.178 s] 203.0 ms (1.4%)
tracing 15.169 s [15.169 s, 15.169 s] 194.0 ms (1.3%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.889 s [14.889 s, 14.889 s] -
appsec 14.661 s [14.661 s, 14.661 s] -228.0 ms (-1.5%)
iast 19.077 s [19.077 s, 19.077 s] 4.188 s (28.1%)
iast_GLOBAL 17.769 s [17.769 s, 17.769 s] 2.88 s (19.3%)
profiling 15.246 s [15.246 s, 15.246 s] 357.0 ms (2.4%)
tracing 15.091 s [15.091 s, 15.091 s] 202.0 ms (1.4%)

} else {
LOGGER.debug("No configuration poller available from SharedCommunicationObjects");
}
LOGGER.info("Started Dynamic Instrumentation");
Copy link
Member

Choose a reason for hiding this comment

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

Might want to do debug level here? (and enable debug level in some tests)

Copy link
Member Author

Choose a reason for hiding this comment

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

No I think this is fine, it would not spam anyway

@jpbempel jpbempel added comp: debugger Dynamic Instrumentation tag: no release notes Changes to exclude from release notes type: bug Bug report and fix labels Mar 28, 2025
@jpbempel jpbempel merged commit 52b943d into master Mar 28, 2025
261 of 274 checks passed
@jpbempel jpbempel deleted the jpbempel/fix-flaky-smoke-test branch March 28, 2025 09:39
@github-actions github-actions bot added this to the 1.48.0 milestone Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: debugger Dynamic Instrumentation tag: no release notes Changes to exclude from release notes type: bug Bug report and fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants