Attempt to fix more flake in System.Data.SqlClient#8899
Conversation
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing This PR (8899) and master. ✅ No regressions detected - check the details below Full Metrics ComparisonFakeDbCommand
HttpMessageHandler
Comparison explanationExecution-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:
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 chartsFakeDbCommand (.NET Framework 4.8)gantt
title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8899) - mean (72ms) : 67, 76
master - mean (71ms) : 68, 73
section Bailout
This PR (8899) - mean (77ms) : 72, 81
master - mean (75ms) : 73, 76
section CallTarget+Inlining+NGEN
This PR (8899) - mean (1,085ms) : 1040, 1130
master - mean (1,103ms) : 1027, 1179
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 (8899) - mean (112ms) : 107, 116
master - mean (109ms) : 106, 113
section Bailout
This PR (8899) - mean (111ms) : 106, 115
master - mean (111ms) : 109, 112
section CallTarget+Inlining+NGEN
This PR (8899) - mean (778ms) : 756, 800
master - mean (786ms) : 764, 807
FakeDbCommand (.NET 6)gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8899) - mean (99ms) : 93, 104
master - mean (97ms) : 95, 99
section Bailout
This PR (8899) - mean (100ms) : 95, 105
master - mean (102ms) : 96, 108
section CallTarget+Inlining+NGEN
This PR (8899) - mean (944ms) : 902, 987
master - mean (942ms) : 906, 978
FakeDbCommand (.NET 8)gantt
title Execution time (ms) FakeDbCommand (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8899) - mean (95ms) : 91, 98
master - mean (96ms) : 92, 100
section Bailout
This PR (8899) - mean (96ms) : 95, 98
master - mean (96ms) : 95, 98
section CallTarget+Inlining+NGEN
This PR (8899) - mean (821ms) : 782, 859
master - mean (819ms) : 776, 863
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 (8899) - mean (190ms) : 186, 193
master - mean (192ms) : 188, 196
section Bailout
This PR (8899) - mean (193ms) : 191, 195
master - mean (195ms) : 193, 197
section CallTarget+Inlining+NGEN
This PR (8899) - mean (1,170ms) : 1114, 1225
master - mean (1,192ms) : 1115, 1269
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 (8899) - mean (271ms) : 267, 276
master - mean (273ms) : 262, 285
section Bailout
This PR (8899) - mean (272ms) : 269, 275
master - mean (276ms) : 263, 289
section CallTarget+Inlining+NGEN
This PR (8899) - mean (934ms) : 916, 951
master - mean (946ms) : 908, 983
HttpMessageHandler (.NET 6)gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8899) - mean (265ms) : 262, 269
master - mean (269ms) : 256, 282
section Bailout
This PR (8899) - mean (265ms) : 263, 267
master - mean (268ms) : 264, 272
section CallTarget+Inlining+NGEN
This PR (8899) - mean (1,138ms) : 1099, 1177
master - mean (1,154ms) : 1089, 1219
HttpMessageHandler (.NET 8)gantt
title Execution time (ms) HttpMessageHandler (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8899) - mean (264ms) : 261, 266
master - mean (267ms) : 254, 280
section Bailout
This PR (8899) - mean (264ms) : 262, 266
master - mean (265ms) : 263, 268
section CallTarget+Inlining+NGEN
This PR (8899) - mean (1,024ms) : 979, 1070
master - mean (1,037ms) : 980, 1094
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BenchmarksBenchmark execution time: 2026-07-13 15:09:44 Comparing candidate commit 0509df0 in PR branch Found 0 performance improvements and 1 performance regressions! Performance is the same for 70 metrics, 1 unstable metrics, 57 known flaky benchmarks, 69 flaky benchmarks without significant changes.
|
Summary of changes
Flushes the large
RunAllAsynctrace before starting theSqlCommandVbtraceReason for change
SystemDataSqlClientTests.SubmitsTracesintermittently received 105 spans, consistent with the entire initialRunAllAsynctrace being absent.The previous mitigation flushed only after both traces had completed, leaving a timing window for the first trace.
Implementation details
Moved the flush
Test coverage
This is it
Other details
Follow-up to #8871
#incident-57303