Skip to content

Add StartDependencies.Profiler to docker-compose.yml#8792

Merged
andrewlock merged 1 commit into
masterfrom
andrew/profiler-start-dependencies
Jun 16, 2026
Merged

Add StartDependencies.Profiler to docker-compose.yml#8792
andrewlock merged 1 commit into
masterfrom
andrew/profiler-start-dependencies

Conversation

@andrewlock

@andrewlock andrewlock commented Jun 16, 2026

Copy link
Copy Markdown
Member

Summary of changes

  • Add StartDependencies.Profiler to pipeline to ensure openldap is running before starting profiler tests
  • Also provides a hook for pre-pulling

Reason for change

Currently we're re-pulling openldap every time the pipeline runs, which can introduce flake

Implementation details

Copy the same pattern as we use for tracing dependencies

Test coverage

Other details

I'll update the VM building docs to make sure we pull these dependencies too

@andrewlock
andrewlock requested a review from a team as a code owner June 16, 2026 08:05
@andrewlock andrewlock added area:builds project files, build scripts, pipelines, versioning, releases, packages type:flake-fix labels Jun 16, 2026

@gleocadie gleocadie left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@dd-trace-dotnet-ci-bot

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8792) 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.39 ± (73.39 - 73.79) ms72.49 ± (72.44 - 72.72) ms-1.2%
.NET Framework 4.8 - Bailout
duration77.43 ± (77.34 - 77.79) ms77.15 ± (76.98 - 77.38) ms-0.4%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1086.36 ± (1087.68 - 1094.08) ms1095.64 ± (1097.59 - 1103.43) ms+0.9%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.76 ± (22.70 - 22.81) ms22.55 ± (22.51 - 22.60) ms-0.9%
process.time_to_main_ms86.14 ± (85.86 - 86.41) ms83.72 ± (83.54 - 83.89) ms-2.8%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.90 ± (10.90 - 10.91) MB10.92 ± (10.92 - 10.93) MB+0.2%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.41 ± (22.38 - 22.45) ms22.70 ± (22.65 - 22.75) ms+1.3%✅⬆️
process.time_to_main_ms84.86 ± (84.67 - 85.05) ms86.48 ± (86.21 - 86.74) ms+1.9%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.94 ± (10.94 - 10.95) MB10.97 ± (10.97 - 10.97) MB+0.2%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms213.93 ± (213.08 - 214.78) ms215.59 ± (214.63 - 216.55) ms+0.8%✅⬆️
process.time_to_main_ms540.78 ± (539.53 - 542.02) ms537.00 ± (535.68 - 538.32) ms-0.7%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.41 ± (48.38 - 48.44) MB48.32 ± (48.27 - 48.36) MB-0.2%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.1%
.NET 6 - Baseline
process.internal_duration_ms21.60 ± (21.56 - 21.64) ms21.13 ± (21.09 - 21.16) ms-2.2%
process.time_to_main_ms73.98 ± (73.73 - 74.23) ms72.65 ± (72.49 - 72.81) ms-1.8%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.62 ± (10.62 - 10.62) 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_ms21.54 ± (21.50 - 21.58) ms21.16 ± (21.13 - 21.20) ms-1.8%
process.time_to_main_ms75.07 ± (74.87 - 75.27) ms74.23 ± (74.05 - 74.41) ms-1.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.74 ± (10.74 - 10.74) MB10.75 ± (10.74 - 10.75) MB+0.1%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms367.20 ± (364.93 - 369.47) ms370.20 ± (367.97 - 372.43) ms+0.8%✅⬆️
process.time_to_main_ms548.43 ± (547.48 - 549.38) ms545.73 ± (544.54 - 546.92) ms-0.5%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.78 ± (49.76 - 49.80) MB49.74 ± (49.71 - 49.77) MB-0.1%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.2%
.NET 8 - Baseline
process.internal_duration_ms19.33 ± (19.29 - 19.38) ms19.70 ± (19.66 - 19.75) ms+1.9%✅⬆️
process.time_to_main_ms71.99 ± (71.82 - 72.15) ms73.57 ± (73.37 - 73.76) ms+2.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.69 ± (7.68 - 7.70) MB7.70 ± (7.69 - 7.71) MB+0.1%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.20 ± (19.15 - 19.25) ms19.54 ± (19.51 - 19.57) ms+1.8%✅⬆️
process.time_to_main_ms72.79 ± (72.61 - 72.96) ms73.58 ± (73.44 - 73.72) ms+1.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.73 ± (7.72 - 7.73) MB7.73 ± (7.72 - 7.74) MB+0.0%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms295.18 ± (292.93 - 297.43) ms296.62 ± (294.10 - 299.14) ms+0.5%✅⬆️
process.time_to_main_ms495.51 ± (494.55 - 496.48) ms495.29 ± (494.32 - 496.26) ms-0.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.88 ± (36.85 - 36.91) MB36.95 ± (36.92 - 36.97) MB+0.2%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)-0.7%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration197.89 ± (197.32 - 198.07) ms200.15 ± (199.57 - 200.45) ms+1.1%✅⬆️
.NET Framework 4.8 - Bailout
duration202.19 ± (201.76 - 202.65) ms203.67 ± (203.29 - 204.05) ms+0.7%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1187.50 ± (1188.66 - 1193.89) ms1191.34 ± (1191.80 - 1198.29) ms+0.3%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms191.74 ± (191.26 - 192.23) ms191.59 ± (191.07 - 192.11) ms-0.1%
process.time_to_main_ms82.46 ± (82.14 - 82.78) ms83.01 ± (82.66 - 83.37) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.07 ± (16.05 - 16.10) MB16.12 ± (16.09 - 16.15) MB+0.3%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.1%
.NET Core 3.1 - Bailout
process.internal_duration_ms190.81 ± (190.35 - 191.27) ms191.69 ± (191.19 - 192.18) ms+0.5%✅⬆️
process.time_to_main_ms83.69 ± (83.44 - 83.94) ms84.56 ± (84.27 - 84.85) ms+1.0%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.16 ± (16.13 - 16.18) MB16.19 ± (16.16 - 16.21) MB+0.2%✅⬆️
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (21 - 21)+0.2%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms383.34 ± (382.03 - 384.65) ms382.88 ± (381.63 - 384.13) ms-0.1%
process.time_to_main_ms532.54 ± (531.38 - 533.70) ms531.19 ± (530.11 - 532.27) ms-0.3%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed57.19 ± (57.07 - 57.32) MB57.19 ± (57.04 - 57.35) MB-0.0%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.4%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms196.95 ± (196.48 - 197.41) ms197.33 ± (196.81 - 197.84) ms+0.2%✅⬆️
process.time_to_main_ms71.99 ± (71.75 - 72.22) ms72.74 ± (72.46 - 73.01) ms+1.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.35 ± (16.33 - 16.38) MB16.45 ± (16.42 - 16.48) MB+0.6%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.2%
.NET 6 - Bailout
process.internal_duration_ms196.40 ± (195.97 - 196.83) ms196.39 ± (195.99 - 196.80) ms-0.0%
process.time_to_main_ms72.67 ± (72.44 - 72.90) ms73.41 ± (73.16 - 73.66) ms+1.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.45 ± (16.43 - 16.48) MB16.51 ± (16.49 - 16.54) MB+0.4%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.7%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms581.49 ± (578.76 - 584.21) ms582.33 ± (579.85 - 584.80) ms+0.1%✅⬆️
process.time_to_main_ms543.07 ± (542.18 - 543.97) ms543.17 ± (542.33 - 544.00) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed60.99 ± (60.91 - 61.06) MB61.04 ± (60.97 - 61.12) MB+0.1%✅⬆️
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)-0.0%
.NET 8 - Baseline
process.internal_duration_ms193.70 ± (193.23 - 194.17) ms193.04 ± (192.57 - 193.52) ms-0.3%
process.time_to_main_ms71.21 ± (70.95 - 71.47) ms71.16 ± (70.87 - 71.45) ms-0.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.72 ± (11.69 - 11.75) MB11.79 ± (11.76 - 11.82) MB+0.6%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)-0.1%
.NET 8 - Bailout
process.internal_duration_ms193.64 ± (193.15 - 194.14) ms194.50 ± (194.11 - 194.90) ms+0.4%✅⬆️
process.time_to_main_ms72.17 ± (71.93 - 72.42) ms72.77 ± (72.57 - 72.98) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.80 ± (11.78 - 11.82) MB11.85 ± (11.83 - 11.86) MB+0.4%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.0%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms511.16 ± (508.89 - 513.44) ms509.08 ± (506.91 - 511.25) ms-0.4%
process.time_to_main_ms492.91 ± (492.16 - 493.66) ms496.53 ± (495.44 - 497.63) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.55 ± (50.51 - 50.59) MB50.71 ± (50.67 - 50.75) MB+0.3%✅⬆️
runtime.dotnet.threads.count29 ± (29 - 29)30 ± (29 - 30)+1.1%✅⬆️
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 (8792) - mean (73ms)  : 71, 74
    master - mean (74ms)  : 71, 77

    section Bailout
    This PR (8792) - mean (77ms)  : 75, 80
    master - mean (78ms)  : 74, 81

    section CallTarget+Inlining+NGEN
    This PR (8792) - mean (1,101ms)  : 1059, 1142
    master - mean (1,091ms)  : 1044, 1137

Loading
FakeDbCommand (.NET Core 3.1)
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8792) - mean (114ms)  : 111, 117
    master - mean (116ms)  : 110, 122

    section Bailout
    This PR (8792) - mean (117ms)  : 113, 121
    master - mean (114ms)  : 111, 117

    section CallTarget+Inlining+NGEN
    This PR (8792) - mean (790ms)  : 768, 812
    master - mean (791ms)  : 769, 813

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8792) - mean (101ms)  : 97, 104
    master - mean (102ms)  : 98, 107

    section Bailout
    This PR (8792) - mean (103ms)  : 100, 105
    master - mean (103ms)  : 99, 107

    section CallTarget+Inlining+NGEN
    This PR (8792) - mean (948ms)  : 904, 991
    master - mean (945ms)  : 907, 983

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

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

    section CallTarget+Inlining+NGEN
    This PR (8792) - mean (824ms)  : 778, 870
    master - mean (820ms)  : 783, 856

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 (8792) - mean (200ms)  : 194, 206
    master - mean (198ms)  : 193, 202

    section Bailout
    This PR (8792) - mean (204ms)  : 200, 207
    master - mean (202ms)  : 198, 206

    section CallTarget+Inlining+NGEN
    This PR (8792) - mean (1,195ms)  : 1147, 1243
    master - mean (1,191ms)  : 1155, 1227

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 (8792) - mean (284ms)  : 277, 291
    master - mean (283ms)  : 276, 290

    section Bailout
    This PR (8792) - mean (286ms)  : 280, 292
    master - mean (283ms)  : 278, 289

    section CallTarget+Inlining+NGEN
    This PR (8792) - mean (956ms)  : 936, 976
    master - mean (955ms)  : 934, 976

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8792) - mean (280ms)  : 273, 286
    master - mean (277ms)  : 272, 283

    section Bailout
    This PR (8792) - mean (279ms)  : 273, 285
    master - mean (277ms)  : 272, 283

    section CallTarget+Inlining+NGEN
    This PR (8792) - mean (1,156ms)  : 1121, 1192
    master - mean (1,153ms)  : 1114, 1192

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

    section Bailout
    This PR (8792) - mean (278ms)  : 270, 285
    master - mean (276ms)  : 270, 281

    section CallTarget+Inlining+NGEN
    This PR (8792) - mean (1,039ms)  : 990, 1087
    master - mean (1,036ms)  : 989, 1082

Loading

@pr-commenter

pr-commenter Bot commented Jun 16, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-06-16 08:59:10

Comparing candidate commit 7c94597 in PR branch andrew/profiler-start-dependencies with baseline commit f308e58 in branch master.

📊 Benchmarking dashboard

Found 0 performance improvements and 2 performance regressions! Performance is the same for 70 metrics, 0 unstable metrics, 59 known flaky benchmarks, 67 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 [-24334.200op/s; -20218.244op/s] or [-6.854%; -5.694%]

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync net472

  • 🟥 throughput [-5798.206op/s; -5489.753op/s] or [-6.619%; -6.267%]

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 [-7255.618op/s; -6839.641op/s] or [-8.603%; -8.110%]

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

  • 🟥 throughput [-7606.165op/s; -6308.959op/s] or [-7.734%; -6.415%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+302.577ms; +308.139ms] or [+150.149%; +152.910%]
  • 🟥 throughput [-46.455op/s; -42.516op/s] or [-8.358%; -7.650%]

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

  • 🟥 execution_time [+381.276ms; +385.039ms] or [+301.231%; +304.205%]
  • 🟩 throughput [+86.028op/s; +92.366op/s] or [+11.342%; +12.178%]

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

  • 🟥 execution_time [+391.724ms; +394.229ms] or [+346.661%; +348.878%]

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.379ms; -12.183ms] or [-7.650%; -5.690%]
  • 🟩 throughput [+7505.675op/s; +10320.680op/s] or [+5.479%; +7.534%]

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 [-271268.411op/s; -267666.557op/s] or [-27.698%; -27.330%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.557%; +38.566%]
  • 🟩 execution_time [-27.330ms; -22.451ms] or [-12.188%; -10.012%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • 🟥 throughput [-168680.473op/s; -152711.935op/s] or [-24.236%; -21.942%]

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

  • 🟩 throughput [+10012.145op/s; +12948.720op/s] or [+6.371%; +8.239%]

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

  • 🟩 throughput [+9473.877op/s; +12128.067op/s] or [+7.547%; +9.662%]

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

  • 🟩 throughput [+451475.804op/s; +474535.753op/s] or [+15.054%; +15.823%]

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

  • 🟩 execution_time [-19.523ms; -15.154ms] or [-8.999%; -6.985%]
  • 🟩 throughput [+140006.549op/s; +195124.717op/s] or [+5.557%; +7.745%]

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

  • 🟥 execution_time [+299.807ms; +300.632ms] or [+149.803%; +150.216%]

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

  • 🟥 execution_time [+299.663ms; +303.451ms] or [+151.121%; +153.031%]

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

  • 🟥 execution_time [+299.038ms; +301.467ms] or [+150.632%; +151.856%]

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

  • 🟥 execution_time [+296.264ms; +297.262ms] or [+145.513%; +146.003%]

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

  • 🟥 execution_time [+294.741ms; +297.531ms] or [+144.088%; +145.452%]

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

  • 🟥 execution_time [+299.759ms; +303.990ms] or [+149.819%; +151.934%]

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

  • 🟥 execution_time [+20.604µs; +44.174µs] or [+6.578%; +14.102%]
  • 🟥 throughput [-413.578op/s; -215.194op/s] or [-12.892%; -6.708%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.846ms; +300.609ms] or [+149.654%; +150.035%]

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

  • 🟥 execution_time [+409.506ms; +417.580ms] or [+444.945%; +453.718%]
  • 🟩 throughput [+770.665op/s; +924.827op/s] or [+6.333%; +7.599%]

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

  • 🟥 execution_time [+369.171ms; +374.245ms] or [+280.308%; +284.161%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 allocated_mem [+2.824KB; +2.829KB] or [+5.017%; +5.026%]
  • unstable execution_time [+338.751ms; +385.058ms] or [+155.754%; +177.046%]
  • 🟥 throughput [-542.543op/s; -491.848op/s] or [-49.160%; -44.566%]

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

  • unstable execution_time [+204.590ms; +337.960ms] or [+87.188%; +144.024%]
  • 🟥 throughput [-674.366op/s; -590.646op/s] or [-44.980%; -39.396%]

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

  • 🟥 execution_time [+329.764ms; +338.061ms] or [+197.237%; +202.200%]
  • 🟥 throughput [-393.485op/s; -357.604op/s] or [-27.398%; -24.899%]

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

  • 🟩 execution_time [-139.359µs; -99.123µs] or [-7.059%; -5.021%]
  • 🟩 throughput [+27.664op/s; +39.031op/s] or [+5.461%; +7.705%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+301.118ms; +302.969ms] or [+151.637%; +152.569%]

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

  • 🟥 execution_time [+301.086ms; +302.989ms] or [+150.875%; +151.828%]

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

  • 🟥 execution_time [+302.006ms; +305.331ms] or [+151.715%; +153.385%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+302.260ms; +304.643ms] or [+151.785%; +152.981%]

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

  • 🟥 execution_time [+294.168ms; +314.063ms] or [+145.453%; +155.290%]

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

  • 🟥 execution_time [+303.210ms; +307.530ms] or [+153.680%; +155.869%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+302.026ms; +303.968ms] or [+151.590%; +152.565%]

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

  • 🟥 execution_time [+300.525ms; +304.014ms] or [+149.784%; +151.523%]
  • 🟩 throughput [+44568.017op/s; +55152.823op/s] or [+8.850%; +10.952%]

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

  • 🟥 execution_time [+300.517ms; +304.419ms] or [+149.505%; +151.446%]

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

  • 🟩 execution_time [-16.386ms; -12.724ms] or [-7.619%; -5.917%]

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

  • unstable execution_time [+7.388µs; +50.547µs] or [+1.825%; +12.485%]

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

  • 🟩 allocated_mem [-18.606KB; -18.584KB] or [-6.787%; -6.779%]
  • unstable execution_time [-36.528µs; +20.466µs] or [-7.220%; +4.045%]

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

  • 🟩 allocated_mem [-18.478KB; -18.459KB] or [-6.736%; -6.729%]
  • unstable execution_time [-51.011µs; +10.298µs] or [-8.840%; +1.785%]

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

  • unstable execution_time [+8.040µs; +12.379µs] or [+19.004%; +29.259%]
  • 🟥 throughput [-5492.104op/s; -3652.318op/s] or [-23.120%; -15.375%]

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

  • unstable execution_time [-14.673µs; -6.905µs] or [-22.765%; -10.713%]
  • unstable throughput [+1771.121op/s; +3461.919op/s] or [+10.866%; +21.240%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+302.594ms; +303.602ms] or [+152.948%; +153.458%]

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

  • 🟥 execution_time [+302.458ms; +305.211ms] or [+153.950%; +155.351%]

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

  • 🟥 execution_time [+299.828ms; +302.192ms] or [+150.101%; +151.284%]

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

  • 🟩 throughput [+27783.586op/s; +36862.246op/s] or [+5.259%; +6.977%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+300.311ms; +302.604ms] or [+149.678%; +150.821%]

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

  • 🟥 execution_time [+300.598ms; +301.707ms] or [+150.946%; +151.503%]
  • 🟩 throughput [+11594.222op/s; +13376.041op/s] or [+5.042%; +5.817%]

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

  • 🟥 execution_time [+303.293ms; +305.700ms] or [+153.811%; +155.031%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+299.300ms; +300.160ms] or [+149.293%; +149.722%]
  • 🟩 throughput [+65992547.340op/s; +66351920.573op/s] or [+48.060%; +48.322%]

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

  • unstable execution_time [+342.954ms; +400.928ms] or [+426.524%; +498.625%]

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

  • 🟥 execution_time [+298.860ms; +300.108ms] or [+149.064%; +149.687%]
  • 🟩 throughput [+14235920.950op/s; +17402785.498op/s] or [+6.306%; +7.708%]

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

  • 🟩 throughput [+76920.906op/s; +104791.821op/s] or [+7.182%; +9.784%]

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

  • 🟩 throughput [+75765.460op/s; +105789.831op/s] or [+5.864%; +8.188%]

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

  • 🟩 throughput [+71269.391op/s; +79647.040op/s] or [+7.078%; +7.910%]

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

  • 🟩 throughput [+51152.195op/s; +57529.353op/s] or [+9.288%; +10.446%]

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

  • 🟩 throughput [+81318.840op/s; +101825.346op/s] or [+9.085%; +11.376%]

Known flaky benchmarks without significant changes:

  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net6.0
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net6.0
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark netcoreapp3.1
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice 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.StartFinishScope netcoreapp3.1
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes netcoreapp3.1
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

@andrewlock
andrewlock enabled auto-merge (squash) June 16, 2026 09:35
@andrewlock
andrewlock merged commit bd6aff0 into master Jun 16, 2026
154 checks passed
@andrewlock
andrewlock deleted the andrew/profiler-start-dependencies branch June 16, 2026 17:15
@github-actions github-actions Bot added this to the vNext-v3 milestone Jun 16, 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 type:flake-fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants