-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix dependabot and improve GeneratePackageVersions
#5579
Conversation
…) the project file
Dependabot does an explicit restore of the project, and if it fails, we don't get dependabot updates Added an explicit notification so we find out when this happens
…re nothing's broken)
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing the following branches/commits: 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 shown 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). gantt
title Execution time (ms) FakeDbCommand (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5579) - mean (74ms) : 64, 84
. : milestone, 74,
master - mean (71ms) : 65, 77
. : milestone, 71,
section CallTarget+Inlining+NGEN
This PR (5579) - mean (1,013ms) : 989, 1036
. : milestone, 1013,
master - mean (1,003ms) : 984, 1023
. : milestone, 1003,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5579) - mean (109ms) : 107, 112
. : milestone, 109,
master - mean (109ms) : 106, 112
. : milestone, 109,
section CallTarget+Inlining+NGEN
This PR (5579) - mean (731ms) : 709, 753
. : milestone, 731,
master - mean (725ms) : 700, 751
. : milestone, 725,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5579) - mean (94ms) : 90, 98
. : milestone, 94,
master - mean (93ms) : 90, 96
. : milestone, 93,
section CallTarget+Inlining+NGEN
This PR (5579) - mean (683ms) : 654, 712
. : milestone, 683,
master - mean (679ms) : 651, 707
. : milestone, 679,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5579) - mean (193ms) : 188, 199
. : milestone, 193,
master - mean (191ms) : 188, 194
. : milestone, 191,
section CallTarget+Inlining+NGEN
This PR (5579) - mean (1,111ms) : 1089, 1133
. : milestone, 1111,
master - mean (1,107ms) : 1088, 1127
. : milestone, 1107,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5579) - mean (275ms) : 271, 280
. : milestone, 275,
master - mean (274ms) : 269, 279
. : milestone, 274,
section CallTarget+Inlining+NGEN
This PR (5579) - mean (914ms) : 894, 934
. : milestone, 914,
master - mean (911ms) : 892, 930
. : milestone, 911,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5579) - mean (266ms) : 261, 271
. : milestone, 266,
master - mean (266ms) : 261, 270
. : milestone, 266,
section CallTarget+Inlining+NGEN
This PR (5579) - mean (899ms) : 876, 922
. : milestone, 899,
master - mean (892ms) : 871, 913
. : milestone, 892,
|
Datadog ReportBranch report: ✅ 0 Failed, 337224 Passed, 1597 Skipped, 13h 49m 46.64s Total Time |
Benchmarks Report for tracer 🐌Benchmarks for #5579 compared to master:
The following thresholds were used for comparing the benchmark speeds:
Allocation changes below 0.5% are ignored. Benchmark detailsBenchmarks.Trace.ActivityBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AspNetCoreBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.DbCommandBenchmark - Faster 🎉 Same allocations ✔️
|
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.DbCommandBenchmark.ExecuteNonQuery‑net6.0 | 1.157 | 1,190.05 | 1,028.95 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | ExecuteNonQuery |
net6.0 | 1.19μs | 0.41ns | 1.54ns | 0.0112 | 0 | 0 | 808 B |
master | ExecuteNonQuery |
netcoreapp3.1 | 1.42μs | 0.53ns | 2.05ns | 0.0107 | 0 | 0 | 808 B |
master | ExecuteNonQuery |
net472 | 1.77μs | 0.94ns | 3.52ns | 0.122 | 0 | 0 | 770 B |
#5579 | ExecuteNonQuery |
net6.0 | 1.03μs | 0.478ns | 1.85ns | 0.0113 | 0 | 0 | 808 B |
#5579 | ExecuteNonQuery |
netcoreapp3.1 | 1.46μs | 0.692ns | 2.68ns | 0.011 | 0 | 0 | 808 B |
#5579 | ExecuteNonQuery |
net472 | 1.72μs | 0.887ns | 3.44ns | 0.122 | 0 | 0 | 770 B |
Benchmarks.Trace.ElasticsearchBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | CallElasticsearch |
net6.0 | 1.26μs | 0.636ns | 2.38ns | 0.0134 | 0 | 0 | 976 B |
master | CallElasticsearch |
netcoreapp3.1 | 1.57μs | 1.47ns | 5.51ns | 0.0133 | 0 | 0 | 976 B |
master | CallElasticsearch |
net472 | 2.55μs | 1.05ns | 3.94ns | 0.158 | 0 | 0 | 995 B |
master | CallElasticsearchAsync |
net6.0 | 1.23μs | 0.911ns | 3.53ns | 0.0135 | 0 | 0 | 952 B |
master | CallElasticsearchAsync |
netcoreapp3.1 | 1.64μs | 0.766ns | 2.87ns | 0.0139 | 0 | 0 | 1.02 KB |
master | CallElasticsearchAsync |
net472 | 2.54μs | 2.09ns | 8.09ns | 0.167 | 0.00126 | 0 | 1.05 KB |
#5579 | CallElasticsearch |
net6.0 | 1.23μs | 0.748ns | 2.8ns | 0.0136 | 0 | 0 | 976 B |
#5579 | CallElasticsearch |
netcoreapp3.1 | 1.47μs | 0.632ns | 2.45ns | 0.0132 | 0 | 0 | 976 B |
#5579 | CallElasticsearch |
net472 | 2.54μs | 0.818ns | 3.06ns | 0.158 | 0 | 0 | 995 B |
#5579 | CallElasticsearchAsync |
net6.0 | 1.32μs | 1.31ns | 5.07ns | 0.0133 | 0 | 0 | 952 B |
#5579 | CallElasticsearchAsync |
netcoreapp3.1 | 1.62μs | 0.888ns | 3.44ns | 0.0137 | 0 | 0 | 1.02 KB |
#5579 | CallElasticsearchAsync |
net472 | 2.66μs | 1.52ns | 5.69ns | 0.167 | 0 | 0 | 1.05 KB |
Benchmarks.Trace.GraphQLBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | ExecuteAsync |
net6.0 | 1.27μs | 1.03ns | 3.84ns | 0.0133 | 0 | 0 | 952 B |
master | ExecuteAsync |
netcoreapp3.1 | 1.6μs | 1.12ns | 4.2ns | 0.0127 | 0 | 0 | 952 B |
master | ExecuteAsync |
net472 | 1.83μs | 0.386ns | 1.44ns | 0.145 | 0 | 0 | 915 B |
#5579 | ExecuteAsync |
net6.0 | 1.19μs | 0.433ns | 1.62ns | 0.0131 | 0 | 0 | 952 B |
#5579 | ExecuteAsync |
netcoreapp3.1 | 1.6μs | 1.3ns | 5.05ns | 0.0126 | 0 | 0 | 952 B |
#5579 | ExecuteAsync |
net472 | 1.75μs | 0.836ns | 3.24ns | 0.145 | 0 | 0 | 915 B |
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | SendAsync |
net6.0 | 4.15μs | 1.53ns | 5.73ns | 0.0313 | 0 | 0 | 2.22 KB |
master | SendAsync |
netcoreapp3.1 | 5μs | 1.08ns | 3.89ns | 0.0374 | 0 | 0 | 2.76 KB |
master | SendAsync |
net472 | 7.37μs | 3.22ns | 12.5ns | 0.495 | 0 | 0 | 3.12 KB |
#5579 | SendAsync |
net6.0 | 4.18μs | 0.997ns | 3.86ns | 0.0307 | 0 | 0 | 2.22 KB |
#5579 | SendAsync |
netcoreapp3.1 | 5.04μs | 2.67ns | 9.98ns | 0.0376 | 0 | 0 | 2.76 KB |
#5579 | SendAsync |
net472 | 7.57μs | 3.39ns | 13.1ns | 0.493 | 0 | 0 | 3.12 KB |
Benchmarks.Trace.ILoggerBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 1.42μs | 0.689ns | 2.49ns | 0.0228 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
netcoreapp3.1 | 2.1μs | 0.543ns | 2.03ns | 0.022 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
net472 | 2.47μs | 1.22ns | 4.72ns | 0.25 | 0 | 0 | 1.57 KB |
#5579 | EnrichedLog |
net6.0 | 1.41μs | 0.824ns | 3.08ns | 0.0229 | 0 | 0 | 1.64 KB |
#5579 | EnrichedLog |
netcoreapp3.1 | 2.2μs | 2.2ns | 8.23ns | 0.022 | 0 | 0 | 1.64 KB |
#5579 | EnrichedLog |
net472 | 2.64μs | 1.51ns | 5.45ns | 0.249 | 0 | 0 | 1.57 KB |
Benchmarks.Trace.Log4netBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 112μs | 178ns | 690ns | 0.0569 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
netcoreapp3.1 | 117μs | 84.3ns | 315ns | 0.0586 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
net472 | 147μs | 108ns | 403ns | 0.662 | 0.221 | 0 | 4.46 KB |
#5579 | EnrichedLog |
net6.0 | 115μs | 89.4ns | 335ns | 0 | 0 | 0 | 4.28 KB |
#5579 | EnrichedLog |
netcoreapp3.1 | 119μs | 112ns | 433ns | 0.0598 | 0 | 0 | 4.28 KB |
#5579 | EnrichedLog |
net472 | 149μs | 184ns | 711ns | 0.669 | 0.223 | 0 | 4.46 KB |
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 2.94μs | 1.16ns | 4.48ns | 0.0311 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
netcoreapp3.1 | 4.29μs | 1.61ns | 6.25ns | 0.0279 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
net472 | 4.87μs | 0.804ns | 3.01ns | 0.32 | 0 | 0 | 2.02 KB |
#5579 | EnrichedLog |
net6.0 | 2.85μs | 1.26ns | 4.89ns | 0.0301 | 0 | 0 | 2.2 KB |
#5579 | EnrichedLog |
netcoreapp3.1 | 4.06μs | 1.4ns | 5.25ns | 0.0284 | 0 | 0 | 2.2 KB |
#5579 | EnrichedLog |
net472 | 4.82μs | 1.13ns | 4.08ns | 0.321 | 0 | 0 | 2.02 KB |
Benchmarks.Trace.RedisBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | SendReceive |
net6.0 | 1.34μs | 1.68ns | 6.51ns | 0.016 | 0 | 0 | 1.14 KB |
master | SendReceive |
netcoreapp3.1 | 1.82μs | 0.449ns | 1.74ns | 0.0154 | 0 | 0 | 1.14 KB |
master | SendReceive |
net472 | 2.15μs | 1.13ns | 4.22ns | 0.183 | 0 | 0 | 1.16 KB |
#5579 | SendReceive |
net6.0 | 1.33μs | 1.33ns | 5.16ns | 0.0159 | 0 | 0 | 1.14 KB |
#5579 | SendReceive |
netcoreapp3.1 | 1.68μs | 1.33ns | 5.15ns | 0.0153 | 0 | 0 | 1.14 KB |
#5579 | SendReceive |
net472 | 2.08μs | 1.47ns | 5.49ns | 0.183 | 0.00105 | 0 | 1.16 KB |
Benchmarks.Trace.SerilogBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 2.7μs | 1.13ns | 4.37ns | 0.0229 | 0 | 0 | 1.6 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.89μs | 1.43ns | 5.55ns | 0.0214 | 0 | 0 | 1.65 KB |
master | EnrichedLog |
net472 | 4.48μs | 2.54ns | 9.5ns | 0.324 | 0 | 0 | 2.04 KB |
#5579 | EnrichedLog |
net6.0 | 2.72μs | 0.59ns | 2.13ns | 0.0218 | 0 | 0 | 1.6 KB |
#5579 | EnrichedLog |
netcoreapp3.1 | 3.81μs | 1.4ns | 5.43ns | 0.0227 | 0 | 0 | 1.65 KB |
#5579 | EnrichedLog |
net472 | 4.45μs | 2.75ns | 10.3ns | 0.322 | 0 | 0 | 2.04 KB |
Benchmarks.Trace.SpanBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #5579
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑netcoreapp3.1
1.157
759.74
656.77
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑netcoreapp3.1 | 1.157 | 759.74 | 656.77 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 404ns | 1.47ns | 5.71ns | 0.00797 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 555ns | 0.332ns | 1.24ns | 0.00778 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 669ns | 0.478ns | 1.85ns | 0.0916 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 519ns | 0.178ns | 0.689ns | 0.00962 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 760ns | 0.174ns | 0.649ns | 0.00941 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 866ns | 0.373ns | 1.45ns | 0.105 | 0 | 0 | 658 B |
#5579 | StartFinishSpan |
net6.0 | 400ns | 0.191ns | 0.741ns | 0.00805 | 0 | 0 | 576 B |
#5579 | StartFinishSpan |
netcoreapp3.1 | 551ns | 0.268ns | 1ns | 0.00782 | 0 | 0 | 576 B |
#5579 | StartFinishSpan |
net472 | 644ns | 0.396ns | 1.53ns | 0.0915 | 0 | 0 | 578 B |
#5579 | StartFinishScope |
net6.0 | 554ns | 0.132ns | 0.51ns | 0.00971 | 0 | 0 | 696 B |
#5579 | StartFinishScope |
netcoreapp3.1 | 657ns | 0.174ns | 0.603ns | 0.00929 | 0 | 0 | 696 B |
#5579 | StartFinishScope |
net472 | 862ns | 0.151ns | 0.566ns | 0.105 | 0 | 0 | 658 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | RunOnMethodBegin |
net6.0 | 584ns | 0.169ns | 0.653ns | 0.00966 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 878ns | 0.337ns | 1.26ns | 0.00934 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.18μs | 0.55ns | 2.13ns | 0.104 | 0 | 0 | 658 B |
#5579 | RunOnMethodBegin |
net6.0 | 650ns | 0.497ns | 1.93ns | 0.00975 | 0 | 0 | 696 B |
#5579 | RunOnMethodBegin |
netcoreapp3.1 | 932ns | 1.73ns | 6.69ns | 0.0093 | 0 | 0 | 696 B |
#5579 | RunOnMethodBegin |
net472 | 1.2μs | 0.327ns | 1.27ns | 0.104 | 0 | 0 | 658 B |
Summary of changes
Fixes our broken Dependabot integration
Reason for change
Our dependabot integration broke at some point, so we haven't been getting notifications for new packages. The reason is that GitHub tries to run a
dotnet restore
on the "honeypot" dependabot project file, and unfortunately it was getting a bunch of errors (and warnings) and bailing out:So this PR fixes the issue (by bumping the TFM), solves some other warnings (about duplicate entries) and sets up alerts and fallback approaches
Implementation details
Test coverage
Tested locally a bunch, but we need to merge it before I can check if dependabot is fixed
Other details
Supersedes #5567