Skip to content

[Tests] Handle UTF-16 output from ProcDump v12.01#8890

Merged
bouwkast merged 4 commits into
masterfrom
steven/try-disable-crash-dumps-in-ci
Jul 10, 2026
Merged

[Tests] Handle UTF-16 output from ProcDump v12.01#8890
bouwkast merged 4 commits into
masterfrom
steven/try-disable-crash-dumps-in-ci

Conversation

@bouwkast

@bouwkast bouwkast commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Summary of changes

Normalize ProcDump output before evaluating its startup and shutdown messages.

Reason for change

Windows x64 integration tests started hanging after the unversioned Microsoft download began serving ProcDump v12.01.

The test harness:

  1. Starts the instrumented process in a suspended state.
  2. Attaches ProcDump.
  3. Waits for ProcDump’s readiness message.
  4. Resumes the instrumented process.

ProcDump v12.01 emits redirected output as UTF-16. The test helper read this with embedded null characters, such as P\0r\0e\0s\0s.... Consequently, the exact readiness-message comparison failed and the instrumented process remained suspended indefinitely.

The same encoding change prevented the helper from recognizing the normal "Dump count not reached" shutdown message. It therefore treated normal shutdown as abnormal and logged ProcDump’s entire buffered exception history.

This primarily affected x64 tests because ProcDump crash monitoring is disabled for x86 tests.

Implementation details

  • Remove embedded null characters before comparing ProcDump’s readiness message.
  • Normalize buffered stdout and stderr after ProcDump exits.
  • Use normalized stdout for readiness and dump-count checks.
  • Log normalized output only when a dump occurred or ProcDump exited unexpectedly.

Output from older ProcDump versions is unchanged because removing null characters is a no-op.

Test coverage

Tested locally with:

Datadog.Trace.Security.IntegrationTests.AspNetCore5BlockingTemplatesJson.TestGet

  • ProcDump v12.0 with the original code: Passed without excessive ProcDump logging.
  • ProcDump v12.01 with the original code: Reproduced the hang. ProcDump attached successfully, but the target remained suspended with one thread and zero CPU.
  • ProcDump v12.01 with this change: Passed without logging the full ProcDump exception buffer.

Other details

This only changes test infrastructure behavior. Crash-dump monitoring remains enabled, and this change does not pin a ProcDump version.

#incident-57303

IIS x64 tests are hanging only change I see is
that procdump appears to have updated so trying
to disable this
@github-actions github-actions Bot added the area:builds project files, build scripts, pipelines, versioning, releases, packages label Jul 10, 2026
@dd-trace-dotnet-ci-bot

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

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8890) 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
duration72.94 ± (72.63 - 73.16) ms71.98 ± (71.92 - 72.54) ms-1.3%
.NET Framework 4.8 - Bailout
duration75.95 ± (75.94 - 76.41) ms73.75 ± (73.74 - 74.09) ms-2.9%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1080.09 ± (1078.52 - 1084.21) ms1074.38 ± (1075.40 - 1081.35) ms-0.5%
.NET Core 3.1 - Baseline
process.internal_duration_ms22.42 ± (22.38 - 22.47) ms22.29 ± (22.24 - 22.33) ms-0.6%
process.time_to_main_ms83.21 ± (82.97 - 83.44) ms81.86 ± (81.61 - 82.11) ms-1.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.93 ± (10.93 - 10.94) MB10.96 ± (10.96 - 10.97) MB+0.3%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.15 ± (22.11 - 22.18) ms21.91 ± (21.88 - 21.94) ms-1.1%
process.time_to_main_ms81.79 ± (81.61 - 81.98) ms81.48 ± (81.31 - 81.65) ms-0.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.98 ± (10.97 - 10.98) MB11.00 ± (10.99 - 11.00) MB+0.2%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms209.57 ± (208.62 - 210.53) ms208.88 ± (207.94 - 209.82) ms-0.3%
process.time_to_main_ms530.16 ± (529.13 - 531.19) ms531.07 ± (529.69 - 532.46) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.28 ± (49.25 - 49.31) MB49.37 ± (49.34 - 49.40) MB+0.2%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.3%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms20.83 ± (20.80 - 20.86) ms20.81 ± (20.78 - 20.84) ms-0.1%
process.time_to_main_ms69.62 ± (69.47 - 69.77) ms69.45 ± (69.33 - 69.58) ms-0.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.64 ± (10.64 - 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.66 ± (20.63 - 20.69) ms20.71 ± (20.68 - 20.75) ms+0.3%✅⬆️
process.time_to_main_ms70.29 ± (70.20 - 70.38) ms70.40 ± (70.29 - 70.52) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.75 ± (10.75 - 10.75) MB10.77 ± (10.76 - 10.77) MB+0.1%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms371.40 ± (368.79 - 374.00) ms373.58 ± (371.35 - 375.82) ms+0.6%✅⬆️
process.time_to_main_ms535.22 ± (534.06 - 536.38) ms535.99 ± (534.76 - 537.21) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed50.37 ± (50.34 - 50.39) MB50.32 ± (50.29 - 50.34) MB-0.1%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.1%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.22 ± (19.18 - 19.26) ms19.34 ± (19.30 - 19.38) ms+0.6%✅⬆️
process.time_to_main_ms70.76 ± (70.54 - 70.97) ms71.46 ± (71.24 - 71.67) ms+1.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.67 ± (7.66 - 7.67) MB7.68 ± (7.67 - 7.68) MB+0.1%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.09 ± (19.06 - 19.12) ms19.17 ± (19.13 - 19.21) ms+0.4%✅⬆️
process.time_to_main_ms71.20 ± (70.98 - 71.41) ms71.31 ± (71.04 - 71.57) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.73 ± (7.72 - 7.73) MB7.71 ± (7.71 - 7.72) MB-0.1%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms296.59 ± (294.11 - 299.07) ms298.95 ± (296.63 - 301.27) ms+0.8%✅⬆️
process.time_to_main_ms486.49 ± (485.39 - 487.60) ms483.96 ± (482.97 - 484.95) ms-0.5%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.80 ± (37.78 - 37.83) MB37.81 ± (37.78 - 37.83) MB+0.0%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.1%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration201.43 ± (201.24 - 202.16) ms202.14 ± (201.80 - 202.76) ms+0.4%✅⬆️
.NET Framework 4.8 - Bailout
duration204.09 ± (203.62 - 204.62) ms206.88 ± (206.48 - 207.35) ms+1.4%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1212.23 ± (1211.14 - 1217.44) ms1212.57 ± (1213.05 - 1219.18) ms+0.0%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms196.66 ± (196.17 - 197.16) ms195.56 ± (195.15 - 195.98) ms-0.6%
process.time_to_main_ms84.88 ± (84.62 - 85.15) ms85.20 ± (84.92 - 85.47) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.06 ± (16.04 - 16.08) MB16.05 ± (16.02 - 16.07) MB-0.1%
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (19 - 20)+0.0%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms193.84 ± (193.41 - 194.26) ms194.90 ± (194.48 - 195.32) ms+0.5%✅⬆️
process.time_to_main_ms85.72 ± (85.49 - 85.94) ms86.02 ± (85.83 - 86.22) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.19 ± (16.16 - 16.21) MB16.15 ± (16.13 - 16.18) MB-0.2%
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)-0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms388.20 ± (387.05 - 389.35) ms387.86 ± (386.72 - 389.01) ms-0.1%
process.time_to_main_ms544.95 ± (543.84 - 546.06) ms543.05 ± (542.07 - 544.03) ms-0.3%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.36 ± (58.15 - 58.56) MB58.41 ± (58.20 - 58.62) MB+0.1%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.3%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms201.03 ± (200.53 - 201.53) ms199.63 ± (199.13 - 200.12) ms-0.7%
process.time_to_main_ms73.73 ± (73.44 - 74.01) ms73.34 ± (73.12 - 73.56) ms-0.5%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.33 ± (16.30 - 16.36) MB16.37 ± (16.35 - 16.39) MB+0.2%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.7%
.NET 6 - Bailout
process.internal_duration_ms199.95 ± (199.46 - 200.43) ms199.47 ± (198.95 - 199.99) ms-0.2%
process.time_to_main_ms74.49 ± (74.25 - 74.73) ms74.62 ± (74.38 - 74.87) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.43 ± (16.41 - 16.45) MB16.43 ± (16.40 - 16.45) MB-0.0%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.0%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms585.42 ± (582.74 - 588.09) ms584.87 ± (582.13 - 587.61) ms-0.1%
process.time_to_main_ms552.65 ± (551.23 - 554.07) ms553.43 ± (552.47 - 554.39) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.48 ± (61.36 - 61.59) MB61.55 ± (61.45 - 61.65) MB+0.1%✅⬆️
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)+0.2%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms196.48 ± (196.06 - 196.89) ms198.03 ± (197.55 - 198.50) ms+0.8%✅⬆️
process.time_to_main_ms71.81 ± (71.54 - 72.09) ms72.63 ± (72.37 - 72.90) ms+1.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.82 ± (11.80 - 11.84) MB11.74 ± (11.72 - 11.76) MB-0.7%
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)+0.5%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms197.66 ± (197.14 - 198.17) ms198.34 ± (197.88 - 198.80) ms+0.3%✅⬆️
process.time_to_main_ms73.97 ± (73.75 - 74.20) ms74.47 ± (74.24 - 74.70) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.80 ± (11.78 - 11.82) MB11.78 ± (11.76 - 11.80) MB-0.2%
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (19 - 20)+0.3%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms513.56 ± (510.95 - 516.17) ms509.48 ± (506.84 - 512.11) ms-0.8%
process.time_to_main_ms503.25 ± (502.34 - 504.17) ms504.40 ± (503.58 - 505.21) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed51.12 ± (51.08 - 51.15) MB51.15 ± (51.12 - 51.19) MB+0.1%✅⬆️
runtime.dotnet.threads.count30 ± (29 - 30)30 ± (30 - 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 (8890) - mean (72ms)  : 67, 77
    master - mean (73ms)  : 69, 77

    section Bailout
    This PR (8890) - mean (74ms)  : 72, 76
    master - mean (76ms)  : 73, 80

    section CallTarget+Inlining+NGEN
    This PR (8890) - mean (1,078ms)  : 1036, 1121
    master - mean (1,081ms)  : 1041, 1122

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 (8890) - mean (111ms)  : 106, 116
    master - mean (113ms)  : 107, 119

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

    section CallTarget+Inlining+NGEN
    This PR (8890) - mean (779ms)  : 750, 808
    master - mean (776ms)  : 753, 799

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

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

    section CallTarget+Inlining+NGEN
    This PR (8890) - mean (941ms)  : 906, 977
    master - mean (936ms)  : 892, 981

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8890) - mean (98ms)  : 94, 103
    master - mean (97ms)  : 92, 103

    section Bailout
    This PR (8890) - mean (98ms)  : 93, 102
    master - mean (97ms)  : 93, 102

    section CallTarget+Inlining+NGEN
    This PR (8890) - mean (812ms)  : 777, 847
    master - mean (816ms)  : 769, 863

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 (8890) - mean (202ms)  : 196, 208
    master - mean (202ms)  : 196, 207

    section Bailout
    This PR (8890) - mean (207ms)  : 203, 211
    master - mean (204ms)  : 199, 209

    section CallTarget+Inlining+NGEN
    This PR (8890) - mean (1,216ms)  : 1171, 1261
    master - mean (1,214ms)  : 1169, 1260

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 (8890) - mean (291ms)  : 285, 297
    master - mean (291ms)  : 284, 299

    section Bailout
    This PR (8890) - mean (291ms)  : 285, 297
    master - mean (289ms)  : 283, 296

    section CallTarget+Inlining+NGEN
    This PR (8890) - mean (971ms)  : 945, 997
    master - mean (975ms)  : 952, 997

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8890) - mean (282ms)  : 275, 289
    master - mean (284ms)  : 279, 290

    section Bailout
    This PR (8890) - mean (283ms)  : 276, 291
    master - mean (284ms)  : 276, 291

    section CallTarget+Inlining+NGEN
    This PR (8890) - mean (1,172ms)  : 1138, 1206
    master - mean (1,169ms)  : 1132, 1207

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8890) - mean (281ms)  : 274, 288
    master - mean (278ms)  : 273, 284

    section Bailout
    This PR (8890) - mean (283ms)  : 277, 289
    master - mean (281ms)  : 276, 287

    section CallTarget+Inlining+NGEN
    This PR (8890) - mean (1,046ms)  : 1009, 1084
    master - mean (1,050ms)  : 1008, 1091

Loading

@github-actions github-actions Bot added the area:tests unit tests, integration tests label Jul 10, 2026
@bouwkast bouwkast changed the title Disable crashdumps in CI [Tests] Handle UTF-16 output from ProcDump v12.01 Jul 10, 2026
@pr-commenter

pr-commenter Bot commented Jul 10, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-07-10 17:01:34

Comparing candidate commit 836557d in PR branch steven/try-disable-crash-dumps-in-ci with baseline commit defe22f in branch master.

📊 Benchmarking dashboard

Found 0 performance improvements and 2 performance regressions! Performance is the same for 70 metrics, 0 unstable metrics, 60 known flaky benchmarks, 66 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.DbCommandBenchmark.ExecuteNonQuery net472

  • 🟥 throughput [-21777.814op/s; -18936.879op/s] or [-6.134%; -5.334%]

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync net472

  • 🟥 throughput [-6249.071op/s; -5865.838op/s] or [-7.134%; -6.696%]

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 [-8338.958op/s; -7691.792op/s] or [-9.888%; -9.120%]

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

  • 🟥 throughput [-7261.911op/s; -5816.794op/s] or [-7.384%; -5.914%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+318.424ms; +325.161ms] or [+158.013%; +161.356%]
  • 🟥 throughput [-43.959op/s; -40.366op/s] or [-7.909%; -7.263%]

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

  • 🟥 execution_time [+380.166ms; +383.322ms] or [+300.355%; +302.848%]
  • 🟩 throughput [+88.287op/s; +94.295op/s] or [+11.640%; +12.432%]

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

  • 🟥 execution_time [+397.386ms; +401.388ms] or [+351.672%; +355.213%]

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.936ms; -11.743ms] or [-7.443%; -5.484%]

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 [-259626.311op/s; -254984.807op/s] or [-26.509%; -26.035%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.557%; +38.566%]
  • 🟩 execution_time [-26.498ms; -21.625ms] or [-11.817%; -9.644%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • 🟥 throughput [-150710.713op/s; -134883.415op/s] or [-21.654%; -19.380%]

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

  • 🟩 throughput [+10442.054op/s; +13072.326op/s] or [+8.318%; +10.414%]

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

  • 🟩 throughput [+463605.012op/s; +479470.795op/s] or [+15.459%; +15.988%]

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

  • 🟩 execution_time [-19.077ms; -14.719ms] or [-8.794%; -6.785%]
  • 🟩 throughput [+162229.976op/s; +215763.813op/s] or [+6.439%; +8.564%]

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

  • 🟥 execution_time [+300.046ms; +300.893ms] or [+149.923%; +150.346%]

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

  • 🟥 execution_time [+299.456ms; +303.117ms] or [+151.017%; +152.863%]
  • 🟩 throughput [+672.009op/s; +890.021op/s] or [+5.140%; +6.807%]

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

  • 🟥 execution_time [+299.689ms; +302.219ms] or [+150.960%; +152.234%]

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

  • 🟥 execution_time [+296.706ms; +299.236ms] or [+145.730%; +146.973%]

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

  • 🟥 execution_time [+297.117ms; +300.368ms] or [+145.249%; +146.839%]

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

  • 🟥 execution_time [+298.749ms; +302.568ms] or [+149.315%; +151.223%]

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

  • 🟥 execution_time [+26.674µs; +51.159µs] or [+8.516%; +16.333%]
  • 🟥 throughput [-467.315op/s; -262.741op/s] or [-14.568%; -8.190%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.500ms; +300.267ms] or [+149.481%; +149.864%]

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

  • unstable execution_time [+409.319ms; +419.124ms] or [+444.742%; +455.396%]
  • 🟩 throughput [+823.010op/s; +995.772op/s] or [+6.763%; +8.182%]

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

  • unstable execution_time [+298.370ms; +351.961ms] or [+226.549%; +267.241%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • unstable execution_time [+332.819ms; +383.426ms] or [+153.027%; +176.296%]
  • 🟥 throughput [-525.800op/s; -478.224op/s] or [-47.643%; -43.332%]

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

  • unstable execution_time [+144.882ms; +290.060ms] or [+61.743%; +123.612%]
  • 🟥 throughput [-673.220op/s; -589.522op/s] or [-44.904%; -39.321%]

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

  • 🟥 execution_time [+332.332ms; +341.876ms] or [+198.773%; +204.482%]
  • 🟥 throughput [-387.903op/s; -350.724op/s] or [-27.009%; -24.420%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net6.0

  • 🟩 throughput [+27.658op/s; +44.044op/s] or [+5.460%; +8.695%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+305.532ms; +307.235ms] or [+153.860%; +154.718%]

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

  • 🟥 execution_time [+296.993ms; +302.040ms] or [+148.824%; +151.353%]

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

  • 🟥 execution_time [+303.778ms; +307.021ms] or [+152.605%; +154.234%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+302.253ms; +305.021ms] or [+151.782%; +153.172%]

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

  • 🟥 execution_time [+297.130ms; +300.100ms] or [+146.918%; +148.386%]

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

  • 🟥 execution_time [+303.840ms; +307.230ms] or [+153.999%; +155.718%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+300.717ms; +302.716ms] or [+150.933%; +151.936%]

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

  • 🟥 execution_time [+300.963ms; +304.130ms] or [+150.002%; +151.581%]
  • 🟩 throughput [+34752.421op/s; +44074.298op/s] or [+6.901%; +8.752%]

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

  • 🟥 execution_time [+300.515ms; +303.584ms] or [+149.504%; +151.031%]

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

  • 🟩 execution_time [-17.476ms; -13.785ms] or [-8.126%; -6.410%]

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

  • unstable execution_time [+12.532µs; +57.083µs] or [+3.095%; +14.100%]

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

  • 🟩 allocated_mem [-19.335KB; -19.313KB] or [-7.053%; -7.045%]
  • unstable execution_time [+13.694µs; +124.129µs] or [+2.707%; +24.533%]
  • unstable throughput [-278.510op/s; +12.598op/s] or [-13.898%; +0.629%]

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

  • unstable execution_time [-64.913µs; -4.780µs] or [-11.249%; -0.828%]

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

  • unstable execution_time [+5.167µs; +9.980µs] or [+12.213%; +23.589%]
  • 🟥 throughput [-4447.319op/s; -2522.261op/s] or [-18.722%; -10.618%]

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

  • unstable execution_time [-15.497µs; -8.185µs] or [-24.043%; -12.699%]
  • 🟩 throughput [+2111.279op/s; +3679.878op/s] or [+12.953%; +22.577%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+300.327ms; +301.842ms] or [+151.802%; +152.568%]

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

  • 🟥 execution_time [+304.206ms; +307.696ms] or [+154.840%; +156.616%]

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

  • 🟥 execution_time [+298.069ms; +300.454ms] or [+149.220%; +150.414%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net6.0

  • 🟩 throughput [+39848.530op/s; +45291.732op/s] or [+7.542%; +8.573%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+299.169ms; +300.988ms] or [+149.109%; +150.015%]

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

  • 🟥 execution_time [+300.869ms; +303.282ms] or [+151.082%; +152.294%]

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

  • 🟥 execution_time [+303.846ms; +306.247ms] or [+154.091%; +155.309%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+299.895ms; +300.859ms] or [+149.589%; +150.070%]
  • 🟩 throughput [+60910353.313op/s; +61205542.922op/s] or [+44.359%; +44.574%]

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

  • unstable execution_time [+326.863ms; +396.007ms] or [+406.512%; +492.505%]

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

  • 🟥 execution_time [+298.346ms; +299.607ms] or [+148.808%; +149.437%]

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

  • 🟩 throughput [+79624.294op/s; +120125.085op/s] or [+7.434%; +11.216%]

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

  • 🟩 throughput [+55764.992op/s; +75271.414op/s] or [+6.455%; +8.713%]

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

  • 🟩 throughput [+86447.090op/s; +115781.760op/s] or [+6.691%; +8.962%]

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

  • 🟩 throughput [+85211.136op/s; +92263.066op/s] or [+8.463%; +9.163%]

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

  • 🟩 throughput [+48962.009op/s; +56018.276op/s] or [+8.891%; +10.172%]

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

  • 🟩 throughput [+23746.807op/s; +33515.232op/s] or [+5.315%; +7.502%]

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

  • 🟩 throughput [+71124.630op/s; +90083.008op/s] or [+7.946%; +10.065%]

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.ObjectExtractorMoreComplexBody net6.0
  • 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 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 netcoreapp3.1
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

@bouwkast
bouwkast marked this pull request as ready for review July 10, 2026 17:02
@bouwkast
bouwkast requested a review from a team as a code owner July 10, 2026 17:02
@bouwkast
bouwkast enabled auto-merge (squash) July 10, 2026 17:16
@bouwkast
bouwkast merged commit 8f5b860 into master Jul 10, 2026
137 of 140 checks passed
@bouwkast
bouwkast deleted the steven/try-disable-crash-dumps-in-ci branch July 10, 2026 18:20
@github-actions github-actions Bot added this to the vNext-v3 milestone Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:builds project files, build scripts, pipelines, versioning, releases, packages area:tests unit tests, integration tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants