[v3] Update behavior of header tags parsing (AIT-8600)#5438
Conversation
8781906 to
ca94b3e
Compare
Datadog ReportBranch report: ✅ 0 Failed, 333033 Passed, 2297 Skipped, 48m 36.76s Wall 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 (5438) - mean (75ms) : 66, 84
. : milestone, 75,
master - mean (73ms) : 65, 82
. : milestone, 73,
section CallTarget+Inlining+NGEN
This PR (5438) - mean (1,045ms) : 1019, 1072
. : milestone, 1045,
master - mean (1,026ms) : 1008, 1044
. : milestone, 1026,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5438) - mean (110ms) : 107, 113
. : milestone, 110,
master - mean (110ms) : 107, 114
. : milestone, 110,
section CallTarget+Inlining+NGEN
This PR (5438) - mean (762ms) : 740, 785
. : milestone, 762,
master - mean (749ms) : 722, 776
. : milestone, 749,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5438) - mean (94ms) : 91, 97
. : milestone, 94,
master - mean (95ms) : 92, 98
. : milestone, 95,
section CallTarget+Inlining+NGEN
This PR (5438) - mean (714ms) : 691, 737
. : milestone, 714,
master - mean (692ms) : 669, 715
. : milestone, 692,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5438) - mean (191ms) : 187, 194
. : milestone, 191,
master - mean (191ms) : 187, 194
. : milestone, 191,
section CallTarget+Inlining+NGEN
This PR (5438) - mean (1,120ms) : 1092, 1147
. : milestone, 1120,
master - mean (1,094ms) : 1066, 1123
. : milestone, 1094,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5438) - mean (275ms) : 270, 281
. : milestone, 275,
master - mean (276ms) : 271, 281
. : milestone, 276,
section CallTarget+Inlining+NGEN
This PR (5438) - mean (902ms) : 877, 928
. : milestone, 902,
master - mean (884ms) : 863, 905
. : milestone, 884,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5438) - mean (265ms) : 259, 270
. : milestone, 265,
master - mean (265ms) : 261, 269
. : milestone, 265,
section CallTarget+Inlining+NGEN
This PR (5438) - mean (897ms) : 869, 926
. : milestone, 897,
master - mean (876ms) : 852, 901
. : milestone, 876,
|
Benchmarks Report for tracer 🐌Benchmarks for #5438 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 ✔️ More allocations
|
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0 | 41.45 KB | 41.75 KB | 294 B | 0.71% |
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑netcoreapp3.1 | 41.57 KB | 41.86 KB | 287 B | 0.69% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | WriteAndFlushEnrichedTraces |
net6.0 | 549μs | 980ns | 3.8μs | 0.546 | 0 | 0 | 41.45 KB |
| master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 660μs | 1.25μs | 4.51μs | 0.332 | 0 | 0 | 41.57 KB |
| master | WriteAndFlushEnrichedTraces |
net472 | 847μs | 3.79μs | 14.7μs | 8.08 | 2.55 | 0.425 | 53.22 KB |
| #5438 | WriteAndFlushEnrichedTraces |
net6.0 | 579μs | 718ns | 2.68μs | 0.563 | 0 | 0 | 41.75 KB |
| #5438 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 653μs | 1.51μs | 5.86μs | 0.326 | 0 | 0 | 41.86 KB |
| #5438 | WriteAndFlushEnrichedTraces |
net472 | 863μs | 4.17μs | 18.2μs | 8.13 | 2.57 | 0.428 | 53.27 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.14μs | 0.764ns | 2.96ns | 0.0114 | 0 | 0 | 808 B |
| master | ExecuteNonQuery |
netcoreapp3.1 | 1.51μs | 0.688ns | 2.66ns | 0.0106 | 0 | 0 | 808 B |
| master | ExecuteNonQuery |
net472 | 1.83μs | 4.13ns | 16ns | 0.122 | 0 | 0 | 770 B |
| #5438 | ExecuteNonQuery |
net6.0 | 1.19μs | 1.1ns | 4.25ns | 0.0114 | 0 | 0 | 808 B |
| #5438 | ExecuteNonQuery |
netcoreapp3.1 | 1.54μs | 1.05ns | 3.92ns | 0.0108 | 0 | 0 | 808 B |
| #5438 | ExecuteNonQuery |
net472 | 1.81μs | 0.529ns | 1.98ns | 0.122 | 0 | 0 | 770 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.27μs | 0.968ns | 3.35ns | 0.0146 | 0 | 0 | 1.03 KB |
| master | CallElasticsearch |
netcoreapp3.1 | 1.59μs | 1.64ns | 6.13ns | 0.0144 | 0 | 0 | 1.03 KB |
| master | CallElasticsearch |
net472 | 2.45μs | 1.74ns | 6.74ns | 0.165 | 0 | 0 | 1.04 KB |
| master | CallElasticsearchAsync |
net6.0 | 1.38μs | 0.613ns | 2.29ns | 0.0144 | 0 | 0 | 1.01 KB |
| master | CallElasticsearchAsync |
netcoreapp3.1 | 1.72μs | 0.858ns | 3.21ns | 0.0146 | 0 | 0 | 1.08 KB |
| master | CallElasticsearchAsync |
net472 | 2.59μs | 1.47ns | 5.7ns | 0.174 | 0 | 0 | 1.1 KB |
| #5438 | CallElasticsearch |
net6.0 | 1.33μs | 0.923ns | 3.57ns | 0.0142 | 0 | 0 | 1.03 KB |
| #5438 | CallElasticsearch |
netcoreapp3.1 | 1.56μs | 1.07ns | 4ns | 0.0132 | 0 | 0 | 1.03 KB |
| #5438 | CallElasticsearch |
net472 | 2.61μs | 1.19ns | 4.28ns | 0.166 | 0 | 0 | 1.04 KB |
| #5438 | CallElasticsearchAsync |
net6.0 | 1.31μs | 0.833ns | 3.12ns | 0.0139 | 0 | 0 | 1.01 KB |
| #5438 | CallElasticsearchAsync |
netcoreapp3.1 | 1.78μs | 0.88ns | 3.29ns | 0.0143 | 0 | 0 | 1.08 KB |
| #5438 | CallElasticsearchAsync |
net472 | 2.59μs | 1.34ns | 5.02ns | 0.174 | 0 | 0 | 1.1 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.3μs | 0.692ns | 2.68ns | 0.013 | 0 | 0 | 952 B |
| master | ExecuteAsync |
netcoreapp3.1 | 1.72μs | 0.882ns | 3.41ns | 0.0127 | 0 | 0 | 952 B |
| master | ExecuteAsync |
net472 | 1.77μs | 1.11ns | 4.31ns | 0.145 | 0 | 0 | 915 B |
| #5438 | ExecuteAsync |
net6.0 | 1.33μs | 0.504ns | 1.88ns | 0.0134 | 0 | 0 | 952 B |
| #5438 | ExecuteAsync |
netcoreapp3.1 | 1.64μs | 2.23ns | 8.33ns | 0.0131 | 0 | 0 | 952 B |
| #5438 | ExecuteAsync |
net472 | 1.87μs | 0.942ns | 3.65ns | 0.145 | 0.000924 | 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.11μs | 1.25ns | 4.86ns | 0.0309 | 0 | 0 | 2.27 KB |
| master | SendAsync |
netcoreapp3.1 | 5.18μs | 2.53ns | 9.8ns | 0.0365 | 0 | 0 | 2.81 KB |
| master | SendAsync |
net472 | 7.92μs | 1.9ns | 6.85ns | 0.504 | 0 | 0 | 3.18 KB |
| #5438 | SendAsync |
net6.0 | 4.28μs | 1.78ns | 6.91ns | 0.0321 | 0 | 0 | 2.27 KB |
| #5438 | SendAsync |
netcoreapp3.1 | 5.08μs | 2.71ns | 10.5ns | 0.0379 | 0 | 0 | 2.81 KB |
| #5438 | SendAsync |
net472 | 7.7μs | 3.36ns | 13ns | 0.504 | 0 | 0 | 3.18 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.55μs | 1.03ns | 3.84ns | 0.0236 | 0 | 0 | 1.7 KB |
| master | EnrichedLog |
netcoreapp3.1 | 2.31μs | 2.8ns | 10.8ns | 0.0228 | 0 | 0 | 1.7 KB |
| master | EnrichedLog |
net472 | 2.75μs | 2.01ns | 6.95ns | 0.257 | 0 | 0 | 1.62 KB |
| #5438 | EnrichedLog |
net6.0 | 1.56μs | 0.838ns | 3.24ns | 0.0242 | 0 | 0 | 1.7 KB |
| #5438 | EnrichedLog |
netcoreapp3.1 | 2.31μs | 2.2ns | 8.54ns | 0.0226 | 0 | 0 | 1.7 KB |
| #5438 | EnrichedLog |
net472 | 2.71μs | 1.58ns | 5.7ns | 0.258 | 0 | 0 | 1.62 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 | 113μs | 222ns | 861ns | 0.0565 | 0 | 0 | 4.28 KB |
| master | EnrichedLog |
netcoreapp3.1 | 119μs | 153ns | 552ns | 0 | 0 | 0 | 4.28 KB |
| master | EnrichedLog |
net472 | 150μs | 163ns | 630ns | 0.668 | 0.223 | 0 | 4.46 KB |
| #5438 | EnrichedLog |
net6.0 | 112μs | 190ns | 734ns | 0.056 | 0 | 0 | 4.28 KB |
| #5438 | EnrichedLog |
netcoreapp3.1 | 119μs | 203ns | 785ns | 0 | 0 | 0 | 4.28 KB |
| #5438 | EnrichedLog |
net472 | 153μs | 208ns | 805ns | 0.685 | 0.228 | 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.07μs | 1.22ns | 4.56ns | 0.0321 | 0 | 0 | 2.25 KB |
| master | EnrichedLog |
netcoreapp3.1 | 4.34μs | 1.89ns | 7.07ns | 0.03 | 0 | 0 | 2.25 KB |
| master | EnrichedLog |
net472 | 4.96μs | 0.952ns | 3.69ns | 0.328 | 0 | 0 | 2.07 KB |
| #5438 | EnrichedLog |
net6.0 | 2.96μs | 0.872ns | 3.26ns | 0.0311 | 0 | 0 | 2.25 KB |
| #5438 | EnrichedLog |
netcoreapp3.1 | 4.19μs | 4.5ns | 16.8ns | 0.0292 | 0 | 0 | 2.25 KB |
| #5438 | EnrichedLog |
net472 | 4.79μs | 1.74ns | 6.73ns | 0.328 | 0 | 0 | 2.07 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.41μs | 0.792ns | 2.96ns | 0.017 | 0 | 0 | 1.2 KB |
| master | SendReceive |
netcoreapp3.1 | 1.79μs | 2.24ns | 8.69ns | 0.0162 | 0 | 0 | 1.2 KB |
| master | SendReceive |
net472 | 2.27μs | 1.85ns | 7.16ns | 0.191 | 0 | 0 | 1.2 KB |
| #5438 | SendReceive |
net6.0 | 1.55μs | 1.04ns | 4.02ns | 0.017 | 0 | 0 | 1.2 KB |
| #5438 | SendReceive |
netcoreapp3.1 | 1.94μs | 1.13ns | 4.23ns | 0.0165 | 0 | 0 | 1.2 KB |
| #5438 | SendReceive |
net472 | 2.28μs | 3.88ns | 15ns | 0.191 | 0.00113 | 0 | 1.2 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.71μs | 1.23ns | 4.75ns | 0.0217 | 0 | 0 | 1.6 KB |
| master | EnrichedLog |
netcoreapp3.1 | 3.93μs | 1.82ns | 6.83ns | 0.0215 | 0 | 0 | 1.65 KB |
| master | EnrichedLog |
net472 | 4.38μs | 1.64ns | 5.92ns | 0.322 | 0 | 0 | 2.04 KB |
| #5438 | EnrichedLog |
net6.0 | 2.73μs | 0.993ns | 3.71ns | 0.0217 | 0 | 0 | 1.6 KB |
| #5438 | EnrichedLog |
netcoreapp3.1 | 4.08μs | 1.86ns | 7.19ns | 0.0224 | 0 | 0 | 1.65 KB |
| #5438 | EnrichedLog |
net472 | 4.5μs | 1.56ns | 5.84ns | 0.323 | 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 | 542ns | 0.209ns | 0.781ns | 0.00819 | 0 | 0 | 576 B |
| master | StartFinishSpan |
netcoreapp3.1 | 736ns | 0.46ns | 1.59ns | 0.00773 | 0 | 0 | 576 B |
| master | StartFinishSpan |
net472 | 792ns | 0.288ns | 1.11ns | 0.0916 | 0 | 0 | 578 B |
| master | StartFinishScope |
net6.0 | 611ns | 0.188ns | 0.702ns | 0.0098 | 0 | 0 | 696 B |
| master | StartFinishScope |
netcoreapp3.1 | 795ns | 0.314ns | 1.18ns | 0.00943 | 0 | 0 | 696 B |
| master | StartFinishScope |
net472 | 997ns | 0.638ns | 2.47ns | 0.104 | 0 | 0 | 658 B |
| #5438 | StartFinishSpan |
net6.0 | 527ns | 0.208ns | 0.778ns | 0.00804 | 0 | 0 | 576 B |
| #5438 | StartFinishSpan |
netcoreapp3.1 | 682ns | 0.53ns | 2.05ns | 0.00787 | 0 | 0 | 576 B |
| #5438 | StartFinishSpan |
net472 | 841ns | 0.398ns | 1.54ns | 0.0915 | 0 | 0 | 578 B |
| #5438 | StartFinishScope |
net6.0 | 598ns | 0.223ns | 0.835ns | 0.00964 | 0 | 0 | 696 B |
| #5438 | StartFinishScope |
netcoreapp3.1 | 865ns | 2.47ns | 9.24ns | 0.00944 | 0 | 0 | 696 B |
| #5438 | StartFinishScope |
net472 | 941ns | 0.442ns | 1.71ns | 0.104 | 0 | 0 | 658 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #5438
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0
1.115
692.11
621.00
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0 | 1.115 | 692.11 | 621.00 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | RunOnMethodBegin |
net6.0 | 692ns | 0.118ns | 0.425ns | 0.00975 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
netcoreapp3.1 | 935ns | 2.12ns | 8.21ns | 0.00952 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
net472 | 1.15μs | 0.409ns | 1.58ns | 0.104 | 0 | 0 | 658 B |
| #5438 | RunOnMethodBegin |
net6.0 | 621ns | 0.349ns | 1.35ns | 0.00972 | 0 | 0 | 696 B |
| #5438 | RunOnMethodBegin |
netcoreapp3.1 | 970ns | 0.366ns | 1.42ns | 0.00926 | 0 | 0 | 696 B |
| #5438 | RunOnMethodBegin |
net472 | 1.12μs | 0.511ns | 1.98ns | 0.104 | 0 | 0 | 658 B |
Benchmarks Report for appsec 🐌Benchmarks for #5438 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 - Same speed ✔️ More allocations
|
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1 | 201.65 KB | 213.38 KB | 11.74 KB | 5.82% |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472 | 59.39 KB | 62.48 KB | 3.09 KB | 5.20% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StringConcatBenchmark |
net6.0 | 62.1μs | 730ns | 7.15μs | 0 | 0 | 0 | 43.44 KB |
| master | StringConcatBenchmark |
netcoreapp3.1 | 52.7μs | 144ns | 718ns | 0 | 0 | 0 | 42.64 KB |
| master | StringConcatBenchmark |
net472 | 37.9μs | 70.8ns | 265ns | 0 | 0 | 0 | 59.39 KB |
| master | StringConcatAspectBenchmark |
net6.0 | 286μs | 977ns | 3.91μs | 0 | 0 | 0 | 203.15 KB |
| master | StringConcatAspectBenchmark |
netcoreapp3.1 | 315μs | 1.23μs | 6.53μs | 0 | 0 | 0 | 201.65 KB |
| master | StringConcatAspectBenchmark |
net472 | 223μs | 1.74μs | 16.1μs | 0 | 0 | 0 | 221.18 KB |
| #5438 | StringConcatBenchmark |
net6.0 | 59.9μs | 691ns | 6.87μs | 0 | 0 | 0 | 43.44 KB |
| #5438 | StringConcatBenchmark |
netcoreapp3.1 | 53.1μs | 270ns | 1.18μs | 0 | 0 | 0 | 42.64 KB |
| #5438 | StringConcatBenchmark |
net472 | 37.9μs | 102ns | 382ns | 0 | 0 | 0 | 62.48 KB |
| #5438 | StringConcatAspectBenchmark |
net6.0 | 284μs | 1.16μs | 5.92μs | 0 | 0 | 0 | 203.02 KB |
| #5438 | StringConcatAspectBenchmark |
netcoreapp3.1 | 327μs | 1.47μs | 7.05μs | 0 | 0 | 0 | 213.38 KB |
| #5438 | StringConcatAspectBenchmark |
net472 | 242μs | 1.14μs | 4.43μs | 0 | 0 | 0 | 221.18 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 (5438) (12.014M) : 0, 12014447
master (11.872M) : 0, 11871853
benchmarks/2.9.0 (11.789M) : 0, 11788701
section Automatic
This PR (5438) (7.980M) : 0, 7980244
master (8.122M) : 0, 8121974
benchmarks/2.9.0 (8.425M) : 0, 8424917
section Trace stats
master (8.406M) : 0, 8405590
section Manual
master (10.271M) : 0, 10270624
section Manual + Automatic
This PR (5438) (7.384M) : 0, 7383847
master (7.695M) : 0, 7695217
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (5438) (9.602M) : 0, 9602262
master (9.545M) : 0, 9545003
benchmarks/2.9.0 (9.662M) : 0, 9661917
section Automatic
This PR (5438) (6.601M) : 0, 6600926
master (6.566M) : 0, 6565524
section Trace stats
master (6.959M) : 0, 6959490
section Manual
master (8.429M) : 0, 8429188
section Manual + Automatic
This PR (5438) (6.201M) : 0, 6201062
master (6.070M) : 0, 6070479
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (5438) (9.378M) : 0, 9378121
master (9.920M) : 0, 9919790
benchmarks/2.9.0 (10.112M) : 0, 10112480
section Automatic
This PR (5438) (6.898M) : 0, 6897873
master (6.995M) : 0, 6995276
benchmarks/2.9.0 (7.493M) : 0, 7492592
section Trace stats
master (7.366M) : 0, 7365716
section Manual
master (8.548M) : 0, 8547650
section Manual + Automatic
This PR (5438) (6.423M) : 0, 6422662
master (6.725M) : 0, 6725243
|
ca94b3e to
5db4cdd
Compare
5db4cdd to
41ff92a
Compare
41ff92a to
be94c88
Compare
andrewlock
left a comment
There was a problem hiding this comment.
LGTM, could you also update the migration doc? Not sure if need to update the "changes to settings" doc, or a general "changes to behaviour" section?
be94c88 to
34fde88
Compare
34fde88 to
1959c0b
Compare
4bcd729 to
2d299eb
Compare
2d299eb to
5da1d18
Compare
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
* Update TracerSettingsTests to assert current HeaderTags behaviors * BREAKING CHANGE GetDictionary has some new behaviors when allowOptionalMappings is true, to reflect the true usage where this flag indicates whether we are parsing header tags or not. The new behaviors include: - In this scenario, strings that end in a colon are now considered invalid - In this scenario, the last colon in the string is used to determine the key-value split, not the first colon * Update tracer/src/Datadog.Trace/Configuration/ConfigurationSources/StringConfigurationSource.cs Co-authored-by: Steven Bouwkamp <[email protected]> * nit: update comment * Add migration guide --------- Co-authored-by: Andrew Lock <[email protected]> Co-authored-by: Steven Bouwkamp <[email protected]>
Summary of changes
Updates the behavior of header tags parsing, which occurs in the tracer code when
StringConfigurationSource.ParseCustomKeyValuesis invoked with parameterallowOptionalMappings=true.The new BREAKING behavior (again, limited to header tags parsing) is the following:
:char in the string instead of the first oneReason for change
This behavior will be breaking for some inputs, so it would be best to include this in a major version update.
Implementation details
Test coverage
Updated the unit tests and ran the in-progress build against the following system-tests test cases with success:
test_library_conf.py::Test_HeaderTags_Colon_Trailingtest_library_conf.py::Test_HeaderTags_Whitespace_TagAs a result of the system-tests updates, .NET will pass all of the HeaderTags tests in
test_library_conf.pyOther details
Fixes AIT-8600