-
Notifications
You must be signed in to change notification settings - Fork 146
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
Add fixes for release process #6704
Conversation
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 (6704) - mean (69ms) : 65, 74
. : milestone, 69,
master - mean (69ms) : 66, 71
. : milestone, 69,
section CallTarget+Inlining+NGEN
This PR (6704) - mean (997ms) : 975, 1018
. : milestone, 997,
master - mean (998ms) : 977, 1018
. : milestone, 998,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6704) - mean (102ms) : 100, 104
. : milestone, 102,
master - mean (102ms) : 100, 104
. : milestone, 102,
section CallTarget+Inlining+NGEN
This PR (6704) - mean (671ms) : 654, 688
. : milestone, 671,
master - mean (673ms) : 656, 690
. : milestone, 673,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6704) - mean (89ms) : 87, 91
. : milestone, 89,
master - mean (89ms) : 87, 91
. : milestone, 89,
section CallTarget+Inlining+NGEN
This PR (6704) - mean (628ms) : 612, 644
. : milestone, 628,
master - mean (634ms) : 618, 651
. : milestone, 634,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6704) - mean (191ms) : 187, 194
. : milestone, 191,
master - mean (191ms) : 186, 196
. : milestone, 191,
section CallTarget+Inlining+NGEN
This PR (6704) - mean (1,108ms) : 1077, 1138
. : milestone, 1108,
master - mean (1,110ms) : 1078, 1142
. : milestone, 1110,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6704) - mean (271ms) : 265, 276
. : milestone, 271,
master - mean (274ms) : 267, 282
. : milestone, 274,
section CallTarget+Inlining+NGEN
This PR (6704) - mean (866ms) : 825, 907
. : milestone, 866,
master - mean (869ms) : 829, 908
. : milestone, 869,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6704) - mean (263ms) : 259, 268
. : milestone, 263,
master - mean (262ms) : 258, 266
. : milestone, 262,
section CallTarget+Inlining+NGEN
This PR (6704) - mean (846ms) : 809, 882
. : milestone, 846,
master - mean (848ms) : 817, 880
. : milestone, 848,
|
Benchmarks Report for tracer 🐌Benchmarks for #6704 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 - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.ElasticsearchBenchmark - Slower
|
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync‑net6.0 | 1.130 | 1,285.91 | 1,452.75 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | CallElasticsearch |
net6.0 | 1.3μs | 1.39ns | 5.21ns | 0.0137 | 0 | 0 | 976 B |
master | CallElasticsearch |
netcoreapp3.1 | 1.53μs | 1.66ns | 6.19ns | 0.0129 | 0 | 0 | 976 B |
master | CallElasticsearch |
net472 | 2.56μs | 1.67ns | 6.46ns | 0.157 | 0 | 0 | 995 B |
master | CallElasticsearchAsync |
net6.0 | 1.29μs | 0.411ns | 1.59ns | 0.0135 | 0 | 0 | 952 B |
master | CallElasticsearchAsync |
netcoreapp3.1 | 1.74μs | 1.73ns | 6.48ns | 0.0138 | 0 | 0 | 1.02 KB |
master | CallElasticsearchAsync |
net472 | 2.53μs | 1.64ns | 6.36ns | 0.167 | 0 | 0 | 1.05 KB |
#6704 | CallElasticsearch |
net6.0 | 1.36μs | 0.728ns | 2.72ns | 0.0135 | 0 | 0 | 976 B |
#6704 | CallElasticsearch |
netcoreapp3.1 | 1.63μs | 1.18ns | 4.58ns | 0.0131 | 0 | 0 | 976 B |
#6704 | CallElasticsearch |
net472 | 2.55μs | 1.51ns | 5.86ns | 0.157 | 0 | 0 | 995 B |
#6704 | CallElasticsearchAsync |
net6.0 | 1.45μs | 0.67ns | 2.6ns | 0.0131 | 0 | 0 | 952 B |
#6704 | CallElasticsearchAsync |
netcoreapp3.1 | 1.75μs | 1.16ns | 4.33ns | 0.014 | 0 | 0 | 1.02 KB |
#6704 | CallElasticsearchAsync |
net472 | 2.59μs | 0.6ns | 2.25ns | 0.166 | 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.43μs | 0.743ns | 2.88ns | 0.0136 | 0 | 0 | 952 B |
master | ExecuteAsync |
netcoreapp3.1 | 1.68μs | 0.575ns | 2.15ns | 0.0123 | 0 | 0 | 952 B |
master | ExecuteAsync |
net472 | 1.92μs | 0.512ns | 1.98ns | 0.145 | 0 | 0 | 915 B |
#6704 | ExecuteAsync |
net6.0 | 1.31μs | 0.297ns | 1.07ns | 0.0132 | 0 | 0 | 952 B |
#6704 | ExecuteAsync |
netcoreapp3.1 | 1.71μs | 1.55ns | 6ns | 0.0129 | 0 | 0 | 952 B |
#6704 | ExecuteAsync |
net472 | 1.84μs | 0.907ns | 3.51ns | 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.46μs | 23.2ns | 109ns | 0.0334 | 0 | 0 | 2.31 KB |
master | SendAsync |
netcoreapp3.1 | 5.38μs | 1.54ns | 5.57ns | 0.0373 | 0 | 0 | 2.85 KB |
master | SendAsync |
net472 | 7.52μs | 1.45ns | 5.43ns | 0.492 | 0 | 0 | 3.12 KB |
#6704 | SendAsync |
net6.0 | 4.53μs | 2.44ns | 9.44ns | 0.0317 | 0 | 0 | 2.31 KB |
#6704 | SendAsync |
netcoreapp3.1 | 5.38μs | 3.15ns | 12.2ns | 0.0379 | 0 | 0 | 2.85 KB |
#6704 | SendAsync |
net472 | 7.43μs | 2.43ns | 9.08ns | 0.492 | 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.62μs | 0.698ns | 2.61ns | 0.0227 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
netcoreapp3.1 | 2.3μs | 1.48ns | 5.55ns | 0.0218 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
net472 | 2.51μs | 2.1ns | 8.15ns | 0.249 | 0 | 0 | 1.57 KB |
#6704 | EnrichedLog |
net6.0 | 1.55μs | 0.769ns | 2.88ns | 0.0231 | 0 | 0 | 1.64 KB |
#6704 | EnrichedLog |
netcoreapp3.1 | 2.19μs | 1.99ns | 7.7ns | 0.022 | 0 | 0 | 1.64 KB |
#6704 | EnrichedLog |
net472 | 2.59μs | 1.98ns | 7.39ns | 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 | 114μs | 208ns | 807ns | 0 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
netcoreapp3.1 | 120μs | 178ns | 688ns | 0 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
net472 | 150μs | 125ns | 483ns | 0.673 | 0.224 | 0 | 4.46 KB |
#6704 | EnrichedLog |
net6.0 | 115μs | 162ns | 607ns | 0.0573 | 0 | 0 | 4.28 KB |
#6704 | EnrichedLog |
netcoreapp3.1 | 117μs | 248ns | 961ns | 0.0582 | 0 | 0 | 4.28 KB |
#6704 | EnrichedLog |
net472 | 150μs | 155ns | 601ns | 0.674 | 0.225 | 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 | 3.1μs | 0.573ns | 2.07ns | 0.0311 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
netcoreapp3.1 | 4.21μs | 1.92ns | 6.92ns | 0.0295 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
net472 | 4.86μs | 0.927ns | 3.59ns | 0.32 | 0 | 0 | 2.02 KB |
#6704 | EnrichedLog |
net6.0 | 2.93μs | 3.6ns | 13.9ns | 0.0307 | 0 | 0 | 2.2 KB |
#6704 | EnrichedLog |
netcoreapp3.1 | 4.18μs | 0.936ns | 3.37ns | 0.0291 | 0 | 0 | 2.2 KB |
#6704 | EnrichedLog |
net472 | 4.87μs | 2.1ns | 8.13ns | 0.32 | 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.39μs | 0.78ns | 3.02ns | 0.016 | 0 | 0 | 1.14 KB |
master | SendReceive |
netcoreapp3.1 | 1.72μs | 2.24ns | 8.68ns | 0.0154 | 0 | 0 | 1.14 KB |
master | SendReceive |
net472 | 2.14μs | 0.547ns | 2.05ns | 0.183 | 0 | 0 | 1.16 KB |
#6704 | SendReceive |
net6.0 | 1.43μs | 0.664ns | 2.57ns | 0.0158 | 0 | 0 | 1.14 KB |
#6704 | SendReceive |
netcoreapp3.1 | 1.85μs | 1.38ns | 5.33ns | 0.0153 | 0 | 0 | 1.14 KB |
#6704 | SendReceive |
net472 | 2.15μs | 0.461ns | 1.73ns | 0.183 | 0 | 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 | 0.975ns | 3.52ns | 0.0216 | 0 | 0 | 1.6 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.88μs | 1.72ns | 6.65ns | 0.0213 | 0 | 0 | 1.65 KB |
master | EnrichedLog |
net472 | 4.25μs | 4.09ns | 15.8ns | 0.323 | 0 | 0 | 2.04 KB |
#6704 | EnrichedLog |
net6.0 | 2.76μs | 1.56ns | 5.82ns | 0.0221 | 0 | 0 | 1.6 KB |
#6704 | EnrichedLog |
netcoreapp3.1 | 4.03μs | 1.72ns | 6.67ns | 0.0222 | 0 | 0 | 1.65 KB |
#6704 | EnrichedLog |
net472 | 4.26μs | 1.79ns | 6.68ns | 0.322 | 0 | 0 | 2.04 KB |
Benchmarks.Trace.SpanBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 417ns | 0.557ns | 2.08ns | 0.00809 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 618ns | 1.02ns | 3.94ns | 0.00772 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 671ns | 1.18ns | 4.58ns | 0.0915 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 472ns | 0.831ns | 3.22ns | 0.00987 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 718ns | 0.697ns | 2.61ns | 0.00924 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 824ns | 1.61ns | 6.02ns | 0.104 | 0 | 0 | 658 B |
#6704 | StartFinishSpan |
net6.0 | 452ns | 0.641ns | 2.48ns | 0.00815 | 0 | 0 | 576 B |
#6704 | StartFinishSpan |
netcoreapp3.1 | 602ns | 0.901ns | 3.25ns | 0.00764 | 0 | 0 | 576 B |
#6704 | StartFinishSpan |
net472 | 661ns | 1.6ns | 6.19ns | 0.0917 | 0 | 0 | 578 B |
#6704 | StartFinishScope |
net6.0 | 479ns | 0.364ns | 1.41ns | 0.00979 | 0 | 0 | 696 B |
#6704 | StartFinishScope |
netcoreapp3.1 | 733ns | 1.03ns | 4ns | 0.00925 | 0 | 0 | 696 B |
#6704 | StartFinishScope |
net472 | 867ns | 1.36ns | 5.25ns | 0.104 | 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 | 650ns | 0.834ns | 3.23ns | 0.00961 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 922ns | 2.04ns | 7.91ns | 0.00939 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.05μs | 2.66ns | 10.3ns | 0.104 | 0 | 0 | 658 B |
#6704 | RunOnMethodBegin |
net6.0 | 662ns | 0.514ns | 1.99ns | 0.0097 | 0 | 0 | 696 B |
#6704 | RunOnMethodBegin |
netcoreapp3.1 | 942ns | 2.84ns | 11ns | 0.00939 | 0 | 0 | 696 B |
#6704 | RunOnMethodBegin |
net472 | 1.09μs | 0.744ns | 2.88ns | 0.104 | 0 | 0 | 658 B |
Summary of changes
Reason for change
Saw failures due to all of these issues in latest release.
Implementation details
Increase the timeout to download the release artifacts from "ridiculous" (100s) to "ludicrous" (6000s), in the hope that we don't hit it again. It's safe to just retry in the UI here anyway, so this will hopefully be sufficient.
Additionally, a recent additional check (the fleet installer) was failing because the target directory for the download hadn't been created, so fixed that.
Finally, the
3.11.0
release is broken because of a bug in the script, which only manifests when running for a tagTest coverage
Ran the Build stage locally - they both failed previously and now both pass.
We can't easily test the gitlab change unfortunately