Skip to content

Trim experimental features flags#8789

Merged
andrewlock merged 1 commit into
masterfrom
andrew/trim-experimental-flags
Jun 17, 2026
Merged

Trim experimental features flags#8789
andrewlock merged 1 commit into
masterfrom
andrew/trim-experimental-flags

Conversation

@andrewlock

Copy link
Copy Markdown
Member

Summary of changes

Trims the "experimental features" entries, to ensure later comparisons aren't impacted

Reason for change

If we have multiple entries and they have whitespace, e.g. DD_TAGS , DD_SOME_FEATURE, then the individual tags aren't trimmed:

  • DD_TAGS
  • DD_SOME_FEATURE

And the Contains() calls will fail, and it won't be obvious why, so just trim.

Implementation details

Add a Trim() when parsing the entries in TraceSettings

Test coverage

Unit test for coverage

@andrewlock andrewlock added the area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations) label Jun 15, 2026
@andrewlock
andrewlock requested a review from a team as a code owner June 15, 2026 10:46
@datadog-datadog-prod-us1

This comment has been minimized.

@dd-trace-dotnet-ci-bot

dd-trace-dotnet-ci-bot Bot commented Jun 15, 2026

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8789) 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
duration71.82 ± (71.91 - 72.30) ms74.40 ± (74.16 - 74.74) ms+3.6%✅⬆️
.NET Framework 4.8 - Bailout
duration76.12 ± (76.12 - 76.47) ms77.30 ± (77.30 - 77.72) ms+1.5%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1094.12 ± (1094.07 - 1100.97) ms1087.17 ± (1086.71 - 1092.42) ms-0.6%
.NET Core 3.1 - Baseline
process.internal_duration_ms22.51 ± (22.47 - 22.54) ms22.77 ± (22.71 - 22.84) ms+1.2%✅⬆️
process.time_to_main_ms83.48 ± (83.30 - 83.67) ms86.05 ± (85.74 - 86.36) ms+3.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.90 ± (10.89 - 10.90) MB10.91 ± (10.91 - 10.92) MB+0.1%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.76 ± (22.70 - 22.82) ms22.24 ± (22.20 - 22.27) ms-2.3%
process.time_to_main_ms86.79 ± (86.50 - 87.08) ms84.71 ± (84.50 - 84.91) ms-2.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.93 ± (10.93 - 10.93) MB10.95 ± (10.95 - 10.96) MB+0.2%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms214.68 ± (213.70 - 215.67) ms215.07 ± (214.08 - 216.06) ms+0.2%✅⬆️
process.time_to_main_ms540.08 ± (538.55 - 541.62) ms544.65 ± (543.22 - 546.08) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.24 ± (48.21 - 48.28) MB48.42 ± (48.39 - 48.45) MB+0.4%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms21.23 ± (21.19 - 21.26) ms21.21 ± (21.17 - 21.25) ms-0.1%
process.time_to_main_ms72.82 ± (72.64 - 73.01) ms72.51 ± (72.35 - 72.66) ms-0.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.61 ± (10.60 - 10.61) MB10.62 ± (10.62 - 10.63) MB+0.2%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.49 ± (21.44 - 21.54) ms21.41 ± (21.36 - 21.45) ms-0.4%
process.time_to_main_ms75.79 ± (75.54 - 76.05) ms75.68 ± (75.48 - 75.88) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.72 ± (10.72 - 10.72) MB10.74 ± (10.74 - 10.74) MB+0.2%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms369.63 ± (367.26 - 372.01) ms371.51 ± (369.60 - 373.43) ms+0.5%✅⬆️
process.time_to_main_ms544.54 ± (543.21 - 545.88) ms546.60 ± (545.38 - 547.82) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.71 ± (49.68 - 49.73) MB49.80 ± (49.77 - 49.82) MB+0.2%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.1%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.36 ± (19.32 - 19.39) ms19.47 ± (19.43 - 19.51) ms+0.6%✅⬆️
process.time_to_main_ms71.56 ± (71.42 - 71.71) ms72.28 ± (72.14 - 72.42) ms+1.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.63 ± (7.63 - 7.63) MB7.69 ± (7.68 - 7.70) MB+0.8%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.32 ± (19.28 - 19.36) ms19.39 ± (19.36 - 19.43) ms+0.4%✅⬆️
process.time_to_main_ms72.50 ± (72.33 - 72.67) ms73.74 ± (73.56 - 73.92) ms+1.7%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.69 ± (7.69 - 7.70) MB7.72 ± (7.71 - 7.72) MB+0.3%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms296.70 ± (294.52 - 298.88) ms298.94 ± (296.61 - 301.26) ms+0.8%✅⬆️
process.time_to_main_ms494.61 ± (493.71 - 495.51) ms497.22 ± (496.29 - 498.15) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.83 ± (36.80 - 36.86) MB36.86 ± (36.83 - 36.89) MB+0.1%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.0%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration197.61 ± (196.99 - 197.88) ms197.80 ± (197.72 - 198.62) ms+0.1%✅⬆️
.NET Framework 4.8 - Bailout
duration201.15 ± (200.85 - 201.61) ms201.84 ± (201.45 - 202.26) ms+0.3%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1184.55 ± (1184.58 - 1190.34) ms1190.37 ± (1191.07 - 1198.02) ms+0.5%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms190.87 ± (190.45 - 191.29) ms191.25 ± (190.75 - 191.75) ms+0.2%✅⬆️
process.time_to_main_ms82.53 ± (82.30 - 82.76) ms82.55 ± (82.29 - 82.81) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.10 ± (16.07 - 16.13) MB16.14 ± (16.12 - 16.17) MB+0.3%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.1%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms191.21 ± (190.91 - 191.50) ms191.53 ± (191.09 - 191.96) ms+0.2%✅⬆️
process.time_to_main_ms83.84 ± (83.61 - 84.07) ms84.00 ± (83.75 - 84.25) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.16 ± (16.13 - 16.19) MB16.17 ± (16.14 - 16.20) MB+0.1%✅⬆️
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (20 - 21)+0.0%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms385.49 ± (384.13 - 386.85) ms385.11 ± (383.74 - 386.48) ms-0.1%
process.time_to_main_ms533.36 ± (532.15 - 534.57) ms535.42 ± (534.27 - 536.58) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed57.22 ± (57.06 - 57.38) MB57.35 ± (57.19 - 57.50) MB+0.2%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.1%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms196.52 ± (196.05 - 196.99) ms196.20 ± (195.75 - 196.66) ms-0.2%
process.time_to_main_ms71.59 ± (71.33 - 71.84) ms71.65 ± (71.36 - 71.93) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.45 ± (16.43 - 16.47) MB16.41 ± (16.38 - 16.44) MB-0.2%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.5%
.NET 6 - Bailout
process.internal_duration_ms195.51 ± (195.03 - 195.99) ms195.09 ± (194.63 - 195.55) ms-0.2%
process.time_to_main_ms72.81 ± (72.55 - 73.07) ms72.71 ± (72.53 - 72.89) ms-0.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.50 ± (16.47 - 16.52) MB16.50 ± (16.47 - 16.53) MB+0.0%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.0%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms587.97 ± (585.40 - 590.55) ms583.89 ± (581.52 - 586.26) ms-0.7%
process.time_to_main_ms541.16 ± (539.64 - 542.68) ms542.06 ± (541.06 - 543.07) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.10 ± (60.96 - 61.25) MB61.04 ± (60.97 - 61.11) MB-0.1%
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)-0.4%
.NET 8 - Baseline
process.internal_duration_ms195.10 ± (194.69 - 195.52) ms193.39 ± (192.83 - 193.95) ms-0.9%
process.time_to_main_ms71.86 ± (71.64 - 72.08) ms71.04 ± (70.81 - 71.27) ms-1.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.74 ± (11.71 - 11.77) MB11.73 ± (11.70 - 11.75) MB-0.1%
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)-0.3%
.NET 8 - Bailout
process.internal_duration_ms195.27 ± (194.81 - 195.73) ms192.75 ± (192.26 - 193.24) ms-1.3%
process.time_to_main_ms72.78 ± (72.55 - 73.01) ms72.02 ± (71.79 - 72.24) ms-1.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.75 ± (11.74 - 11.77) MB11.80 ± (11.78 - 11.82) MB+0.4%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.4%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms516.16 ± (513.47 - 518.85) ms513.26 ± (510.90 - 515.61) ms-0.6%
process.time_to_main_ms490.64 ± (489.87 - 491.41) ms489.06 ± (488.22 - 489.89) ms-0.3%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.58 ± (50.54 - 50.61) MB50.65 ± (50.62 - 50.69) MB+0.2%✅⬆️
runtime.dotnet.threads.count30 ± (29 - 30)29 ± (29 - 30)-0.2%
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 (8789) - mean (74ms)  : 70, 79
    master - mean (72ms)  : 69, 75

    section Bailout
    This PR (8789) - mean (78ms)  : 74, 81
    master - mean (76ms)  : 74, 78

    section CallTarget+Inlining+NGEN
    This PR (8789) - mean (1,090ms)  : 1047, 1132
    master - mean (1,098ms)  : 1048, 1147

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 (8789) - mean (116ms)  : 109, 122
    master - mean (113ms)  : 109, 117

    section Bailout
    This PR (8789) - mean (114ms)  : 111, 117
    master - mean (116ms)  : 111, 122

    section CallTarget+Inlining+NGEN
    This PR (8789) - mean (797ms)  : 769, 825
    master - mean (792ms)  : 772, 812

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8789) - mean (100ms)  : 97, 103
    master - mean (100ms)  : 97, 104

    section Bailout
    This PR (8789) - mean (104ms)  : 100, 108
    master - mean (104ms)  : 100, 108

    section CallTarget+Inlining+NGEN
    This PR (8789) - mean (944ms)  : 911, 977
    master - mean (945ms)  : 894, 996

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

    section Bailout
    This PR (8789) - mean (101ms)  : 99, 103
    master - mean (99ms)  : 97, 102

    section CallTarget+Inlining+NGEN
    This PR (8789) - mean (826ms)  : 782, 869
    master - mean (824ms)  : 779, 869

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

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

    section CallTarget+Inlining+NGEN
    This PR (8789) - mean (1,195ms)  : 1144, 1245
    master - mean (1,187ms)  : 1149, 1226

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 (8789) - mean (282ms)  : 273, 292
    master - mean (282ms)  : 277, 287

    section Bailout
    This PR (8789) - mean (284ms)  : 278, 291
    master - mean (283ms)  : 279, 288

    section CallTarget+Inlining+NGEN
    This PR (8789) - mean (961ms)  : 934, 987
    master - mean (958ms)  : 935, 981

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

    section Bailout
    This PR (8789) - mean (276ms)  : 271, 282
    master - mean (276ms)  : 269, 284

    section CallTarget+Inlining+NGEN
    This PR (8789) - mean (1,154ms)  : 1112, 1197
    master - mean (1,157ms)  : 1133, 1181

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8789) - mean (274ms)  : 268, 281
    master - mean (277ms)  : 271, 283

    section Bailout
    This PR (8789) - mean (275ms)  : 269, 281
    master - mean (278ms)  : 271, 285

    section CallTarget+Inlining+NGEN
    This PR (8789) - mean (1,034ms)  : 996, 1073
    master - mean (1,039ms)  : 998, 1080

Loading

@andrewlock
andrewlock force-pushed the andrew/trim-experimental-flags branch from 13b2266 to 73b7ce1 Compare June 15, 2026 15:39
@pr-commenter

pr-commenter Bot commented Jun 15, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-06-15 17:04:17

Comparing candidate commit 73b7ce1 in PR branch andrew/trim-experimental-flags with baseline commit f308e58 in branch master.

📊 Benchmarking dashboard

Found 1 performance improvements and 1 performance regressions! Performance is the same for 70 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 ----------------------------------'

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TracerBenchmark.StartActiveSpan net472

  • 🟩 throughput [+9538.202op/s; +10398.712op/s] or [+5.105%; +5.566%]

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync net472

  • 🟥 throughput [-5029.995op/s; -4652.590op/s] or [-5.742%; -5.311%]

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 [-7828.281op/s; -6933.338op/s] or [-9.282%; -8.221%]

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

  • 🟥 throughput [-6636.012op/s; -5474.977op/s] or [-6.747%; -5.567%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+299.516ms; +301.445ms] or [+148.630%; +149.588%]
  • 🟥 throughput [-47.720op/s; -43.935op/s] or [-8.586%; -7.905%]

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

  • 🟥 execution_time [+382.251ms; +383.668ms] or [+302.002%; +303.122%]
  • 🟩 throughput [+88.192op/s; +90.604op/s] or [+11.628%; +11.946%]

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

  • 🟥 execution_time [+394.029ms; +396.058ms] or [+348.701%; +350.496%]

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 [-16.247ms; -12.058ms] or [-7.588%; -5.631%]

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 [-268991.535op/s; -265674.724op/s] or [-27.465%; -27.127%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.557%; +38.566%]
  • 🟩 execution_time [-26.900ms; -22.019ms] or [-11.996%; -9.819%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • 🟥 throughput [-155463.354op/s; -139676.413op/s] or [-22.337%; -20.069%]

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

  • 🟩 throughput [+7509.177op/s; +10225.574op/s] or [+5.982%; +8.146%]

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

  • 🟩 throughput [+409997.199op/s; +427131.731op/s] or [+13.671%; +14.242%]

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

  • 🟩 execution_time [-17.843ms; -13.209ms] or [-8.225%; -6.089%]
  • 🟩 throughput [+136655.549op/s; +192643.989op/s] or [+5.424%; +7.647%]

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

  • 🟥 execution_time [+299.148ms; +300.072ms] or [+149.474%; +149.936%]

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

  • 🟥 execution_time [+299.045ms; +303.131ms] or [+150.809%; +152.869%]

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

  • 🟥 execution_time [+299.737ms; +302.647ms] or [+150.984%; +152.450%]

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

  • 🟥 execution_time [+296.730ms; +297.959ms] or [+145.742%; +146.346%]

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

  • 🟥 execution_time [+294.703ms; +298.698ms] or [+144.070%; +146.023%]

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

  • 🟥 execution_time [+297.454ms; +300.144ms] or [+148.667%; +150.012%]

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

  • 🟥 execution_time [+22.040µs; +45.730µs] or [+7.036%; +14.599%]
  • 🟥 throughput [-426.095op/s; -226.776op/s] or [-13.283%; -7.069%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.980ms; +300.788ms] or [+149.721%; +150.124%]

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

  • 🟥 execution_time [+408.893ms; +416.608ms] or [+444.279%; +452.662%]
  • 🟩 throughput [+709.547op/s; +924.323op/s] or [+5.830%; +7.595%]

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

  • unstable execution_time [+297.076ms; +349.889ms] or [+225.567%; +265.668%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 allocated_mem [+2.860KB; +2.865KB] or [+5.081%; +5.091%]
  • unstable execution_time [+328.703ms; +386.830ms] or [+151.134%; +177.861%]
  • 🟥 throughput [-546.084op/s; -497.718op/s] or [-49.481%; -45.098%]

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

  • unstable execution_time [+202.713ms; +335.974ms] or [+86.388%; +143.178%]
  • 🟥 throughput [-671.156op/s; -587.665op/s] or [-44.766%; -39.197%]

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

  • 🟥 execution_time [+347.111ms; +356.768ms] or [+207.613%; +213.389%]
  • 🟥 throughput [-411.550op/s; -375.979op/s] or [-28.656%; -26.179%]

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

  • 🟩 execution_time [-174.699µs; -109.842µs] or [-8.850%; -5.564%]
  • 🟩 throughput [+32.712op/s; +49.815op/s] or [+6.458%; +9.834%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+301.132ms; +304.271ms] or [+151.644%; +153.225%]

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

  • 🟥 execution_time [+300.403ms; +303.761ms] or [+150.533%; +152.215%]

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

  • 🟥 execution_time [+301.948ms; +305.841ms] or [+151.686%; +153.642%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+301.975ms; +303.619ms] or [+151.642%; +152.467%]

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

  • 🟥 execution_time [+298.380ms; +301.076ms] or [+147.536%; +148.869%]

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

  • 🟥 execution_time [+303.217ms; +307.326ms] or [+153.684%; +155.766%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+302.592ms; +304.238ms] or [+151.874%; +152.700%]

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

  • unstable execution_time [+297.825ms; +318.674ms] or [+148.438%; +158.830%]
  • 🟩 throughput [+37415.617op/s; +53077.359op/s] or [+7.430%; +10.539%]

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

  • 🟥 execution_time [+301.056ms; +303.610ms] or [+149.773%; +151.043%]

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

  • 🟩 execution_time [-16.912ms; -13.247ms] or [-7.864%; -6.160%]
  • 🟩 throughput [+19805.196op/s; +26403.598op/s] or [+5.433%; +7.243%]

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

  • unstable execution_time [+12.857µs; +57.278µs] or [+3.176%; +14.148%]

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

  • 🟩 allocated_mem [-20.321KB; -20.297KB] or [-7.412%; -7.404%]
  • unstable execution_time [-27810.862ns; +29545.620ns] or [-5.497%; +5.840%]
  • unstable throughput [-107.325op/s; +94.095op/s] or [-5.356%; +4.695%]

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

  • unstable execution_time [-39.038µs; +24.541µs] or [-6.765%; +4.253%]
  • unstable throughput [-60.276op/s; +115.332op/s] or [-3.444%; +6.589%]

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

  • unstable execution_time [+7.551µs; +12.320µs] or [+17.848%; +29.120%]
  • 🟥 throughput [-5365.351op/s; -3451.032op/s] or [-22.586%; -14.528%]

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

  • unstable execution_time [-12.652µs; -4.034µs] or [-19.629%; -6.259%]
  • unstable throughput [+1025.274op/s; +2879.395op/s] or [+6.290%; +17.666%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+300.187ms; +301.596ms] or [+151.731%; +152.443%]

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

  • 🟥 execution_time [+304.044ms; +307.404ms] or [+154.757%; +156.468%]

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

  • 🟥 execution_time [+298.728ms; +300.735ms] or [+149.550%; +150.555%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • 🟥 throughput [-31750.075op/s; -27437.852op/s] or [-8.789%; -7.596%]

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

  • 🟩 throughput [+45017.809op/s; +55168.026op/s] or [+8.521%; +10.442%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+296.942ms; +299.111ms] or [+147.999%; +149.080%]

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

  • 🟥 execution_time [+299.743ms; +300.949ms] or [+150.517%; +151.122%]

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

  • 🟥 execution_time [+303.082ms; +305.500ms] or [+153.703%; +154.930%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+298.935ms; +300.069ms] or [+149.110%; +149.676%]
  • 🟩 throughput [+66022383.343op/s; +66380564.158op/s] or [+48.082%; +48.342%]

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

  • 🟥 execution_time [+418.691ms; +423.367ms] or [+520.716%; +526.532%]

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

  • 🟥 execution_time [+299.747ms; +301.105ms] or [+149.507%; +150.184%]
  • 🟩 throughput [+18000521.738op/s; +18989549.967op/s] or [+7.973%; +8.411%]

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

  • 🟩 throughput [+76737.876op/s; +92067.176op/s] or [+7.165%; +8.596%]

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

  • 🟩 throughput [+58412.980op/s; +77348.980op/s] or [+6.761%; +8.953%]

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

  • 🟩 throughput [+87780.980op/s; +117337.958op/s] or [+6.794%; +9.082%]

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

  • 🟩 throughput [+86426.263op/s; +95364.471op/s] or [+8.584%; +9.471%]

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

  • 🟩 throughput [+52867.528op/s; +60038.646op/s] or [+9.600%; +10.902%]

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

  • 🟩 throughput [+27699.363op/s; +37324.777op/s] or [+6.200%; +8.355%]

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

  • 🟩 throughput [+77189.696op/s; +95046.213op/s] or [+8.624%; +10.619%]

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 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

@andrewlock
andrewlock merged commit 70bd773 into master Jun 17, 2026
140 checks passed
@andrewlock
andrewlock deleted the andrew/trim-experimental-flags branch June 17, 2026 08:31
@github-actions github-actions Bot added this to the vNext-v3 milestone Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants