-
Notifications
You must be signed in to change notification settings - Fork 145
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
Update dotnet-install scripts for impending change of .NET install domains #6484
base: master
Are you sure you want to change the base?
Update dotnet-install scripts for impending change of .NET install domains #6484
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 453674 Passed, 2812 Skipped, 19h 39m 8.83s Total Time |
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 (6484) - mean (68ms) : 65, 71
. : milestone, 68,
master - mean (69ms) : 65, 72
. : milestone, 69,
section CallTarget+Inlining+NGEN
This PR (6484) - mean (980ms) : 957, 1004
. : milestone, 980,
master - mean (977ms) : 955, 1000
. : milestone, 977,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6484) - mean (107ms) : 105, 110
. : milestone, 107,
master - mean (107ms) : 105, 109
. : milestone, 107,
section CallTarget+Inlining+NGEN
This PR (6484) - mean (677ms) : 660, 695
. : milestone, 677,
master - mean (679ms) : 662, 695
. : milestone, 679,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6484) - mean (91ms) : 89, 94
. : milestone, 91,
master - mean (91ms) : 89, 93
. : milestone, 91,
section CallTarget+Inlining+NGEN
This PR (6484) - mean (635ms) : 620, 650
. : milestone, 635,
master - mean (634ms) : 614, 654
. : milestone, 634,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6484) - mean (193ms) : 189, 198
. : milestone, 193,
master - mean (193ms) : 189, 197
. : milestone, 193,
section CallTarget+Inlining+NGEN
This PR (6484) - mean (1,104ms) : 1076, 1132
. : milestone, 1104,
master - mean (1,099ms) : 1070, 1129
. : milestone, 1099,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6484) - mean (277ms) : 272, 282
. : milestone, 277,
master - mean (278ms) : 272, 283
. : milestone, 278,
section CallTarget+Inlining+NGEN
This PR (6484) - mean (870ms) : 839, 901
. : milestone, 870,
master - mean (871ms) : 844, 897
. : milestone, 871,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6484) - mean (267ms) : 261, 273
. : milestone, 267,
master - mean (266ms) : 262, 270
. : milestone, 266,
section CallTarget+Inlining+NGEN
This PR (6484) - mean (850ms) : 815, 884
. : milestone, 850,
master - mean (855ms) : 825, 885
. : milestone, 855,
|
Benchmarks Report for tracer 🐌Benchmarks for #6484 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 - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.GraphQLBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.ILoggerBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.Log4netBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.RedisBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.SerilogBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.SpanBenchmark - Slower
|
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑netcoreapp3.1 | 1.168 | 675.82 | 789.10 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 399ns | 0.25ns | 0.967ns | 0.00805 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 597ns | 0.33ns | 1.28ns | 0.00752 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 656ns | 0.281ns | 1.05ns | 0.0917 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 483ns | 0.227ns | 0.849ns | 0.00965 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 676ns | 0.441ns | 1.71ns | 0.00949 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 872ns | 0.728ns | 2.82ns | 0.104 | 0 | 0 | 658 B |
#6484 | StartFinishSpan |
net6.0 | 389ns | 0.164ns | 0.634ns | 0.00806 | 0 | 0 | 576 B |
#6484 | StartFinishSpan |
netcoreapp3.1 | 563ns | 0.728ns | 2.82ns | 0.00788 | 0 | 0 | 576 B |
#6484 | StartFinishSpan |
net472 | 730ns | 1.32ns | 4.96ns | 0.0917 | 0 | 0 | 578 B |
#6484 | StartFinishScope |
net6.0 | 482ns | 0.358ns | 1.39ns | 0.00974 | 0 | 0 | 696 B |
#6484 | StartFinishScope |
netcoreapp3.1 | 789ns | 0.799ns | 3.09ns | 0.00938 | 0 | 0 | 696 B |
#6484 | StartFinishScope |
net472 | 875ns | 0.395ns | 1.53ns | 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 | 634ns | 0.299ns | 1.12ns | 0.00988 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 906ns | 0.326ns | 1.26ns | 0.00898 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.07μs | 0.503ns | 1.95ns | 0.104 | 0 | 0 | 658 B |
#6484 | RunOnMethodBegin |
net6.0 | 659ns | 0.419ns | 1.62ns | 0.00964 | 0 | 0 | 696 B |
#6484 | RunOnMethodBegin |
netcoreapp3.1 | 1.01μs | 1.48ns | 5.73ns | 0.00953 | 0 | 0 | 696 B |
#6484 | RunOnMethodBegin |
net472 | 1.14μs | 0.849ns | 3.29ns | 0.104 | 0 | 0 | 658 B |
Summary of changes
Updates the
dotnet-install.sh
anddotnet-install.ps
scripts following advice in dotnet/announcements#336Reason for change
From the linked announcement:
Implementation details
Update the scripts with the versions provided in the initial announcements. These scripts aren't "final", and we don't need to merge them yet (and we will need to update the VMs when we do), so for now this is a "break glass if things stop working" scenario. Not that the powershell script isn't signed, so we should definitely wait for that too if we can.
Test coverage
This PR is the test - as long as it builds ok, we're good
Other details
I haven't really looked through the changes. They're mostly superficial, other than preferring the new CDN domain and using a fallback