-
Notifications
You must be signed in to change notification settings - Fork 135
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
[ASM] Fix exception when accessing ReportedExternalWafsRequestHeaders #6030
base: master
Are you sure you want to change the base?
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 (6030) - mean (69ms) : 67, 71
. : milestone, 69,
master - mean (70ms) : 67, 74
. : milestone, 70,
section CallTarget+Inlining+NGEN
This PR (6030) - mean (1,114ms) : 1090, 1138
. : milestone, 1114,
master - mean (1,117ms) : 1094, 1140
. : milestone, 1117,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6030) - mean (109ms) : 106, 112
. : milestone, 109,
master - mean (108ms) : 105, 111
. : milestone, 108,
section CallTarget+Inlining+NGEN
This PR (6030) - mean (810ms) : 798, 822
. : milestone, 810,
master - mean (816ms) : 802, 831
. : milestone, 816,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6030) - mean (92ms) : 90, 95
. : milestone, 92,
master - mean (92ms) : 90, 94
. : milestone, 92,
section CallTarget+Inlining+NGEN
This PR (6030) - mean (768ms) : 750, 786
. : milestone, 768,
master - mean (769ms) : 751, 787
. : milestone, 769,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6030) - mean (190ms) : 187, 194
. : milestone, 190,
master - mean (191ms) : 187, 195
. : milestone, 191,
section CallTarget+Inlining+NGEN
This PR (6030) - mean (1,197ms) : 1172, 1223
. : milestone, 1197,
master - mean (1,199ms) : 1168, 1229
. : milestone, 1199,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6030) - mean (278ms) : 272, 285
. : milestone, 278,
master - mean (276ms) : 271, 281
. : milestone, 276,
section CallTarget+Inlining+NGEN
This PR (6030) - mean (972ms) : 950, 995
. : milestone, 972,
master - mean (975ms) : 955, 994
. : milestone, 975,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6030) - mean (265ms) : 261, 269
. : milestone, 265,
master - mean (265ms) : 259, 271
. : milestone, 265,
section CallTarget+Inlining+NGEN
This PR (6030) - mean (952ms) : 933, 971
. : milestone, 952,
master - mean (948ms) : 923, 973
. : milestone, 948,
|
Datadog ReportBranch report: ❌ 761 Failed (0 Known Flaky), 366304 Passed, 2000 Skipped, 16h 56m 39.34s Total Time ❌ Failed Tests (761)
⌛ Performance Regressions vs Default Branch (4)
|
Benchmarks Report for tracer 🐌Benchmarks for #6030 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 - Slower
|
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0 | 1.284 | 552,229.08 | 709,055.08 | |
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑netcoreapp3.1 | 1.248 | 667,804.76 | 833,146.19 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | WriteAndFlushEnrichedTraces |
net6.0 | 555μs | 2.68μs | 11.7μs | 0.571 | 0 | 0 | 41.51 KB |
master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 671μs | 3.27μs | 13.5μs | 0.331 | 0 | 0 | 41.68 KB |
master | WriteAndFlushEnrichedTraces |
net472 | 867μs | 4.09μs | 15.9μs | 8.33 | 2.5 | 0.417 | 53.3 KB |
#6030 | WriteAndFlushEnrichedTraces |
net6.0 | 709μs | 1.05μs | 3.78μs | 0.355 | 0 | 0 | 41.71 KB |
#6030 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 834μs | 2.84μs | 11μs | 0.414 | 0 | 0 | 41.86 KB |
#6030 | WriteAndFlushEnrichedTraces |
net472 | 961μs | 2.53μs | 9.47μs | 8.24 | 2.42 | 0.484 | 53.28 KB |
Benchmarks.Trace.DbCommandBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | ExecuteNonQuery |
net6.0 | 1.34μs | 2ns | 7.74ns | 0.014 | 0 | 0 | 1.02 KB |
master | ExecuteNonQuery |
netcoreapp3.1 | 1.7μs | 2.12ns | 8.23ns | 0.0138 | 0 | 0 | 1.02 KB |
master | ExecuteNonQuery |
net472 | 2.04μs | 2.19ns | 8.49ns | 0.157 | 0 | 0 | 987 B |
#6030 | ExecuteNonQuery |
net6.0 | 1.57μs | 23.1ns | 231ns | 0.0138 | 0 | 0 | 1.02 KB |
#6030 | ExecuteNonQuery |
netcoreapp3.1 | 1.75μs | 2.06ns | 7.99ns | 0.0133 | 0 | 0 | 1.02 KB |
#6030 | ExecuteNonQuery |
net472 | 2μs | 1.11ns | 4.15ns | 0.157 | 0 | 0 | 987 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.2μs | 1.31ns | 4.88ns | 0.0138 | 0 | 0 | 976 B |
master | CallElasticsearch |
netcoreapp3.1 | 1.56μs | 0.815ns | 3.05ns | 0.0126 | 0 | 0 | 976 B |
master | CallElasticsearch |
net472 | 2.46μs | 1.4ns | 5.43ns | 0.158 | 0 | 0 | 995 B |
master | CallElasticsearchAsync |
net6.0 | 1.22μs | 0.651ns | 2.52ns | 0.0135 | 0 | 0 | 952 B |
master | CallElasticsearchAsync |
netcoreapp3.1 | 1.63μs | 0.433ns | 1.62ns | 0.0138 | 0 | 0 | 1.02 KB |
master | CallElasticsearchAsync |
net472 | 2.64μs | 1.15ns | 4.3ns | 0.166 | 0 | 0 | 1.05 KB |
#6030 | CallElasticsearch |
net6.0 | 1.15μs | 0.825ns | 3.09ns | 0.0138 | 0 | 0 | 976 B |
#6030 | CallElasticsearch |
netcoreapp3.1 | 1.57μs | 0.386ns | 1.44ns | 0.0134 | 0 | 0 | 976 B |
#6030 | CallElasticsearch |
net472 | 2.5μs | 1.29ns | 4.83ns | 0.157 | 0 | 0 | 995 B |
#6030 | CallElasticsearchAsync |
net6.0 | 1.28μs | 0.608ns | 2.27ns | 0.0134 | 0 | 0 | 952 B |
#6030 | CallElasticsearchAsync |
netcoreapp3.1 | 1.67μs | 0.691ns | 2.68ns | 0.0141 | 0 | 0 | 1.02 KB |
#6030 | CallElasticsearchAsync |
net472 | 2.59μs | 1.34ns | 5.2ns | 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.23μs | 1.18ns | 4.24ns | 0.0136 | 0 | 0 | 952 B |
master | ExecuteAsync |
netcoreapp3.1 | 1.69μs | 0.791ns | 3.07ns | 0.0125 | 0 | 0 | 952 B |
master | ExecuteAsync |
net472 | 1.79μs | 0.646ns | 2.5ns | 0.145 | 0 | 0 | 915 B |
#6030 | ExecuteAsync |
net6.0 | 1.26μs | 0.858ns | 3.32ns | 0.0132 | 0 | 0 | 952 B |
#6030 | ExecuteAsync |
netcoreapp3.1 | 1.66μs | 1.28ns | 4.95ns | 0.0131 | 0 | 0 | 952 B |
#6030 | ExecuteAsync |
net472 | 1.8μs | 0.777ns | 2.91ns | 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.13μs | 1.64ns | 6.12ns | 0.031 | 0 | 0 | 2.22 KB |
master | SendAsync |
netcoreapp3.1 | 5.16μs | 2.53ns | 9.79ns | 0.036 | 0 | 0 | 2.76 KB |
master | SendAsync |
net472 | 7.82μs | 3.3ns | 12.8ns | 0.499 | 0 | 0 | 3.15 KB |
#6030 | SendAsync |
net6.0 | 4.14μs | 2.67ns | 9.64ns | 0.0311 | 0 | 0 | 2.22 KB |
#6030 | SendAsync |
netcoreapp3.1 | 5.15μs | 1.86ns | 7.19ns | 0.0361 | 0 | 0 | 2.76 KB |
#6030 | SendAsync |
net472 | 7.82μs | 1.84ns | 6.62ns | 0.497 | 0 | 0 | 3.15 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.47μs | 1.07ns | 4.01ns | 0.0233 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
netcoreapp3.1 | 2.15μs | 2.9ns | 10.5ns | 0.0214 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
net472 | 2.49μs | 1.14ns | 4.27ns | 0.249 | 0 | 0 | 1.57 KB |
#6030 | EnrichedLog |
net6.0 | 1.42μs | 0.407ns | 1.47ns | 0.0231 | 0 | 0 | 1.64 KB |
#6030 | EnrichedLog |
netcoreapp3.1 | 2.25μs | 1.13ns | 4.24ns | 0.0224 | 0 | 0 | 1.64 KB |
#6030 | EnrichedLog |
net472 | 2.48μs | 1.35ns | 5.22ns | 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 | 115ns | 446ns | 0.0573 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
netcoreapp3.1 | 117μs | 111ns | 431ns | 0.0591 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
net472 | 144μs | 116ns | 448ns | 0.649 | 0.216 | 0 | 4.46 KB |
#6030 | EnrichedLog |
net6.0 | 114μs | 139ns | 538ns | 0.0566 | 0 | 0 | 4.28 KB |
#6030 | EnrichedLog |
netcoreapp3.1 | 118μs | 151ns | 586ns | 0.0583 | 0 | 0 | 4.28 KB |
#6030 | EnrichedLog |
net472 | 146μs | 92.8ns | 359ns | 0.656 | 0.219 | 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.09μs | 0.925ns | 3.58ns | 0.0309 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
netcoreapp3.1 | 4.26μs | 1.13ns | 4.22ns | 0.0299 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
net472 | 4.81μs | 1.13ns | 4.4ns | 0.319 | 0 | 0 | 2.02 KB |
#6030 | EnrichedLog |
net6.0 | 3.22μs | 0.711ns | 2.56ns | 0.0306 | 0 | 0 | 2.2 KB |
#6030 | EnrichedLog |
netcoreapp3.1 | 4.31μs | 1.99ns | 7.7ns | 0.03 | 0 | 0 | 2.2 KB |
#6030 | EnrichedLog |
net472 | 4.89μs | 1.44ns | 5.39ns | 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.35μs | 1.5ns | 5.82ns | 0.0161 | 0 | 0 | 1.14 KB |
master | SendReceive |
netcoreapp3.1 | 1.78μs | 3.01ns | 11.7ns | 0.0149 | 0 | 0 | 1.14 KB |
master | SendReceive |
net472 | 2.18μs | 0.561ns | 2.1ns | 0.183 | 0.00109 | 0 | 1.16 KB |
#6030 | SendReceive |
net6.0 | 1.36μs | 0.733ns | 2.84ns | 0.0158 | 0 | 0 | 1.14 KB |
#6030 | SendReceive |
netcoreapp3.1 | 1.68μs | 0.833ns | 3.23ns | 0.0153 | 0 | 0 | 1.14 KB |
#6030 | SendReceive |
net472 | 2.04μs | 0.798ns | 3.09ns | 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.67μs | 1.89ns | 7.3ns | 0.0228 | 0 | 0 | 1.6 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.77μs | 1.64ns | 6.36ns | 0.0207 | 0 | 0 | 1.65 KB |
master | EnrichedLog |
net472 | 4.4μs | 1.2ns | 4.48ns | 0.323 | 0 | 0 | 2.04 KB |
#6030 | EnrichedLog |
net6.0 | 2.9μs | 5.9ns | 22.8ns | 0.0219 | 0 | 0 | 1.6 KB |
#6030 | EnrichedLog |
netcoreapp3.1 | 3.87μs | 1.72ns | 6.66ns | 0.0226 | 0 | 0 | 1.65 KB |
#6030 | EnrichedLog |
net472 | 4.34μs | 1.61ns | 6.02ns | 0.322 | 0 | 0 | 2.04 KB |
Benchmarks.Trace.SpanBenchmark - Slower ⚠️ Same allocations ✔️
Slower ⚠️ in #6030
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑netcoreapp3.1
1.152
543.89
626.57
Faster 🎉 in #6030
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net472
1.166
908.63
778.94
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0
1.135
547.20
482.05
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑netcoreapp3.1 | 1.152 | 543.89 | 626.57 |
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net472 | 1.166 | 908.63 | 778.94 | |
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0 | 1.135 | 547.20 | 482.05 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 402ns | 0.399ns | 1.55ns | 0.00805 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 544ns | 0.477ns | 1.85ns | 0.00789 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 671ns | 0.473ns | 1.71ns | 0.0916 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 548ns | 0.31ns | 1.2ns | 0.00987 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 757ns | 0.599ns | 2.32ns | 0.00933 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 909ns | 2.01ns | 7.77ns | 0.104 | 0 | 0 | 658 B |
#6030 | StartFinishSpan |
net6.0 | 398ns | 0.37ns | 1.43ns | 0.00803 | 0 | 0 | 576 B |
#6030 | StartFinishSpan |
netcoreapp3.1 | 627ns | 0.579ns | 2.24ns | 0.00792 | 0 | 0 | 576 B |
#6030 | StartFinishSpan |
net472 | 640ns | 0.619ns | 2.4ns | 0.0917 | 0 | 0 | 578 B |
#6030 | StartFinishScope |
net6.0 | 482ns | 0.378ns | 1.47ns | 0.00987 | 0 | 0 | 696 B |
#6030 | StartFinishScope |
netcoreapp3.1 | 729ns | 0.587ns | 2.27ns | 0.00977 | 0 | 0 | 696 B |
#6030 | StartFinishScope |
net472 | 778ns | 1.93ns | 7.48ns | 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 | 662ns | 0.895ns | 3.46ns | 0.00963 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 909ns | 0.908ns | 3.52ns | 0.00909 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.17μs | 0.451ns | 1.69ns | 0.104 | 0 | 0 | 658 B |
#6030 | RunOnMethodBegin |
net6.0 | 642ns | 0.569ns | 2.2ns | 0.00979 | 0 | 0 | 696 B |
#6030 | RunOnMethodBegin |
netcoreapp3.1 | 990ns | 1.12ns | 4.33ns | 0.00955 | 0 | 0 | 696 B |
#6030 | RunOnMethodBegin |
net472 | 1.08μs | 1.68ns | 6.51ns | 0.105 | 0 | 0 | 658 B |
Benchmarks Report for appsec 🐌Benchmarks for #6030 compared to master:
The following thresholds were used for comparing the benchmark speeds:
Allocation changes below 0.5% are ignored. Benchmark detailsBenchmarks.Trace.Asm.AppSecBodyBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.Asm.AppSecEncoderBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.Asm.AppSecWafBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.Iast.StringAspectsBenchmark - Slower
|
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net6.0 | 1.192 | 50,900.00 | 60,650.00 | bimodal |
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0 | 256.65 KB | 265.75 KB | 9.1 KB | 3.55% |
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472 | 57.8 KB | 59.04 KB | 1.24 KB | 2.15% |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StringConcatBenchmark |
net6.0 | 50.8μs | 220ns | 793ns | 0 | 0 | 0 | 43.44 KB |
master | StringConcatBenchmark |
netcoreapp3.1 | 59.2μs | 766ns | 7.55μs | 0 | 0 | 0 | 42.64 KB |
master | StringConcatBenchmark |
net472 | 37.1μs | 69.3ns | 259ns | 0 | 0 | 0 | 57.8 KB |
master | StringConcatAspectBenchmark |
net6.0 | 310μs | 1.28μs | 7.47μs | 0 | 0 | 0 | 256.65 KB |
master | StringConcatAspectBenchmark |
netcoreapp3.1 | 332μs | 848ns | 3.17μs | 0 | 0 | 0 | 254.6 KB |
master | StringConcatAspectBenchmark |
net472 | 278μs | 6.01μs | 59.2μs | 0 | 0 | 0 | 278.53 KB |
#6030 | StringConcatBenchmark |
net6.0 | 61.9μs | 874ns | 8.57μs | 0 | 0 | 0 | 43.44 KB |
#6030 | StringConcatBenchmark |
netcoreapp3.1 | 59.1μs | 710ns | 7.03μs | 0 | 0 | 0 | 42.64 KB |
#6030 | StringConcatBenchmark |
net472 | 37.2μs | 69.3ns | 250ns | 0 | 0 | 0 | 59.04 KB |
#6030 | StringConcatAspectBenchmark |
net6.0 | 316μs | 1.68μs | 9.23μs | 0 | 0 | 0 | 265.75 KB |
#6030 | StringConcatAspectBenchmark |
netcoreapp3.1 | 339μs | 1.81μs | 11.5μs | 0 | 0 | 0 | 253.5 KB |
#6030 | StringConcatAspectBenchmark |
net472 | 280μs | 6.13μs | 59.1μs | 0 | 0 | 0 | 278.53 KB |
Throughput/Crank Report ⚡Throughput results for AspNetCoreSimpleController comparing the following branches/commits: Cases where throughput results for the PR are worse than latest master (5% drop or greater), results are shown in red. Note that these results are based on a single point-in-time result for each branch. For full results, see one of the many, many dashboards! gantt
title Throughput Linux x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6030) (10.939M) : 0, 10939012
master (11.336M) : 0, 11336392
benchmarks/2.9.0 (11.235M) : 0, 11234930
section Automatic
This PR (6030) (7.379M) : 0, 7379069
master (7.351M) : 0, 7351044
benchmarks/2.9.0 (7.902M) : 0, 7901974
section Trace stats
master (7.688M) : 0, 7687619
section Manual
master (11.351M) : 0, 11350869
section Manual + Automatic
This PR (6030) (6.750M) : 0, 6750224
master (6.919M) : 0, 6918538
section DD_TRACE_ENABLED=0
master (10.183M) : 0, 10182992
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6030) (9.501M) : 0, 9501350
master (9.672M) : 0, 9671550
benchmarks/2.9.0 (9.468M) : 0, 9467847
section Automatic
This PR (6030) (6.707M) : 0, 6707277
master (6.571M) : 0, 6570524
section Trace stats
master (6.933M) : 0, 6933225
section Manual
master (9.488M) : 0, 9488486
section Manual + Automatic
This PR (6030) (6.164M) : 0, 6164001
master (6.144M) : 0, 6144406
section DD_TRACE_ENABLED=0
master (9.097M) : 0, 9097269
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6030) (10.110M) : 0, 10110304
master (10.183M) : 0, 10182749
benchmarks/2.9.0 (10.191M) : 0, 10191280
section Automatic
This PR (6030) (6.947M) : 0, 6947446
master (6.729M) : 0, 6728961
benchmarks/2.9.0 (7.389M) : 0, 7388665
section Trace stats
master (7.261M) : 0, 7260544
section Manual
master (9.954M) : 0, 9953893
section Manual + Automatic
This PR (6030) (6.433M) : 0, 6433438
master (6.241M) : 0, 6240881
section DD_TRACE_ENABLED=0
master (9.195M) : 0, 9195040
|
Summary of changes
This PR is closely related to this one
In this case, the error is thrown when accessing the key ReportedExternalWafsRequestHeaders
No other httpRequest.Items problematic accesses have been found.
This error can happen only in netcore versions of the framework. When we access httpcontext.Items, the exception is thrown if the key is not found. httpcontext.Items is defined as a IDictionary<object, object>. Usually, it will be a Microsoft.AspNetCore.Http.ItemsDictionary, which does not throw an exception when trying to retrieve a key that is not stored, but other custom implementations such as Dictionary<object, object> will throw it. It seems that in one customer, we are receiving a context in which Items is a Dictionary.
This might be due to custom middlewares, third party extensions, use of custom http contexts, etc.
Reason for change
Implementation details
Test coverage
Other details