Add missing assembly for <.NET Core 3.1#7904
Conversation
|
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing This PR (7904) 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 (7904) - mean (76ms) : 70, 82
master - mean (76ms) : 69, 82
section Bailout
This PR (7904) - mean (81ms) : 75, 86
master - mean (79ms) : 75, 84
section CallTarget+Inlining+NGEN
This PR (7904) - mean (1,061ms) : 1004, 1119
master - mean (1,060ms) : 1002, 1119
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 (7904) - mean (118ms) : 111, 126
master - mean (117ms) : 110, 124
section Bailout
This PR (7904) - mean (118ms) : 111, 124
master - mean (118ms) : 112, 124
section CallTarget+Inlining+NGEN
This PR (7904) - mean (755ms) : 718, 791
master - mean (753ms) : 711, 795
FakeDbCommand (.NET 6)gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7904) - mean (105ms) : 100, 111
master - mean (104ms) : 97, 110
section Bailout
This PR (7904) - mean (106ms) : 100, 111
master - mean (105ms) : 99, 111
section CallTarget+Inlining+NGEN
This PR (7904) - mean (703ms) : 673, 733
master - mean (698ms) : 673, 723
FakeDbCommand (.NET 8)gantt
title Execution time (ms) FakeDbCommand (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7904) - mean (102ms) : 95, 110
master - mean (103ms) : 97, 109
section Bailout
This PR (7904) - mean (104ms) : 96, 111
master - mean (105ms) : 99, 111
section CallTarget+Inlining+NGEN
This PR (7904) - mean (680ms) : 648, 712
master - mean (679ms) : 649, 708
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 (7904) - mean (194ms) : 189, 199
master - mean (193ms) : 189, 197
section Bailout
This PR (7904) - mean (197ms) : 193, 200
master - mean (197ms) : 194, 199
section CallTarget+Inlining+NGEN
This PR (7904) - mean (1,125ms) : 1052, 1198
master - mean (1,118ms) : 1052, 1184
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 (7904) - mean (279ms) : 274, 284
master - mean (278ms) : 272, 284
section Bailout
This PR (7904) - mean (278ms) : 275, 281
master - mean (278ms) : 272, 283
section CallTarget+Inlining+NGEN
This PR (7904) - mean (916ms) : 876, 956
master - mean (909ms) : 869, 950
HttpMessageHandler (.NET 6)gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7904) - mean (271ms) : 264, 278
master - mean (271ms) : 266, 277
section Bailout
This PR (7904) - mean (271ms) : 267, 275
master - mean (270ms) : 267, 273
section CallTarget+Inlining+NGEN
This PR (7904) - mean (888ms) : 844, 931
master - mean (883ms) : 847, 920
HttpMessageHandler (.NET 8)gantt
title Execution time (ms) HttpMessageHandler (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7904) - mean (271ms) : 263, 280
master - mean (270ms) : 264, 277
section Bailout
This PR (7904) - mean (270ms) : 265, 275
master - mean (270ms) : 267, 273
section CallTarget+Inlining+NGEN
This PR (7904) - mean (827ms) : 802, 852
master - mean (826ms) : 808, 844
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Summary of changes
Add additional assembly to public API for unsafe to .NET Standard 2.0
Reason for change
#7874 reduced the allocation in
TraceContextand usedunsafecode. Apparently this is a new assembly reference for < .NET Core 3.1, and because we don't run tests on .NET Core 2.1 (ever) or .NET Core 3.0 tests (on PRs), we missed it.Implementation details
Added the assembly reference, and confirmed it passes for both .NET Core 2.1 and 3.0 now.
Test coverage
Covered by existing
Other details
Raises the question of whether we should be testing one of those on PRs again, given there's whole code paths that go untouched otherwise 😅