Skip to content

[Debugger] Deflake instanceof assembly lookup tests#8885

Open
bouwkast wants to merge 2 commits into
masterfrom
steven/debugger-DebuggerExpressionLanguageTests-flake-fix
Open

[Debugger] Deflake instanceof assembly lookup tests#8885
bouwkast wants to merge 2 commits into
masterfrom
steven/debugger-DebuggerExpressionLanguageTests-flake-fix

Conversation

@bouwkast

@bouwkast bouwkast commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Summary of changes

Attempt to fix flake in debugger instanceof assembly lookup tests by avoiding call-count-based assembly provider behavior.

Reason for change

While attempting to fix other flake, this flaked so need to try and resolve it.
ProbeExpressionParser_InstanceOf_LazyLoadedType_CanSucceedWithoutRecompileand two sibling tests could fail whenInstanceOfHelper.ResolveType()` retried a lookup after the process-wide assembly-load generation changed.

Because the tests changed the returned assembly an unrelated parallel assembly load could trigger a retry, expose the “later” assembly too early

Implementation details

Replaced provider call-count gates with explicit boolean flags that control when additional assemblies become visible. Relaxed exact call-count assertions to account for legitimate retry behavior

Test coverage

Other details

#incident-57303

@bouwkast

bouwkast commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@github-actions github-actions Bot added area:tests unit tests, integration tests area:debugger labels Jul 9, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: acb314bde3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tracer/test/Datadog.Trace.Tests/Debugger/DebuggerExpressionLanguageTests.cs Outdated
@dd-trace-dotnet-ci-bot

dd-trace-dotnet-ci-bot Bot commented Jul 9, 2026

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8885) and master.

✅ No regressions detected - check the details below

Full Metrics Comparison

FakeDbCommand

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration69.73 ± (69.74 - 70.07) ms69.98 ± (70.02 - 70.34) ms+0.4%✅⬆️
.NET Framework 4.8 - Bailout
duration76.91 ± (76.58 - 77.07) ms73.99 ± (73.93 - 74.30) ms-3.8%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1081.27 ± (1081.10 - 1088.33) ms1088.36 ± (1089.48 - 1098.52) ms+0.7%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.10 ± (22.06 - 22.14) ms22.07 ± (22.03 - 22.12) ms-0.1%
process.time_to_main_ms80.92 ± (80.68 - 81.16) ms80.31 ± (80.14 - 80.48) ms-0.8%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.92 ± (10.92 - 10.92) MB10.92 ± (10.92 - 10.93) MB+0.0%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.23 ± (22.19 - 22.28) ms21.93 ± (21.89 - 21.96) ms-1.4%
process.time_to_main_ms84.54 ± (84.26 - 84.83) ms81.81 ± (81.68 - 81.95) ms-3.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.96 ± (10.95 - 10.96) MB10.97 ± (10.97 - 10.98) MB+0.2%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms208.89 ± (208.19 - 209.59) ms210.73 ± (209.92 - 211.53) ms+0.9%✅⬆️
process.time_to_main_ms531.56 ± (530.38 - 532.75) ms533.44 ± (532.26 - 534.62) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.27 ± (49.24 - 49.30) MB49.24 ± (49.21 - 49.27) MB-0.1%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.3%
.NET 6 - Baseline
process.internal_duration_ms20.87 ± (20.84 - 20.90) ms21.19 ± (21.15 - 21.24) ms+1.5%✅⬆️
process.time_to_main_ms69.62 ± (69.49 - 69.76) ms72.21 ± (71.97 - 72.44) ms+3.7%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.64 ± (10.63 - 10.64) MB10.63 ± (10.63 - 10.63) MB-0.1%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms20.69 ± (20.67 - 20.71) ms20.82 ± (20.78 - 20.85) ms+0.6%✅⬆️
process.time_to_main_ms70.48 ± (70.34 - 70.62) ms71.00 ± (70.85 - 71.14) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.76 ± (10.76 - 10.77) MB10.75 ± (10.74 - 10.75) MB-0.1%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms371.64 ± (369.73 - 373.56) ms374.81 ± (372.58 - 377.04) ms+0.9%✅⬆️
process.time_to_main_ms534.70 ± (533.37 - 536.03) ms537.63 ± (536.54 - 538.72) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed50.28 ± (50.26 - 50.30) MB50.32 ± (50.30 - 50.35) MB+0.1%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.2%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.36 ± (19.31 - 19.40) ms19.07 ± (19.03 - 19.10) ms-1.5%
process.time_to_main_ms72.06 ± (71.81 - 72.30) ms69.05 ± (68.94 - 69.16) ms-4.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.68 ± (7.67 - 7.68) MB7.70 ± (7.69 - 7.71) MB+0.3%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.13 ± (19.09 - 19.16) ms19.34 ± (19.30 - 19.38) ms+1.1%✅⬆️
process.time_to_main_ms70.48 ± (70.31 - 70.64) ms73.14 ± (72.90 - 73.38) ms+3.8%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.73 ± (7.73 - 7.74) MB7.75 ± (7.74 - 7.75) MB+0.2%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms297.61 ± (295.00 - 300.21) ms299.67 ± (297.19 - 302.14) ms+0.7%✅⬆️
process.time_to_main_ms484.44 ± (483.36 - 485.52) ms484.82 ± (483.82 - 485.81) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.63 ± (37.60 - 37.66) MB37.67 ± (37.64 - 37.70) MB+0.1%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)-0.8%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration193.38 ± (193.18 - 194.01) ms200.42 ± (200.34 - 201.28) ms+3.6%✅⬆️
.NET Framework 4.8 - Bailout
duration198.67 ± (198.36 - 199.21) ms204.50 ± (204.16 - 204.80) ms+2.9%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1165.85 ± (1167.80 - 1174.54) ms1202.04 ± (1201.35 - 1207.14) ms+3.1%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms185.35 ± (185.07 - 185.63) ms194.61 ± (194.21 - 195.00) ms+5.0%✅⬆️
process.time_to_main_ms79.81 ± (79.65 - 79.98) ms84.19 ± (83.89 - 84.49) ms+5.5%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.19 ± (16.16 - 16.21) MB16.04 ± (16.02 - 16.06) MB-0.9%
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (20 - 20)+0.4%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms184.75 ± (184.52 - 184.98) ms194.42 ± (194.03 - 194.81) ms+5.2%✅⬆️
process.time_to_main_ms81.18 ± (81.08 - 81.29) ms85.65 ± (85.41 - 85.88) ms+5.5%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.27 ± (16.23 - 16.30) MB16.08 ± (16.05 - 16.10) MB-1.2%
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (20 - 21)-0.1%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms376.63 ± (375.51 - 377.75) ms386.40 ± (384.82 - 387.97) ms+2.6%✅⬆️
process.time_to_main_ms525.70 ± (524.72 - 526.67) ms542.49 ± (541.17 - 543.80) ms+3.2%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed57.78 ± (57.72 - 57.84) MB58.15 ± (57.96 - 58.35) MB+0.7%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.6%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms189.56 ± (189.30 - 189.82) ms198.35 ± (197.93 - 198.76) ms+4.6%✅⬆️
process.time_to_main_ms69.67 ± (69.51 - 69.83) ms72.91 ± (72.66 - 73.16) ms+4.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed15.96 ± (15.80 - 16.12) MB16.39 ± (16.36 - 16.41) MB+2.7%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)19 ± (19 - 19)+7.1%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms188.55 ± (188.33 - 188.77) ms197.47 ± (197.17 - 197.78) ms+4.7%✅⬆️
process.time_to_main_ms70.55 ± (70.47 - 70.64) ms74.17 ± (73.95 - 74.40) ms+5.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed15.92 ± (15.75 - 16.10) MB16.42 ± (16.40 - 16.45) MB+3.1%✅⬆️
runtime.dotnet.threads.count19 ± (18 - 19)20 ± (20 - 20)+8.3%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms586.49 ± (584.04 - 588.95) ms587.66 ± (585.61 - 589.71) ms+0.2%✅⬆️
process.time_to_main_ms528.09 ± (526.97 - 529.20) ms551.07 ± (549.92 - 552.23) ms+4.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.50 ± (61.39 - 61.61) MB61.63 ± (61.54 - 61.73) MB+0.2%✅⬆️
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)-0.4%
.NET 8 - Baseline
process.internal_duration_ms186.37 ± (186.12 - 186.61) ms198.02 ± (197.63 - 198.42) ms+6.3%✅⬆️
process.time_to_main_ms68.56 ± (68.38 - 68.74) ms72.42 ± (72.10 - 72.73) ms+5.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.93 ± (11.90 - 11.96) MB11.76 ± (11.74 - 11.78) MB-1.4%
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)+1.5%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms185.87 ± (185.67 - 186.07) ms197.03 ± (196.55 - 197.51) ms+6.0%✅⬆️
process.time_to_main_ms69.62 ± (69.56 - 69.68) ms73.46 ± (73.20 - 73.71) ms+5.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.75 ± (11.66 - 11.85) MB11.78 ± (11.76 - 11.80) MB+0.2%✅⬆️
runtime.dotnet.threads.count19 ± (18 - 19)19 ± (19 - 19)+4.4%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms511.72 ± (508.95 - 514.49) ms515.73 ± (512.87 - 518.60) ms+0.8%✅⬆️
process.time_to_main_ms492.80 ± (491.61 - 493.99) ms496.35 ± (495.66 - 497.04) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed51.01 ± (50.97 - 51.04) MB51.14 ± (51.11 - 51.18) MB+0.3%✅⬆️
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 30)+0.8%✅⬆️
Comparison explanation

Execution-time benchmarks measure the whole time it takes to execute a program, and are intended to measure the one-off costs. Cases where the execution time results for the PR are worse than latest master results are highlighted in **red**. The following thresholds were used for comparing the execution times:

  • Welch test with statistical test for significance of 5%
  • Only results indicating a difference greater than 5% and 5 ms are considered.

Note that these results are based on a single point-in-time result for each branch. For full results, see the dashboard.

Graphs show the p99 interval based on the mean and StdDev of the test run, as well as the mean value of the run (shown as a diamond below the graph).

Duration charts
FakeDbCommand (.NET Framework 4.8)
gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8885) - mean (70ms)  : 68, 73
    master - mean (70ms)  : 68, 72

    section Bailout
    This PR (8885) - mean (74ms)  : 72, 76
    master - mean (77ms)  : 73, 81

    section CallTarget+Inlining+NGEN
    This PR (8885) - mean (1,094ms)  : 1027, 1161
    master - mean (1,085ms)  : 1032, 1137

Loading
FakeDbCommand (.NET Core 3.1)
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8885) - mean (109ms)  : 106, 112
    master - mean (110ms)  : 104, 117

    section Bailout
    This PR (8885) - mean (110ms)  : 108, 112
    master - mean (114ms)  : 108, 121

    section CallTarget+Inlining+NGEN
    This PR (8885) - mean (781ms)  : 752, 810
    master - mean (778ms)  : 752, 804

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8885) - mean (100ms)  : 95, 106
    master - mean (96ms)  : 94, 99

    section Bailout
    This PR (8885) - mean (98ms)  : 95, 102
    master - mean (97ms)  : 95, 99

    section CallTarget+Inlining+NGEN
    This PR (8885) - mean (945ms)  : 905, 986
    master - mean (935ms)  : 900, 969

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8885) - mean (95ms)  : 92, 98
    master - mean (99ms)  : 95, 104

    section Bailout
    This PR (8885) - mean (100ms)  : 94, 106
    master - mean (97ms)  : 92, 102

    section CallTarget+Inlining+NGEN
    This PR (8885) - mean (819ms)  : 781, 856
    master - mean (815ms)  : 769, 861

Loading
HttpMessageHandler (.NET Framework 4.8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8885) - mean (201ms)  : 196, 205
    master - mean (194ms)  : 189, 198

    section Bailout
    This PR (8885) - mean (204ms)  : 202, 207
    master - mean (199ms)  : 194, 203

    section CallTarget+Inlining+NGEN
    This PR (8885) - mean (1,204ms)  : 1164, 1245
    master - mean (1,171ms)  : 1122, 1221

Loading
HttpMessageHandler (.NET Core 3.1)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8885) - mean (289ms)  : 282, 295
    master - mean (274ms)  : 270, 279

    section Bailout
    This PR (8885) - mean (290ms)  : 284, 295
    master - mean (275ms)  : 272, 278

    section CallTarget+Inlining+NGEN
    This PR (8885) - mean (969ms)  : 950, 989
    master - mean (943ms)  : 923, 963

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8885) - mean (280ms)  : 274, 286
    master - mean (268ms)  : 264, 272

    section Bailout
    This PR (8885) - mean (281ms)  : 276, 285
    master - mean (268ms)  : 265, 271

    section CallTarget+Inlining+NGEN
    This PR (8885) - mean (1,171ms)  : 1114, 1227
    master - mean (1,142ms)  : 1114, 1171

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8885) - mean (281ms)  : 275, 286
    master - mean (264ms)  : 261, 268

    section Bailout
    This PR (8885) - mean (281ms)  : crit, 275, 286
    master - mean (265ms)  : 261, 268

    section CallTarget+Inlining+NGEN
    This PR (8885) - mean (1,044ms)  : 995, 1093
    master - mean (1,036ms)  : 991, 1081

Loading

@pr-commenter

pr-commenter Bot commented Jul 9, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-07-10 22:54:48

Comparing candidate commit 9bce671 in PR branch steven/debugger-DebuggerExpressionLanguageTests-flake-fix with baseline commit 8f5b860 in branch master.

📊 Benchmarking dashboard

Found 0 performance improvements and 1 performance regressions! Performance is the same for 71 metrics, 0 unstable metrics, 57 known flaky benchmarks, 69 flaky benchmarks without significant changes.

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync net472

  • 🟥 throughput [-5852.070op/s; -5571.906op/s] or [-6.681%; -6.361%]

Known flaky benchmarks

These benchmarks are marked as flaky and will not trigger a failure. Modify FLAKY_BENCHMARKS_REGEX to control which benchmarks are marked as flaky.

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-7475.778op/s; -7054.807op/s] or [-8.864%; -8.365%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild netcoreapp3.1

  • 🟥 throughput [-6564.465op/s; -5408.537op/s] or [-6.675%; -5.499%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+324.078ms; +325.590ms] or [+160.819%; +161.569%]
  • 🟥 throughput [-40.824op/s; -37.245op/s] or [-7.345%; -6.701%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • 🟥 execution_time [+376.604ms; +378.659ms] or [+297.540%; +299.164%]
  • 🟩 throughput [+87.194op/s; +97.004op/s] or [+11.496%; +12.790%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • 🟥 execution_time [+394.118ms; +396.909ms] or [+348.780%; +351.250%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody net472

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.528%; +27.540%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody net6.0

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+9.976%; +9.987%]
  • 🟩 execution_time [-15.702ms; -11.519ms] or [-7.333%; -5.380%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody netcoreapp3.1

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.500%; +27.510%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net472

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.743%; +105.758%]
  • 🟥 throughput [-282291.500op/s; -269861.154op/s] or [-28.823%; -27.554%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net6.0

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.557%; +38.566%]
  • 🟩 execution_time [-26.868ms; -22.018ms] or [-11.982%; -9.819%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody netcoreapp3.1

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • 🟥 throughput [-153131.183op/s; -137141.586op/s] or [-22.002%; -19.705%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net6.0

  • 🟩 throughput [+8584.423op/s; +11486.275op/s] or [+5.462%; +7.309%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody netcoreapp3.1

  • 🟩 throughput [+8911.229op/s; +11667.171op/s] or [+7.099%; +9.294%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net6.0

  • 🟩 throughput [+435197.509op/s; +448731.709op/s] or [+14.511%; +14.963%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody netcoreapp3.1

  • 🟩 execution_time [-17.643ms; -12.346ms] or [-8.133%; -5.691%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs net472

  • 🟥 execution_time [+300.053ms; +300.751ms] or [+149.926%; +150.275%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs net6.0

  • 🟥 execution_time [+299.924ms; +303.457ms] or [+151.252%; +153.034%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs netcoreapp3.1

  • 🟥 execution_time [+299.099ms; +301.546ms] or [+150.663%; +151.895%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net472

  • 🟥 execution_time [+298.260ms; +300.271ms] or [+146.493%; +147.481%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net6.0

  • 🟥 execution_time [+299.368ms; +303.611ms] or [+146.350%; +148.424%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs netcoreapp3.1

  • 🟥 execution_time [+301.154ms; +303.161ms] or [+150.516%; +151.519%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net6.0

  • 🟥 execution_time [+21.629µs; +45.232µs] or [+6.905%; +14.440%]
  • 🟥 throughput [-422.287op/s; -223.652op/s] or [-13.164%; -6.972%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.648ms; +300.397ms] or [+149.555%; +149.929%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net6.0

  • 🟥 execution_time [+416.698ms; +425.153ms] or [+452.760%; +461.946%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest netcoreapp3.1

  • unstable execution_time [+296.577ms; +349.602ms] or [+225.188%; +265.449%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • unstable execution_time [+329.306ms; +386.085ms] or [+151.412%; +177.518%]
  • 🟥 throughput [-529.318op/s; -482.538op/s] or [-47.961%; -43.723%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • unstable execution_time [+202.068ms; +335.336ms] or [+86.113%; +142.906%]
  • 🟥 throughput [-670.032op/s; -586.565op/s] or [-44.691%; -39.124%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • 🟥 execution_time [+319.376ms; +329.530ms] or [+191.024%; +197.097%]
  • 🟥 throughput [-412.038op/s; -376.103op/s] or [-28.690%; -26.188%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+304.007ms; +306.534ms] or [+153.092%; +154.365%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net6.0

  • 🟥 execution_time [+301.344ms; +303.141ms] or [+151.004%; +151.904%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch netcoreapp3.1

  • 🟥 execution_time [+303.157ms; +307.264ms] or [+152.293%; +154.357%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+301.222ms; +303.312ms] or [+151.263%; +152.313%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net6.0

  • 🟥 execution_time [+298.008ms; +300.650ms] or [+147.352%; +148.658%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync netcoreapp3.1

  • 🟥 execution_time [+301.131ms; +305.942ms] or [+152.627%; +155.065%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+300.303ms; +302.148ms] or [+150.725%; +151.651%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net6.0

  • 🟥 execution_time [+297.780ms; +300.629ms] or [+148.416%; +149.836%]
  • 🟩 throughput [+44480.646op/s; +50341.836op/s] or [+8.832%; +9.996%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync netcoreapp3.1

  • 🟥 execution_time [+301.259ms; +304.228ms] or [+149.874%; +151.351%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net6.0

  • 🟩 execution_time [-16.377ms; -12.703ms] or [-7.615%; -5.907%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net472

  • unstable execution_time [+11.043µs; +56.440µs] or [+2.728%; +13.941%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net6.0

  • 🟩 allocated_mem [-19.217KB; -19.194KB] or [-7.010%; -7.002%]
  • unstable execution_time [-39.304µs; +20.359µs] or [-7.768%; +4.024%]
  • unstable throughput [-63.958op/s; +147.380op/s] or [-3.192%; +7.354%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark netcoreapp3.1

  • unstable execution_time [-43.359µs; +18.734µs] or [-7.514%; +3.246%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net6.0

  • 🟥 execution_time [+4.861µs; +8.433µs] or [+11.491%; +19.933%]
  • 🟥 throughput [-4139.845op/s; -2438.475op/s] or [-17.427%; -10.265%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark netcoreapp3.1

  • unstable execution_time [-15.028µs; -7.418µs] or [-23.316%; -11.509%]
  • unstable throughput [+1910.177op/s; +3583.104op/s] or [+11.720%; +21.984%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+303.909ms; +305.150ms] or [+153.612%; +154.239%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net6.0

  • 🟥 execution_time [+303.182ms; +305.249ms] or [+154.319%; +155.371%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog netcoreapp3.1

  • 🟥 execution_time [+300.297ms; +303.633ms] or [+150.336%; +152.006%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+298.930ms; +300.759ms] or [+148.990%; +149.901%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net6.0

  • 🟥 execution_time [+302.496ms; +304.655ms] or [+151.899%; +152.983%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog netcoreapp3.1

  • 🟥 execution_time [+300.835ms; +303.466ms] or [+152.564%; +153.899%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+300.048ms; +301.103ms] or [+149.666%; +150.192%]
  • 🟩 throughput [+60982667.896op/s; +61323941.846op/s] or [+44.411%; +44.660%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net6.0

  • 🟥 execution_time [+422.320ms; +427.052ms] or [+525.230%; +531.115%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore netcoreapp3.1

  • 🟥 execution_time [+299.225ms; +300.328ms] or [+149.246%; +149.797%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net6.0

  • 🟩 throughput [+81388.983op/s; +92953.398op/s] or [+7.599%; +8.679%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope netcoreapp3.1

  • 🟩 throughput [+56390.748op/s; +75948.189op/s] or [+6.527%; +8.791%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan netcoreapp3.1

  • 🟩 throughput [+89496.879op/s; +96944.836op/s] or [+8.888%; +9.628%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net6.0

  • 🟩 throughput [+38397.945op/s; +43643.196op/s] or [+6.972%; +7.925%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net6.0

  • 🟩 throughput [+58107.607op/s; +78756.129op/s] or [+6.492%; +8.799%]

Known flaky benchmarks without significant changes:

  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net6.0
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net6.0
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark netcoreapp3.1
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice netcoreapp3.1
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog netcoreapp3.1
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net6.0
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive netcoreapp3.1
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net6.0
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes netcoreapp3.1
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

@bouwkast bouwkast marked this pull request as ready for review July 9, 2026 19:10
@bouwkast bouwkast requested a review from a team as a code owner July 9, 2026 19:10
@bouwkast bouwkast force-pushed the steven/debugger-DebuggerExpressionLanguageTests-flake-fix branch from 89655ee to 9bce671 Compare July 10, 2026 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant