-
Notifications
You must be signed in to change notification settings - Fork 144
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 error message when IIS is not found #4774
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some people approve
Datadog ReportBranch report: ✅ |
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 (4774) - mean (71ms) : 63, 79
. : milestone, 71,
master - mean (71ms) : 62, 79
. : milestone, 71,
section CallTarget+Inlining+NGEN
This PR (4774) - mean (997ms) : 976, 1019
. : milestone, 997,
master - mean (992ms) : 972, 1012
. : milestone, 992,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (4774) - mean (106ms) : 102, 109
. : milestone, 106,
master - mean (106ms) : 102, 109
. : milestone, 106,
section CallTarget+Inlining+NGEN
This PR (4774) - mean (681ms) : 664, 699
. : milestone, 681,
master - mean (680ms) : 666, 694
. : milestone, 680,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (4774) - mean (89ms) : 87, 91
. : milestone, 89,
master - mean (89ms) : 86, 92
. : milestone, 89,
section CallTarget+Inlining+NGEN
This PR (4774) - mean (654ms) : 633, 676
. : milestone, 654,
master - mean (652ms) : 631, 672
. : milestone, 652,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (4774) - mean (188ms) : 186, 190
. : milestone, 188,
master - mean (188ms) : 185, 190
. : milestone, 188,
section CallTarget+Inlining+NGEN
This PR (4774) - mean (1,141ms) : 1120, 1162
. : milestone, 1141,
master - mean (1,140ms) : 1120, 1161
. : milestone, 1140,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (4774) - mean (271ms) : 266, 275
. : milestone, 271,
master - mean (271ms) : 268, 274
. : milestone, 271,
section CallTarget+Inlining+NGEN
This PR (4774) - mean (1,098ms) : 1072, 1123
. : milestone, 1098,
master - mean (1,094ms) : 1068, 1121
. : milestone, 1094,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (4774) - mean (262ms) : 258, 265
. : milestone, 262,
master - mean (262ms) : 259, 265
. : milestone, 262,
section CallTarget+Inlining+NGEN
This PR (4774) - mean (1,067ms) : 1039, 1095
. : milestone, 1067,
master - mean (1,069ms) : 1038, 1101
. : milestone, 1069,
|
Benchmarks Report 🐌Benchmarks for #4774 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.Asm.AppSecBodyBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.Asm.AppSecWafBenchmark - 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 - Slower
|
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.DbCommandBenchmark.ExecuteNonQuery‑net6.0 | 1.114 | 987.96 | 1,101.04 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | ExecuteNonQuery |
net6.0 | 988ns | 0.525ns | 1.96ns | 0.011 | 0 | 0 | 768 B |
master | ExecuteNonQuery |
netcoreapp3.1 | 1.3μs | 0.853ns | 3.19ns | 0.0104 | 0 | 0 | 768 B |
master | ExecuteNonQuery |
net472 | 1.6μs | 0.348ns | 1.35ns | 0.115 | 0 | 0 | 730 B |
#4774 | ExecuteNonQuery |
net6.0 | 1.1μs | 0.632ns | 2.36ns | 0.0105 | 0 | 0 | 768 B |
#4774 | ExecuteNonQuery |
netcoreapp3.1 | 1.29μs | 0.526ns | 2.04ns | 0.0103 | 0 | 0 | 768 B |
#4774 | ExecuteNonQuery |
net472 | 1.61μs | 1.43ns | 4.96ns | 0.116 | 0 | 0 | 730 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.07μs | 0.463ns | 1.73ns | 0.0129 | 0 | 0 | 936 B |
master | CallElasticsearch |
netcoreapp3.1 | 1.43μs | 0.386ns | 1.39ns | 0.0121 | 0 | 0 | 936 B |
master | CallElasticsearch |
net472 | 2.33μs | 0.831ns | 3ns | 0.152 | 0 | 0 | 955 B |
master | CallElasticsearchAsync |
net6.0 | 1.17μs | 0.761ns | 2.95ns | 0.0124 | 0 | 0 | 912 B |
master | CallElasticsearchAsync |
netcoreapp3.1 | 1.59μs | 0.49ns | 1.9ns | 0.0127 | 0 | 0 | 984 B |
master | CallElasticsearchAsync |
net472 | 2.43μs | 0.761ns | 2.63ns | 0.16 | 0 | 0 | 1.01 KB |
#4774 | CallElasticsearch |
net6.0 | 1.17μs | 0.63ns | 2.44ns | 0.0129 | 0 | 0 | 936 B |
#4774 | CallElasticsearch |
netcoreapp3.1 | 1.41μs | 0.653ns | 2.53ns | 0.0127 | 0 | 0 | 936 B |
#4774 | CallElasticsearch |
net472 | 2.37μs | 1.38ns | 5.35ns | 0.151 | 0 | 0 | 955 B |
#4774 | CallElasticsearchAsync |
net6.0 | 1.23μs | 0.669ns | 2.5ns | 0.0124 | 0 | 0 | 912 B |
#4774 | CallElasticsearchAsync |
netcoreapp3.1 | 1.5μs | 1.2ns | 4.66ns | 0.0129 | 0 | 0 | 984 B |
#4774 | CallElasticsearchAsync |
net472 | 2.43μs | 1.14ns | 4.27ns | 0.161 | 0 | 0 | 1.01 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.19μs | 1.02ns | 3.94ns | 0.0131 | 0 | 0 | 912 B |
master | ExecuteAsync |
netcoreapp3.1 | 1.58μs | 0.806ns | 3.02ns | 0.0118 | 0 | 0 | 912 B |
master | ExecuteAsync |
net472 | 1.74μs | 0.336ns | 1.21ns | 0.138 | 0 | 0 | 875 B |
#4774 | ExecuteAsync |
net6.0 | 1.19μs | 1.47ns | 5.7ns | 0.013 | 0 | 0 | 912 B |
#4774 | ExecuteAsync |
netcoreapp3.1 | 1.53μs | 0.893ns | 3.46ns | 0.0123 | 0 | 0 | 912 B |
#4774 | ExecuteAsync |
net472 | 1.76μs | 1.82ns | 7.05ns | 0.139 | 0 | 0 | 875 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 | 3.89μs | 3.11ns | 12.1ns | 0.0254 | 0 | 0 | 1.9 KB |
master | SendAsync |
netcoreapp3.1 | 4.39μs | 2.25ns | 8.41ns | 0.0328 | 0 | 0 | 2.43 KB |
master | SendAsync |
net472 | 7.04μs | 2.23ns | 8.34ns | 0.475 | 0 | 0 | 2.99 KB |
#4774 | SendAsync |
net6.0 | 3.88μs | 2.07ns | 8.02ns | 0.0252 | 0 | 0 | 1.9 KB |
#4774 | SendAsync |
netcoreapp3.1 | 4.43μs | 0.962ns | 3.73ns | 0.0333 | 0 | 0 | 2.43 KB |
#4774 | SendAsync |
net472 | 7.01μs | 3.24ns | 12.6ns | 0.475 | 0 | 0 | 2.99 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.39μs | 0.826ns | 3.2ns | 0.0221 | 0 | 0 | 1.57 KB |
master | EnrichedLog |
netcoreapp3.1 | 1.9μs | 1.22ns | 4.73ns | 0.0208 | 0 | 0 | 1.57 KB |
master | EnrichedLog |
net472 | 2.31μs | 3.72ns | 14.4ns | 0.236 | 0 | 0 | 1.49 KB |
#4774 | EnrichedLog |
net6.0 | 1.31μs | 0.456ns | 1.7ns | 0.0218 | 0 | 0 | 1.57 KB |
#4774 | EnrichedLog |
netcoreapp3.1 | 2μs | 0.632ns | 2.45ns | 0.0209 | 0 | 0 | 1.57 KB |
#4774 | EnrichedLog |
net472 | 2.31μs | 1.34ns | 5.01ns | 0.236 | 0 | 0 | 1.49 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 | 111μs | 55ns | 206ns | 0.0558 | 0 | 0 | 4.21 KB |
master | EnrichedLog |
netcoreapp3.1 | 117μs | 129ns | 501ns | 0 | 0 | 0 | 4.21 KB |
master | EnrichedLog |
net472 | 147μs | 90.9ns | 352ns | 0.66 | 0.22 | 0 | 4.38 KB |
#4774 | EnrichedLog |
net6.0 | 113μs | 96.3ns | 373ns | 0.0571 | 0 | 0 | 4.21 KB |
#4774 | EnrichedLog |
netcoreapp3.1 | 117μs | 146ns | 565ns | 0 | 0 | 0 | 4.21 KB |
#4774 | EnrichedLog |
net472 | 147μs | 162ns | 628ns | 0.663 | 0.221 | 0 | 4.38 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.9μs | 1.27ns | 4.91ns | 0.0304 | 0 | 0 | 2.13 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.97μs | 1.1ns | 4.25ns | 0.0278 | 0 | 0 | 2.13 KB |
master | EnrichedLog |
net472 | 4.59μs | 1.6ns | 6.21ns | 0.307 | 0 | 0 | 1.93 KB |
#4774 | EnrichedLog |
net6.0 | 3.14μs | 1.13ns | 4.38ns | 0.0296 | 0 | 0 | 2.13 KB |
#4774 | EnrichedLog |
netcoreapp3.1 | 4.03μs | 1.77ns | 6.64ns | 0.0282 | 0 | 0 | 2.13 KB |
#4774 | EnrichedLog |
net472 | 4.57μs | 2.35ns | 9.11ns | 0.306 | 0 | 0 | 1.93 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.3μs | 0.458ns | 1.77ns | 0.0156 | 0 | 0 | 1.1 KB |
master | SendReceive |
netcoreapp3.1 | 1.56μs | 0.583ns | 2.1ns | 0.0149 | 0 | 0 | 1.1 KB |
master | SendReceive |
net472 | 2.01μs | 1.94ns | 7.27ns | 0.177 | 0 | 0 | 1.12 KB |
#4774 | SendReceive |
net6.0 | 1.24μs | 0.584ns | 2.26ns | 0.0155 | 0 | 0 | 1.1 KB |
#4774 | SendReceive |
netcoreapp3.1 | 1.59μs | 2.16ns | 8.38ns | 0.015 | 0 | 0 | 1.1 KB |
#4774 | SendReceive |
net472 | 1.97μs | 0.972ns | 3.51ns | 0.177 | 0 | 0 | 1.12 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.61μs | 0.746ns | 2.89ns | 0.0209 | 0 | 0 | 1.53 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.7μs | 2.02ns | 7.82ns | 0.0203 | 0 | 0 | 1.58 KB |
master | EnrichedLog |
net472 | 3.91μs | 2.2ns | 7.94ns | 0.309 | 0 | 0 | 1.96 KB |
#4774 | EnrichedLog |
net6.0 | 2.73μs | 1.4ns | 5.25ns | 0.0204 | 0 | 0 | 1.53 KB |
#4774 | EnrichedLog |
netcoreapp3.1 | 3.61μs | 1.27ns | 4.9ns | 0.0217 | 0 | 0 | 1.58 KB |
#4774 | EnrichedLog |
net472 | 3.99μs | 1.44ns | 5.19ns | 0.311 | 0 | 0 | 1.96 KB |
Benchmarks.Trace.SpanBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #4774
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑netcoreapp3.1
1.236
636.19
514.71
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑netcoreapp3.1 | 1.236 | 636.19 | 514.71 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 507ns | 0.692ns | 2.59ns | 0.00742 | 0 | 0 | 536 B |
master | StartFinishSpan |
netcoreapp3.1 | 636ns | 0.164ns | 0.634ns | 0.0074 | 0 | 0 | 536 B |
master | StartFinishSpan |
net472 | 661ns | 0.248ns | 0.96ns | 0.0852 | 0 | 0 | 538 B |
master | StartFinishScope |
net6.0 | 520ns | 0.263ns | 1.02ns | 0.0092 | 0 | 0 | 656 B |
master | StartFinishScope |
netcoreapp3.1 | 699ns | 0.235ns | 0.879ns | 0.0087 | 0 | 0 | 656 B |
master | StartFinishScope |
net472 | 822ns | 0.405ns | 1.57ns | 0.0981 | 0 | 0 | 618 B |
#4774 | StartFinishSpan |
net6.0 | 457ns | 0.141ns | 0.526ns | 0.00743 | 0 | 0 | 536 B |
#4774 | StartFinishSpan |
netcoreapp3.1 | 515ns | 0.118ns | 0.441ns | 0.00723 | 0 | 0 | 536 B |
#4774 | StartFinishSpan |
net472 | 598ns | 0.194ns | 0.727ns | 0.0854 | 0 | 0 | 538 B |
#4774 | StartFinishScope |
net6.0 | 555ns | 0.252ns | 0.977ns | 0.00918 | 0 | 0 | 656 B |
#4774 | StartFinishScope |
netcoreapp3.1 | 709ns | 1.78ns | 6.9ns | 0.00877 | 0 | 0 | 656 B |
#4774 | StartFinishScope |
net472 | 838ns | 0.686ns | 2.66ns | 0.0978 | 0 | 0 | 618 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 | 540ns | 0.433ns | 1.68ns | 0.0092 | 0 | 0 | 656 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 784ns | 0.313ns | 1.21ns | 0.00903 | 0 | 0 | 656 B |
master | RunOnMethodBegin |
net472 | 1.05μs | 0.486ns | 1.88ns | 0.098 | 0 | 0 | 618 B |
#4774 | RunOnMethodBegin |
net6.0 | 527ns | 0.204ns | 0.791ns | 0.00929 | 0 | 0 | 656 B |
#4774 | RunOnMethodBegin |
netcoreapp3.1 | 861ns | 0.666ns | 2.58ns | 0.00857 | 0 | 0 | 656 B |
#4774 | RunOnMethodBegin |
net472 | 1.01μs | 0.419ns | 1.62ns | 0.0981 | 0 | 0 | 618 B |
56af1df
to
ebd793b
Compare
Summary of changes
Display a specific message when IIS is not installed.
Reason for change
It looks like some people are trying to run the tool without installing IIS.
Implementation details
Asked some people to give me the error code then pasted it in the code.
Test coverage
That's difficult to test, short of asking some people to run it on their machine.