Skip to content

Update OtlpSubmissionLogSink tests to be less flaky#8718

Merged
andrewlock merged 1 commit into
masterfrom
andrew/fix-otlp-logs-submission
Jun 2, 2026
Merged

Update OtlpSubmissionLogSink tests to be less flaky#8718
andrewlock merged 1 commit into
masterfrom
andrew/fix-otlp-logs-submission

Conversation

@andrewlock

Copy link
Copy Markdown
Member

Summary of changes

Refactor the OtlpSubmissionLogSink and OtlpSinkTests to remove flake

Reason for change

The tests are currently flaky, and there was some recent changes to work on this in #8696

Implementation details

Basically the same as #8696 and #8714 - don't start the background job, and just call the methods directly

Test coverage

Same coverage, now with less flake 🤞

@andrewlock
andrewlock force-pushed the andrew/fix-otlp-logs-submission branch from eeed2f9 to a0efedc Compare June 1, 2026 10:01
@andrewlock andrewlock changed the title Andrew/fix otlp logs submission Update OtlpSubmissionLogSink tests to be less flaky Jun 1, 2026
@dd-trace-dotnet-ci-bot

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8718) 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
duration73.28 ± (73.29 - 73.80) ms73.12 ± (73.21 - 73.64) ms-0.2%
.NET Framework 4.8 - Bailout
duration77.00 ± (76.82 - 77.17) ms76.35 ± (76.38 - 76.74) ms-0.8%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1100.72 ± (1100.56 - 1107.59) ms1104.22 ± (1102.35 - 1109.41) ms+0.3%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.52 ± (22.48 - 22.56) ms22.54 ± (22.49 - 22.58) ms+0.1%✅⬆️
process.time_to_main_ms84.58 ± (84.39 - 84.76) ms84.81 ± (84.59 - 85.03) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.93 ± (10.92 - 10.93) MB10.92 ± (10.92 - 10.92) MB-0.0%
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.53 ± (22.48 - 22.57) ms22.54 ± (22.48 - 22.60) ms+0.1%✅⬆️
process.time_to_main_ms86.50 ± (86.24 - 86.76) ms87.65 ± (87.32 - 87.98) ms+1.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.96 ± (10.95 - 10.96) MB10.95 ± (10.95 - 10.96) MB-0.0%
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms213.24 ± (212.25 - 214.22) ms213.20 ± (212.22 - 214.17) ms-0.0%
process.time_to_main_ms542.54 ± (541.20 - 543.89) ms541.43 ± (540.14 - 542.72) ms-0.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.59 ± (48.55 - 48.62) MB48.67 ± (48.64 - 48.70) MB+0.2%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.0%
.NET 6 - Baseline
process.internal_duration_ms21.36 ± (21.32 - 21.40) ms21.46 ± (21.41 - 21.51) ms+0.4%✅⬆️
process.time_to_main_ms74.15 ± (73.93 - 74.37) ms75.85 ± (75.59 - 76.11) ms+2.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.61 ± (10.61 - 10.61) MB10.63 ± (10.63 - 10.64) MB+0.2%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.55 ± (21.49 - 21.60) ms21.27 ± (21.23 - 21.31) ms-1.3%
process.time_to_main_ms77.00 ± (76.77 - 77.23) ms75.60 ± (75.41 - 75.79) ms-1.8%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.73 ± (10.73 - 10.74) MB10.75 ± (10.75 - 10.75) MB+0.1%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms370.86 ± (368.82 - 372.90) ms371.67 ± (369.56 - 373.79) ms+0.2%✅⬆️
process.time_to_main_ms550.14 ± (548.97 - 551.32) ms549.37 ± (547.99 - 550.75) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed50.00 ± (49.97 - 50.02) MB50.01 ± (49.99 - 50.04) MB+0.0%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.39 ± (19.35 - 19.42) ms19.41 ± (19.36 - 19.45) ms+0.1%✅⬆️
process.time_to_main_ms72.67 ± (72.50 - 72.85) ms73.05 ± (72.85 - 73.25) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.67 ± (7.66 - 7.67) MB7.66 ± (7.66 - 7.67) MB-0.1%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.55 ± (19.49 - 19.60) ms19.66 ± (19.61 - 19.70) ms+0.6%✅⬆️
process.time_to_main_ms75.37 ± (75.09 - 75.66) ms75.99 ± (75.75 - 76.23) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.72 ± (7.71 - 7.72) MB7.72 ± (7.71 - 7.72) MB-0.0%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms295.45 ± (293.29 - 297.61) ms297.92 ± (295.83 - 300.00) ms+0.8%✅⬆️
process.time_to_main_ms497.41 ± (496.16 - 498.66) ms495.11 ± (494.07 - 496.14) ms-0.5%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.01 ± (36.98 - 37.03) MB37.05 ± (37.02 - 37.08) MB+0.1%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)-0.5%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration197.05 ± (196.59 - 197.43) ms198.05 ± (197.52 - 198.49) ms+0.5%✅⬆️
.NET Framework 4.8 - Bailout
duration201.21 ± (200.61 - 201.52) ms202.32 ± (201.74 - 202.54) ms+0.6%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1191.73 ± (1192.24 - 1198.13) ms1199.27 ± (1200.00 - 1207.15) ms+0.6%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms192.97 ± (192.56 - 193.38) ms191.98 ± (191.52 - 192.43) ms-0.5%
process.time_to_main_ms83.72 ± (83.45 - 83.98) ms83.51 ± (83.24 - 83.78) ms-0.2%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.10 ± (16.07 - 16.12) MB16.07 ± (16.05 - 16.10) MB-0.1%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.2%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms192.62 ± (192.16 - 193.08) ms192.77 ± (192.26 - 193.28) ms+0.1%✅⬆️
process.time_to_main_ms84.46 ± (84.21 - 84.71) ms85.21 ± (84.94 - 85.49) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.13 ± (16.10 - 16.16) MB16.14 ± (16.10 - 16.17) MB+0.1%✅⬆️
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)-0.1%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms389.98 ± (388.79 - 391.16) ms383.97 ± (382.75 - 385.18) ms-1.5%
process.time_to_main_ms541.44 ± (540.18 - 542.69) ms536.19 ± (535.10 - 537.28) ms-1.0%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed57.79 ± (57.56 - 58.02) MB57.35 ± (57.21 - 57.50) MB-0.8%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.2%
.NET 6 - Baseline
process.internal_duration_ms196.60 ± (196.18 - 197.01) ms195.57 ± (195.10 - 196.04) ms-0.5%
process.time_to_main_ms71.89 ± (71.64 - 72.14) ms71.52 ± (71.32 - 71.72) ms-0.5%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.33 ± (16.30 - 16.36) MB16.39 ± (16.37 - 16.41) MB+0.4%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.3%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms195.93 ± (195.63 - 196.23) ms195.83 ± (195.34 - 196.31) ms-0.1%
process.time_to_main_ms72.73 ± (72.52 - 72.94) ms72.85 ± (72.62 - 73.07) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.31 ± (16.24 - 16.38) MB16.42 ± (16.39 - 16.44) MB+0.7%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+1.6%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms585.43 ± (582.87 - 587.98) ms584.94 ± (582.38 - 587.51) ms-0.1%
process.time_to_main_ms542.90 ± (541.93 - 543.86) ms542.25 ± (541.26 - 543.25) ms-0.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.16 ± (61.07 - 61.25) MB61.06 ± (60.99 - 61.12) MB-0.2%
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)+0.1%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms193.00 ± (192.57 - 193.44) ms193.83 ± (193.39 - 194.27) ms+0.4%✅⬆️
process.time_to_main_ms70.82 ± (70.58 - 71.05) ms71.40 ± (71.12 - 71.68) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.81 ± (11.78 - 11.84) MB11.78 ± (11.76 - 11.81) MB-0.2%
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)+0.1%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms193.30 ± (192.84 - 193.76) ms193.98 ± (193.46 - 194.50) ms+0.4%✅⬆️
process.time_to_main_ms72.28 ± (72.10 - 72.45) ms72.63 ± (72.41 - 72.84) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.77 ± (11.75 - 11.79) MB11.81 ± (11.79 - 11.82) MB+0.3%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.2%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms513.17 ± (510.61 - 515.73) ms513.05 ± (510.57 - 515.53) ms-0.0%
process.time_to_main_ms487.73 ± (486.94 - 488.51) ms490.06 ± (489.15 - 490.97) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.69 ± (50.65 - 50.73) MB50.65 ± (50.61 - 50.69) MB-0.1%
runtime.dotnet.threads.count30 ± (29 - 30)29 ± (29 - 29)-1.0%
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 (8718) - mean (73ms)  : 70, 77
    master - mean (74ms)  : 70, 77

    section Bailout
    This PR (8718) - mean (77ms)  : 75, 78
    master - mean (77ms)  : 75, 79

    section CallTarget+Inlining+NGEN
    This PR (8718) - mean (1,106ms)  : 1055, 1157
    master - mean (1,104ms)  : 1052, 1156

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 (8718) - mean (114ms)  : 110, 118
    master - mean (114ms)  : 111, 117

    section Bailout
    This PR (8718) - mean (117ms)  : 111, 124
    master - mean (116ms)  : 110, 122

    section CallTarget+Inlining+NGEN
    This PR (8718) - mean (791ms)  : 769, 813
    master - mean (792ms)  : 766, 817

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8718) - mean (104ms)  : 99, 109
    master - mean (102ms)  : 98, 106

    section Bailout
    This PR (8718) - mean (103ms)  : 100, 107
    master - mean (105ms)  : 101, 109

    section CallTarget+Inlining+NGEN
    This PR (8718) - mean (951ms)  : 909, 992
    master - mean (953ms)  : 912, 994

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8718) - mean (100ms)  : 96, 105
    master - mean (100ms)  : 96, 103

    section Bailout
    This PR (8718) - mean (103ms)  : 99, 107
    master - mean (103ms)  : 97, 109

    section CallTarget+Inlining+NGEN
    This PR (8718) - mean (821ms)  : 787, 856
    master - mean (825ms)  : 783, 868

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 (8718) - mean (198ms)  : 193, 203
    master - mean (197ms)  : 192, 202

    section Bailout
    This PR (8718) - mean (202ms)  : 198, 206
    master - mean (201ms)  : 197, 206

    section CallTarget+Inlining+NGEN
    This PR (8718) - mean (1,204ms)  : 1153, 1254
    master - mean (1,195ms)  : 1153, 1237

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 (8718) - mean (284ms)  : 274, 294
    master - mean (286ms)  : 280, 291

    section Bailout
    This PR (8718) - mean (287ms)  : 281, 293
    master - mean (286ms)  : 280, 292

    section CallTarget+Inlining+NGEN
    This PR (8718) - mean (960ms)  : 939, 981
    master - mean (970ms)  : 952, 988

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8718) - mean (276ms)  : 268, 284
    master - mean (277ms)  : 272, 283

    section Bailout
    This PR (8718) - mean (277ms)  : 270, 284
    master - mean (277ms)  : 273, 281

    section CallTarget+Inlining+NGEN
    This PR (8718) - mean (1,155ms)  : 1115, 1195
    master - mean (1,158ms)  : 1123, 1193

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8718) - mean (275ms)  : 269, 282
    master - mean (274ms)  : 269, 279

    section Bailout
    This PR (8718) - mean (277ms)  : 270, 284
    master - mean (275ms)  : 269, 281

    section CallTarget+Inlining+NGEN
    This PR (8718) - mean (1,034ms)  : 995, 1074
    master - mean (1,033ms)  : 991, 1076

Loading

@pr-commenter

pr-commenter Bot commented Jun 1, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-06-01 10:58:35

Comparing candidate commit a0efedc in PR branch andrew/fix-otlp-logs-submission with baseline commit 35eb88b in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 72 metrics, 0 unstable metrics, 61 known flaky benchmarks, 65 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 ----------------------------------'

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 [-7310.371op/s; -6498.651op/s] or [-8.668%; -7.705%]

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

  • 🟥 throughput [-8344.882op/s; -7029.847op/s] or [-8.485%; -7.148%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+305.944ms; +308.102ms] or [+151.820%; +152.891%]
  • 🟥 throughput [-54.328op/s; -50.437op/s] or [-9.775%; -9.075%]

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

  • 🟥 execution_time [+376.521ms; +379.714ms] or [+297.475%; +299.997%]
  • 🟩 throughput [+88.185op/s; +94.210op/s] or [+11.627%; +12.421%]

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

  • 🟥 execution_time [+393.384ms; +395.815ms] or [+348.130%; +350.281%]

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.346ms; -11.159ms] or [-7.167%; -5.212%]

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 [-315343.884op/s; -301883.005op/s] or [-32.198%; -30.824%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.557%; +38.566%]
  • 🟩 execution_time [-26.408ms; -21.571ms] or [-11.777%; -9.620%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • 🟥 throughput [-159760.105op/s; -143866.060op/s] or [-22.954%; -20.671%]

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

  • 🟩 throughput [+8174.650op/s; +11214.330op/s] or [+5.201%; +7.135%]

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

  • 🟩 throughput [+9476.485op/s; +12318.845op/s] or [+7.549%; +9.814%]

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

  • 🟩 throughput [+424582.052op/s; +451907.032op/s] or [+14.157%; +15.069%]

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

  • 🟩 execution_time [-18.665ms; -14.337ms] or [-8.604%; -6.609%]
  • 🟩 throughput [+172096.335op/s; +226470.723op/s] or [+6.831%; +8.989%]

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

  • 🟥 execution_time [+300.318ms; +300.971ms] or [+150.059%; +150.385%]

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

  • 🟥 execution_time [+300.171ms; +304.014ms] or [+151.377%; +153.315%]

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

  • 🟥 execution_time [+300.909ms; +304.122ms] or [+151.574%; +153.193%]

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

  • 🟥 execution_time [+297.359ms; +298.501ms] or [+146.051%; +146.612%]

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

  • 🟥 execution_time [+293.859ms; +296.234ms] or [+143.657%; +144.818%]

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

  • 🟥 execution_time [+301.838ms; +303.446ms] or [+150.858%; +151.662%]

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

  • 🟥 execution_time [+25.786µs; +53.059µs] or [+5.914%; +12.169%]
  • 🟥 throughput [-256.899op/s; -134.324op/s] or [-11.169%; -5.840%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark netcoreapp3.1

  • 🟥 throughput [-206.643op/s; -124.180op/s] or [-9.539%; -5.732%]

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

  • 🟥 execution_time [+44.609µs; +71.892µs] or [+14.241%; +22.952%]
  • 🟥 throughput [-614.451op/s; -395.229op/s] or [-19.154%; -12.320%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.649ms; +300.645ms] or [+149.556%; +150.053%]

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

  • 🟥 execution_time [+407.813ms; +414.342ms] or [+443.106%; +450.200%]
  • 🟩 throughput [+858.642op/s; +1023.249op/s] or [+7.056%; +8.408%]

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

  • 🟥 execution_time [+368.044ms; +371.734ms] or [+279.452%; +282.254%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 allocated_mem [+2.860KB; +2.865KB] or [+5.081%; +5.091%]
  • unstable execution_time [+295.604ms; +335.315ms] or [+135.916%; +154.175%]
  • 🟥 throughput [-489.507op/s; -454.236op/s] or [-44.354%; -41.158%]

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

  • unstable execution_time [+204.381ms; +337.690ms] or [+87.098%; +143.909%]
  • 🟥 throughput [-667.654op/s; -584.232op/s] or [-44.533%; -38.968%]

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

  • 🟥 execution_time [+340.818ms; +352.551ms] or [+203.849%; +210.867%]
  • 🟥 throughput [-469.415op/s; -433.232op/s] or [-32.685%; -30.165%]

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

  • 🟩 execution_time [-184.768µs; -130.317µs] or [-9.360%; -6.601%]
  • 🟩 throughput [+37.935op/s; +52.747op/s] or [+7.489%; +10.413%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+303.063ms; +304.792ms] or [+152.617%; +153.487%]

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

  • 🟥 execution_time [+300.962ms; +302.807ms] or [+150.813%; +151.737%]
  • 🟩 throughput [+36189.014op/s; +42109.643op/s] or [+5.706%; +6.639%]

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

  • 🟥 execution_time [+301.203ms; +304.431ms] or [+151.311%; +152.933%]
  • 🟩 throughput [+25211.728op/s; +34285.342op/s] or [+5.311%; +7.222%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+302.761ms; +304.884ms] or [+152.036%; +153.103%]

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

  • 🟥 execution_time [+298.308ms; +300.487ms] or [+147.500%; +148.577%]

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

  • 🟥 execution_time [+302.468ms; +306.072ms] or [+153.304%; +155.131%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+304.297ms; +307.034ms] or [+152.730%; +154.103%]

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

  • 🟥 execution_time [+302.444ms; +306.249ms] or [+150.741%; +152.637%]
  • 🟩 throughput [+51243.271op/s; +61052.676op/s] or [+10.175%; +12.123%]

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

  • 🟥 execution_time [+301.695ms; +304.525ms] or [+150.091%; +151.498%]

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

  • 🟩 execution_time [-16.108ms; -12.456ms] or [-7.490%; -5.792%]

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

  • unstable execution_time [+9.352µs; +53.434µs] or [+2.310%; +13.199%]

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

  • 🟩 allocated_mem [-18.553KB; -18.529KB] or [-6.768%; -6.759%]
  • unstable execution_time [-31.002µs; +26.577µs] or [-6.127%; +5.253%]

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

  • unstable execution_time [-38.414µs; +25.685µs] or [-6.657%; +4.451%]
  • unstable throughput [-63.362op/s; +116.925op/s] or [-3.620%; +6.680%]

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

  • unstable execution_time [+6.653µs; +12.198µs] or [+15.725%; +28.832%]
  • 🟥 throughput [-5114.459op/s; -3068.734op/s] or [-21.530%; -12.918%]

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

  • unstable execution_time [-14.142µs; -4.964µs] or [-21.940%; -7.702%]
  • unstable throughput [+1482.507op/s; +3377.196op/s] or [+9.096%; +20.720%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+303.332ms; +305.015ms] or [+153.321%; +154.171%]

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

  • 🟥 execution_time [+303.664ms; +306.010ms] or [+154.564%; +155.758%]

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

  • 🟥 execution_time [+299.897ms; +303.990ms] or [+150.135%; +152.185%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • 🟥 throughput [-20758.584op/s; -19484.287op/s] or [-5.747%; -5.394%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+301.036ms; +302.909ms] or [+150.040%; +150.973%]

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

  • 🟥 execution_time [+302.189ms; +303.344ms] or [+151.745%; +152.325%]
  • 🟩 throughput [+11897.937op/s; +13281.651op/s] or [+5.174%; +5.776%]

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

  • 🟥 execution_time [+303.656ms; +306.250ms] or [+153.995%; +155.310%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+299.737ms; +300.555ms] or [+149.510%; +149.918%]
  • 🟩 throughput [+61009145.437op/s; +61328100.843op/s] or [+44.431%; +44.663%]

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

  • 🟥 execution_time [+422.121ms; +426.605ms] or [+524.982%; +530.559%]

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

  • 🟥 execution_time [+299.424ms; +300.538ms] or [+149.346%; +149.902%]

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

  • 🟩 throughput [+62945.448op/s; +106576.604op/s] or [+5.877%; +9.951%]

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

  • 🟩 throughput [+69865.769op/s; +79321.291op/s] or [+6.939%; +7.878%]

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

  • 🟩 throughput [+42974.055op/s; +50149.718op/s] or [+7.803%; +9.106%]

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

  • 🟩 throughput [+22614.582op/s; +32774.228op/s] or [+5.062%; +7.336%]

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

  • 🟩 throughput [+102407.510op/s; +119386.135op/s] or [+11.441%; +13.338%]

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

@andrewlock
andrewlock enabled auto-merge (squash) June 2, 2026 12:18
@andrewlock
andrewlock merged commit ffe94ca into master Jun 2, 2026
138 checks passed
@andrewlock
andrewlock deleted the andrew/fix-otlp-logs-submission branch June 2, 2026 12:44
@github-actions github-actions Bot added this to the vNext-v3 milestone Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants