Skip to content

Conversation

@NachoEchevarria
Copy link
Collaborator

Summary of changes

The following jobs we detected as flaky (pipeline failures / last month):

profiler_integration_tests_linux | Test alpine | 34
profiler_integration_tests_windows | Win x86 | 7
profiler_integration_tests_windows | Win x64 | 6

The complete flakiness report can be found here:
https://docs.google.com/spreadsheets/d/1Gftmhb-66Dag4qFEXw9tyXp7U0fOQsdCE2gI-1voWyA/edit?gid=1708590243#gid=1708590243

The affected jobs will be retried on error. This PR can be reverted after handling flaky errors.

Reason for change

Implementation details

Test coverage

Other details

@github-actions github-actions bot added the area:builds project files, build scripts, pipelines, versioning, releases, packages label Dec 23, 2025
@NachoEchevarria NachoEchevarria marked this pull request as ready for review December 23, 2025 13:31
@NachoEchevarria NachoEchevarria requested a review from a team as a code owner December 23, 2025 13:31
@dd-trace-dotnet-ci-bot
Copy link

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8002) 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
duration68.23 ± (68.22 - 68.45) ms68.37 ± (68.42 - 68.64) ms+0.2%✅⬆️
.NET Framework 4.8 - Bailout
duration71.92 ± (71.95 - 72.15) ms72.12 ± (72.10 - 72.32) ms+0.3%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1003.60 ± (1003.70 - 1009.77) ms1001.65 ± (1006.53 - 1013.91) ms-0.2%
.NET Core 3.1 - Baseline
process.internal_duration_ms21.88 ± (21.86 - 21.91) ms21.97 ± (21.94 - 22.01) ms+0.4%✅⬆️
process.time_to_main_ms78.35 ± (78.22 - 78.47) ms78.79 ± (78.63 - 78.94) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.89 ± (10.89 - 10.90) MB10.96 ± (10.95 - 10.96) MB+0.6%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms21.85 ± (21.82 - 21.88) ms21.84 ± (21.82 - 21.87) ms-0.0%
process.time_to_main_ms79.87 ± (79.77 - 79.97) ms79.91 ± (79.77 - 80.04) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.95 ± (10.94 - 10.95) MB10.98 ± (10.97 - 10.98) MB+0.3%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms212.36 ± (210.20 - 214.53) ms210.81 ± (209.34 - 212.28) ms-0.7%
process.time_to_main_ms471.24 ± (470.64 - 471.85) ms471.58 ± (470.94 - 472.23) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.05 ± (48.03 - 48.07) MB48.11 ± (48.09 - 48.13) MB+0.1%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%
.NET 6 - Baseline
process.internal_duration_ms20.64 ± (20.61 - 20.66) ms20.61 ± (20.59 - 20.64) ms-0.1%
process.time_to_main_ms68.03 ± (67.91 - 68.16) ms68.24 ± (68.12 - 68.36) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.60 ± (10.60 - 10.60) MB10.64 ± (10.63 - 10.64) MB+0.3%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms20.51 ± (20.49 - 20.54) ms20.49 ± (20.47 - 20.51) ms-0.1%
process.time_to_main_ms68.70 ± (68.64 - 68.77) ms68.95 ± (68.88 - 69.01) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.65 ± (10.64 - 10.65) MB10.69 ± (10.69 - 10.70) MB+0.4%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms198.29 ± (197.25 - 199.34) ms200.24 ± (199.15 - 201.33) ms+1.0%✅⬆️
process.time_to_main_ms439.45 ± (438.43 - 440.46) ms437.97 ± (437.41 - 438.53) ms-0.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.25 ± (48.18 - 48.32) MB48.34 ± (48.27 - 48.41) MB+0.2%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.2%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms18.86 ± (18.84 - 18.88) ms18.85 ± (18.83 - 18.87) ms-0.0%
process.time_to_main_ms67.04 ± (66.93 - 67.15) ms66.87 ± (66.78 - 66.96) ms-0.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.65 ± (7.64 - 7.65) MB7.70 ± (7.69 - 7.71) MB+0.7%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms18.80 ± (18.77 - 18.83) ms18.78 ± (18.75 - 18.80) ms-0.1%
process.time_to_main_ms67.91 ± (67.86 - 67.97) ms67.99 ± (67.92 - 68.06) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.73 ± (7.72 - 7.74) MB7.74 ± (7.73 - 7.75) MB+0.2%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms179.27 ± (178.34 - 180.20) ms178.43 ± (177.53 - 179.33) ms-0.5%
process.time_to_main_ms423.92 ± (423.18 - 424.67) ms423.92 ± (423.38 - 424.46) ms-0.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.29 ± (36.26 - 36.32) MB36.30 ± (36.27 - 36.34) MB+0.0%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)-0.1%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration192.99 ± (192.95 - 193.82) ms192.77 ± (192.92 - 193.81) ms-0.1%
.NET Framework 4.8 - Bailout
duration195.89 ± (196.03 - 196.62) ms196.76 ± (196.55 - 197.01) ms+0.4%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1105.69 ± (1107.88 - 1114.93) ms1106.68 ± (1108.54 - 1114.85) ms+0.1%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms187.50 ± (187.10 - 187.90) ms188.15 ± (187.74 - 188.56) ms+0.3%✅⬆️
process.time_to_main_ms80.55 ± (80.34 - 80.76) ms80.94 ± (80.72 - 81.16) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.06 ± (16.03 - 16.09) MB16.12 ± (16.10 - 16.14) MB+0.4%✅⬆️
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (20 - 20)+0.8%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms187.30 ± (186.97 - 187.62) ms187.69 ± (187.38 - 188.01) ms+0.2%✅⬆️
process.time_to_main_ms81.92 ± (81.78 - 82.06) ms82.05 ± (81.90 - 82.20) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.15 ± (16.12 - 16.18) MB16.15 ± (16.13 - 16.18) MB+0.0%✅⬆️
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)-0.3%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms395.33 ± (392.99 - 397.67) ms400.14 ± (397.12 - 403.17) ms+1.2%✅⬆️
process.time_to_main_ms474.27 ± (473.65 - 474.90) ms473.30 ± (472.67 - 473.93) ms-0.2%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.60 ± (58.46 - 58.74) MB58.43 ± (58.29 - 58.57) MB-0.3%
runtime.dotnet.threads.count29 ± (29 - 30)29 ± (29 - 29)-0.2%
.NET 6 - Baseline
process.internal_duration_ms191.85 ± (191.49 - 192.21) ms191.83 ± (191.52 - 192.14) ms-0.0%
process.time_to_main_ms69.69 ± (69.52 - 69.86) ms69.62 ± (69.45 - 69.78) ms-0.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.11 ± (15.97 - 16.26) MB15.94 ± (15.78 - 16.10) MB-1.1%
runtime.dotnet.threads.count18 ± (18 - 19)18 ± (18 - 18)-0.5%
.NET 6 - Bailout
process.internal_duration_ms190.87 ± (190.57 - 191.17) ms191.05 ± (190.74 - 191.36) ms+0.1%✅⬆️
process.time_to_main_ms70.68 ± (70.56 - 70.80) ms70.76 ± (70.69 - 70.83) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed15.94 ± (15.78 - 16.11) MB15.98 ± (15.82 - 16.14) MB+0.2%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.6%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms408.43 ± (406.42 - 410.44) ms408.13 ± (406.09 - 410.17) ms-0.1%
process.time_to_main_ms445.34 ± (444.69 - 445.98) ms445.27 ± (444.68 - 445.87) ms-0.0%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed59.06 ± (58.92 - 59.21) MB59.17 ± (59.04 - 59.30) MB+0.2%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.1%
.NET 8 - Baseline
process.internal_duration_ms189.77 ± (189.42 - 190.13) ms190.32 ± (189.93 - 190.70) ms+0.3%✅⬆️
process.time_to_main_ms69.48 ± (69.32 - 69.65) ms69.67 ± (69.48 - 69.86) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.78 ± (11.74 - 11.81) MB11.70 ± (11.67 - 11.73) MB-0.6%
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)+0.0%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms189.22 ± (188.88 - 189.56) ms189.19 ± (188.92 - 189.47) ms-0.0%
process.time_to_main_ms70.40 ± (70.30 - 70.49) ms70.45 ± (70.35 - 70.56) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.82 ± (11.76 - 11.89) MB11.81 ± (11.78 - 11.84) MB-0.1%
runtime.dotnet.threads.count19 ± (18 - 19)19 ± (19 - 19)+2.8%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms364.58 ± (363.15 - 366.01) ms364.37 ± (362.75 - 366.00) ms-0.1%
process.time_to_main_ms429.08 ± (428.33 - 429.82) ms427.78 ± (427.19 - 428.37) ms-0.3%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed47.96 ± (47.93 - 47.99) MB47.97 ± (47.95 - 48.00) MB+0.0%✅⬆️
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 29)+0.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 (8002) - mean (69ms)  : 67, 70
    master - mean (68ms)  : 67, 70

    section Bailout
    This PR (8002) - mean (72ms)  : 71, 73
    master - mean (72ms)  : 71, 73

    section CallTarget+Inlining+NGEN
    This PR (8002) - mean (1,010ms)  : 956, 1064
    master - mean (1,007ms)  : 964, 1050

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 (8002) - mean (106ms)  : 103, 109
    master - mean (105ms)  : 103, 108

    section Bailout
    This PR (8002) - mean (107ms)  : 105, 109
    master - mean (107ms)  : 106, 108

    section CallTarget+Inlining+NGEN
    This PR (8002) - mean (713ms)  : 675, 751
    master - mean (712ms)  : 677, 747

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8002) - mean (94ms)  : 91, 96
    master - mean (93ms)  : 92, 95

    section Bailout
    This PR (8002) - mean (94ms)  : 93, 95
    master - mean (94ms)  : 93, 95

    section CallTarget+Inlining+NGEN
    This PR (8002) - mean (665ms)  : 644, 685
    master - mean (671ms)  : 624, 719

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8002) - mean (92ms)  : 90, 94
    master - mean (92ms)  : 89, 95

    section Bailout
    This PR (8002) - mean (93ms)  : 91, 94
    master - mean (93ms)  : 91, 94

    section CallTarget+Inlining+NGEN
    This PR (8002) - mean (629ms)  : 614, 644
    master - mean (631ms)  : 617, 644

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 (8002) - mean (193ms)  : 188, 199
    master - mean (193ms)  : 189, 198

    section Bailout
    This PR (8002) - mean (197ms)  : 195, 199
    master - mean (196ms)  : 194, 199

    section CallTarget+Inlining+NGEN
    This PR (8002) - mean (1,112ms)  : 1066, 1157
    master - mean (1,111ms)  : 1061, 1162

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 (8002) - mean (278ms)  : 271, 285
    master - mean (277ms)  : 272, 281

    section Bailout
    This PR (8002) - mean (278ms)  : 274, 282
    master - mean (277ms)  : 274, 281

    section CallTarget+Inlining+NGEN
    This PR (8002) - mean (906ms)  : 861, 951
    master - mean (907ms)  : 867, 948

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8002) - mean (270ms)  : 266, 274
    master - mean (269ms)  : 265, 274

    section Bailout
    This PR (8002) - mean (270ms)  : 266, 273
    master - mean (270ms)  : 266, 273

    section CallTarget+Inlining+NGEN
    This PR (8002) - mean (886ms)  : 846, 926
    master - mean (888ms)  : 850, 926

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

    section Bailout
    This PR (8002) - mean (269ms)  : 265, 272
    master - mean (269ms)  : 265, 273

    section CallTarget+Inlining+NGEN
    This PR (8002) - mean (823ms)  : 799, 847
    master - mean (826ms)  : 802, 849

Loading

@NachoEchevarria NachoEchevarria changed the title Retry on failed tests Retry on profiler failed integrtion jobs Dec 23, 2025
@NachoEchevarria NachoEchevarria changed the title Retry on profiler failed integrtion jobs Retry on profiler failed integration jobs Dec 23, 2025

- script: tracer\build.cmd BuildProfilerSamples BuildAndRunProfilerIntegrationTests --TargetPlatform $(targetPlatform)
displayName: Run Profiler Integration tests
retryCountOnTaskFailure: 2
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this will work in isolation 🤔 These currently take a long time to run, and doubling the length with likely just cause timeouts...

I think we should probably

  • Split out the "build" commands here from the "run" commands
  • Add a bunch of retries to those tasks
  • Split by target framework as well as target platform (primarily for perf)
  • See if we can add features to their custom runner to add the retries
    • If we can't, retry the whole target-framework task: these should be short enough that we can retry the whole lot without hitting timeouts

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants