-
Notifications
You must be signed in to change notification settings - Fork 147
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
[Fleet Installer] Don't block uninstall if IIS isn't available #6676
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 (6676) - mean (69ms) : 65, 74
. : milestone, 69,
master - mean (69ms) : 66, 71
. : milestone, 69,
section CallTarget+Inlining+NGEN
This PR (6676) - mean (998ms) : 979, 1017
. : milestone, 998,
master - mean (998ms) : 974, 1023
. : milestone, 998,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6676) - mean (102ms) : 101, 104
. : milestone, 102,
master - mean (102ms) : 100, 104
. : milestone, 102,
section CallTarget+Inlining+NGEN
This PR (6676) - mean (678ms) : 656, 700
. : milestone, 678,
master - mean (677ms) : 644, 709
. : milestone, 677,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6676) - mean (89ms) : 87, 91
. : milestone, 89,
master - mean (89ms) : 87, 91
. : milestone, 89,
section CallTarget+Inlining+NGEN
This PR (6676) - mean (634ms) : 617, 651
. : milestone, 634,
master - mean (633ms) : 614, 652
. : milestone, 633,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6676) - mean (191ms) : 187, 195
. : milestone, 191,
master - mean (191ms) : 187, 195
. : milestone, 191,
section CallTarget+Inlining+NGEN
This PR (6676) - mean (1,112ms) : 1084, 1139
. : milestone, 1112,
master - mean (1,112ms) : 1078, 1145
. : milestone, 1112,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6676) - mean (271ms) : 266, 275
. : milestone, 271,
master - mean (273ms) : 267, 280
. : milestone, 273,
section CallTarget+Inlining+NGEN
This PR (6676) - mean (870ms) : 837, 904
. : milestone, 870,
master - mean (866ms) : 838, 894
. : milestone, 866,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6676) - mean (263ms) : 259, 267
. : milestone, 263,
master - mean (263ms) : 259, 268
. : milestone, 263,
section CallTarget+Inlining+NGEN
This PR (6676) - mean (851ms) : 817, 886
. : milestone, 851,
master - mean (850ms) : 820, 880
. : milestone, 850,
|
Benchmarks Report for tracer 🐌Benchmarks for #6676 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 - Faster 🎉 Same allocations ✔️
|
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net6.0 | 1.202 | 468.31 | 389.67 | |
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net472 | 1.168 | 889.00 | 761.45 | |
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net472 | 1.145 | 692.21 | 604.60 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 468ns | 0.208ns | 0.806ns | 0.00798 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 556ns | 0.587ns | 2.27ns | 0.00776 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 692ns | 0.499ns | 1.93ns | 0.0918 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 495ns | 0.249ns | 0.964ns | 0.00981 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 706ns | 0.646ns | 2.5ns | 0.00956 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 886ns | 1.58ns | 6.11ns | 0.104 | 0 | 0 | 658 B |
#6676 | StartFinishSpan |
net6.0 | 390ns | 0.593ns | 2.22ns | 0.00815 | 0 | 0 | 576 B |
#6676 | StartFinishSpan |
netcoreapp3.1 | 561ns | 1.17ns | 4.54ns | 0.0079 | 0 | 0 | 576 B |
#6676 | StartFinishSpan |
net472 | 604ns | 2.04ns | 7.91ns | 0.0918 | 0 | 0 | 578 B |
#6676 | StartFinishScope |
net6.0 | 490ns | 0.861ns | 3.11ns | 0.0099 | 0 | 0 | 696 B |
#6676 | StartFinishScope |
netcoreapp3.1 | 760ns | 1.47ns | 5.69ns | 0.00931 | 0 | 0 | 696 B |
#6676 | StartFinishScope |
net472 | 762ns | 1.15ns | 4.46ns | 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 | 610ns | 0.318ns | 1.23ns | 0.00978 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 916ns | 1.36ns | 5.28ns | 0.00932 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.17μs | 0.969ns | 3.63ns | 0.104 | 0 | 0 | 658 B |
#6676 | RunOnMethodBegin |
net6.0 | 628ns | 1.15ns | 4.45ns | 0.00988 | 0 | 0 | 696 B |
#6676 | RunOnMethodBegin |
netcoreapp3.1 | 950ns | 1.31ns | 5.08ns | 0.00942 | 0 | 0 | 696 B |
#6676 | RunOnMethodBegin |
net472 | 1.09μs | 2.66ns | 10.3ns | 0.104 | 0 | 0 | 658 B |
Summary of changes
If IIS is uninstalled before you run the
uninstall-product
command, don't fail the uninstall.Reason for change
It's a niche issue. We block install if IIS isn't available or is <10.0, but we currently also block the uninstall. This PR makes it so that if the customer uninstalls IIS after installing the product, we don't block the uninstall
Implementation details
If they uninstalled IIS, there's not really anything to uninstall, as this stage just removes the env vars from the apps (which isn't possible once IIS is uninstalled). So basically just move the check from being a global check to an install-only check.
Test coverage
:shhh: