-
Notifications
You must be signed in to change notification settings - Fork 143
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
[IAST] Fix compilation of Samples.Security.AspNetCore2 #6441
Conversation
Datadog ReportBranch report: ❌ 3 Failed (0 Known Flaky), 457794 Passed, 2848 Skipped, 19h 41m 25.12s Total Time ❌ Failed Tests (3) |
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 (6441) - mean (68ms) : 65, 71
. : milestone, 68,
master - mean (68ms) : 65, 71
. : milestone, 68,
section CallTarget+Inlining+NGEN
This PR (6441) - mean (981ms) : 950, 1012
. : milestone, 981,
master - mean (977ms) : 953, 1000
. : milestone, 977,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6441) - mean (107ms) : 105, 109
. : milestone, 107,
master - mean (107ms) : 105, 109
. : milestone, 107,
section CallTarget+Inlining+NGEN
This PR (6441) - mean (678ms) : 667, 690
. : milestone, 678,
master - mean (677ms) : 660, 694
. : milestone, 677,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6441) - mean (91ms) : 89, 93
. : milestone, 91,
master - mean (91ms) : 89, 93
. : milestone, 91,
section CallTarget+Inlining+NGEN
This PR (6441) - mean (634ms) : 621, 648
. : milestone, 634,
master - mean (633ms) : 615, 650
. : milestone, 633,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6441) - mean (193ms) : 190, 197
. : milestone, 193,
master - mean (194ms) : 190, 198
. : milestone, 194,
section CallTarget+Inlining+NGEN
This PR (6441) - mean (1,106ms) : 1075, 1138
. : milestone, 1106,
master - mean (1,098ms) : 1071, 1125
. : milestone, 1098,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6441) - mean (277ms) : 274, 281
. : milestone, 277,
master - mean (277ms) : 271, 282
. : milestone, 277,
section CallTarget+Inlining+NGEN
This PR (6441) - mean (872ms) : 844, 901
. : milestone, 872,
master - mean (873ms) : 838, 908
. : milestone, 873,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6441) - mean (266ms) : 262, 270
. : milestone, 266,
master - mean (266ms) : 262, 270
. : milestone, 266,
section CallTarget+Inlining+NGEN
This PR (6441) - mean (852ms) : 814, 890
. : milestone, 852,
master - mean (853ms) : 820, 885
. : milestone, 853,
|
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 (6441) (11.094M) : 0, 11094042
master (11.207M) : 0, 11207401
benchmarks/2.9.0 (11.033M) : 0, 11032866
section Automatic
This PR (6441) (7.269M) : 0, 7268640
master (7.306M) : 0, 7305881
benchmarks/2.9.0 (7.786M) : 0, 7785853
section Trace stats
master (7.547M) : 0, 7547108
section Manual
master (10.807M) : 0, 10807085
section Manual + Automatic
This PR (6441) (6.842M) : 0, 6842341
master (6.654M) : 0, 6654300
section DD_TRACE_ENABLED=0
master (10.240M) : 0, 10239959
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6441) (9.683M) : 0, 9683210
master (9.559M) : 0, 9558927
benchmarks/2.9.0 (9.495M) : 0, 9494821
section Automatic
This PR (6441) (6.165M) : 0, 6164699
master (6.276M) : 0, 6276496
section Trace stats
master (6.702M) : 0, 6702308
section Manual
master (9.582M) : 0, 9582063
section Manual + Automatic
This PR (6441) (5.726M) : 0, 5726298
master (5.938M) : 0, 5937696
section DD_TRACE_ENABLED=0
master (9.073M) : 0, 9072831
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6441) (10.025M) : 0, 10025227
master (10.036M) : 0, 10035894
benchmarks/2.9.0 (10.020M) : 0, 10019592
section Automatic
This PR (6441) (6.410M) : 0, 6410343
master (6.535M) : 0, 6535216
benchmarks/2.9.0 (7.255M) : 0, 7255257
section Trace stats
master (7.175M) : 0, 7175343
section Manual
master (9.942M) : 0, 9942221
section Manual + Automatic
This PR (6441) (6.019M) : 0, 6019433
master (6.147M) : 0, 6147492
section DD_TRACE_ENABLED=0
master (9.295M) : 0, 9295444
|
Benchmarks Report for appsec 🐌Benchmarks for #6441 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‑net6.0 | 254.37 KB | 263.09 KB | 8.72 KB | 3.43% |
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472 | 62.46 KB | 62.09 KB | -376 B | -0.60% |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StringConcatBenchmark |
net6.0 | 58.4μs | 717ns | 7.1μs | 0 | 0 | 0 | 43.44 KB |
master | StringConcatBenchmark |
netcoreapp3.1 | 52.9μs | 235ns | 912ns | 0 | 0 | 0 | 42.64 KB |
master | StringConcatBenchmark |
net472 | 36.9μs | 125ns | 468ns | 0 | 0 | 0 | 62.46 KB |
master | StringConcatAspectBenchmark |
net6.0 | 310μs | 1.76μs | 12.4μs | 0 | 0 | 0 | 254.37 KB |
master | StringConcatAspectBenchmark |
netcoreapp3.1 | 338μs | 1.6μs | 6.59μs | 0 | 0 | 0 | 252.92 KB |
master | StringConcatAspectBenchmark |
net472 | 281μs | 5.99μs | 58.1μs | 0 | 0 | 0 | 278.53 KB |
#6441 | StringConcatBenchmark |
net6.0 | 59.4μs | 775ns | 7.63μs | 0 | 0 | 0 | 43.44 KB |
#6441 | StringConcatBenchmark |
netcoreapp3.1 | 58μs | 736ns | 7.24μs | 0 | 0 | 0 | 42.64 KB |
#6441 | StringConcatBenchmark |
net472 | 37.1μs | 92.3ns | 333ns | 0 | 0 | 0 | 62.09 KB |
#6441 | StringConcatAspectBenchmark |
net6.0 | 326μs | 1.82μs | 11.8μs | 0 | 0 | 0 | 263.09 KB |
#6441 | StringConcatAspectBenchmark |
netcoreapp3.1 | 336μs | 1.85μs | 11.3μs | 0 | 0 | 0 | 253.21 KB |
#6441 | StringConcatAspectBenchmark |
net472 | 283μs | 5.9μs | 57.8μs | 0 | 0 | 0 | 278.53 KB |
Benchmarks Report for tracer 🐌Benchmarks for #6441 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 ✔️ Fewer allocations 🎉
|
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0 | 41.79 KB | 41.44 KB | -350 B | -0.84% |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | WriteAndFlushEnrichedTraces |
net6.0 | 588μs | 3.25μs | 19.2μs | 0.561 | 0 | 0 | 41.79 KB |
master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 653μs | 2.92μs | 16μs | 0.331 | 0 | 0 | 41.87 KB |
master | WriteAndFlushEnrichedTraces |
net472 | 838μs | 4.22μs | 17.9μs | 8.52 | 2.44 | 0.406 | 53.26 KB |
#6441 | WriteAndFlushEnrichedTraces |
net6.0 | 547μs | 2.43μs | 9.42μs | 0.558 | 0 | 0 | 41.44 KB |
#6441 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 680μs | 3.73μs | 23μs | 0.322 | 0 | 0 | 41.92 KB |
#6441 | WriteAndFlushEnrichedTraces |
net472 | 862μs | 3.62μs | 14μs | 8.33 | 2.5 | 0.417 | 53.31 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.3μs | 1.02ns | 3.94ns | 0.0146 | 0 | 0 | 1.02 KB |
master | ExecuteNonQuery |
netcoreapp3.1 | 1.81μs | 2.54ns | 9.85ns | 0.0136 | 0 | 0 | 1.02 KB |
master | ExecuteNonQuery |
net472 | 2.14μs | 1.84ns | 7.12ns | 0.157 | 0.00107 | 0 | 987 B |
#6441 | ExecuteNonQuery |
net6.0 | 1.25μs | 1.08ns | 4.19ns | 0.0146 | 0 | 0 | 1.02 KB |
#6441 | ExecuteNonQuery |
netcoreapp3.1 | 1.78μs | 2.19ns | 8.48ns | 0.0129 | 0 | 0 | 1.02 KB |
#6441 | ExecuteNonQuery |
net472 | 2.06μs | 1.55ns | 6ns | 0.156 | 0.00102 | 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.33μs | 0.64ns | 2.48ns | 0.0134 | 0 | 0 | 976 B |
master | CallElasticsearch |
netcoreapp3.1 | 1.55μs | 1.39ns | 5.2ns | 0.013 | 0 | 0 | 976 B |
master | CallElasticsearch |
net472 | 2.59μs | 2.4ns | 9.28ns | 0.158 | 0 | 0 | 995 B |
master | CallElasticsearchAsync |
net6.0 | 1.36μs | 0.422ns | 1.52ns | 0.0128 | 0 | 0 | 952 B |
master | CallElasticsearchAsync |
netcoreapp3.1 | 1.64μs | 1.02ns | 3.93ns | 0.014 | 0 | 0 | 1.02 KB |
master | CallElasticsearchAsync |
net472 | 2.58μs | 2.13ns | 8.26ns | 0.166 | 0 | 0 | 1.05 KB |
#6441 | CallElasticsearch |
net6.0 | 1.2μs | 0.539ns | 2.02ns | 0.0133 | 0 | 0 | 976 B |
#6441 | CallElasticsearch |
netcoreapp3.1 | 1.47μs | 0.454ns | 1.7ns | 0.0134 | 0 | 0 | 976 B |
#6441 | CallElasticsearch |
net472 | 2.56μs | 2.48ns | 9.61ns | 0.157 | 0 | 0 | 995 B |
#6441 | CallElasticsearchAsync |
net6.0 | 1.37μs | 0.906ns | 3.51ns | 0.013 | 0 | 0 | 952 B |
#6441 | CallElasticsearchAsync |
netcoreapp3.1 | 1.73μs | 1.49ns | 5.57ns | 0.0138 | 0 | 0 | 1.02 KB |
#6441 | CallElasticsearchAsync |
net472 | 2.65μs | 2.55ns | 9.89ns | 0.166 | 0 | 0 | 1.05 KB |
Benchmarks.Trace.GraphQLBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #6441
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync‑net6.0
1.134
1,381.92
1,218.45
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync‑net6.0 | 1.134 | 1,381.92 | 1,218.45 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | ExecuteAsync |
net6.0 | 1.38μs | 0.494ns | 1.91ns | 0.0128 | 0 | 0 | 952 B |
master | ExecuteAsync |
netcoreapp3.1 | 1.6μs | 0.436ns | 1.63ns | 0.0128 | 0 | 0 | 952 B |
master | ExecuteAsync |
net472 | 1.82μs | 0.371ns | 1.39ns | 0.145 | 0 | 0 | 915 B |
#6441 | ExecuteAsync |
net6.0 | 1.22μs | 0.554ns | 2.07ns | 0.0128 | 0 | 0 | 952 B |
#6441 | ExecuteAsync |
netcoreapp3.1 | 1.61μs | 0.717ns | 2.78ns | 0.0128 | 0 | 0 | 952 B |
#6441 | ExecuteAsync |
net472 | 1.81μs | 0.917ns | 3.43ns | 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.3μs | 1.95ns | 7.54ns | 0.0323 | 0 | 0 | 2.31 KB |
master | SendAsync |
netcoreapp3.1 | 5.33μs | 1.59ns | 5.97ns | 0.0374 | 0 | 0 | 2.85 KB |
master | SendAsync |
net472 | 7.38μs | 1.78ns | 6.88ns | 0.494 | 0 | 0 | 3.12 KB |
#6441 | SendAsync |
net6.0 | 4.37μs | 2.85ns | 10.3ns | 0.0328 | 0 | 0 | 2.31 KB |
#6441 | SendAsync |
netcoreapp3.1 | 5.21μs | 3.71ns | 14.4ns | 0.0387 | 0 | 0 | 2.85 KB |
#6441 | SendAsync |
net472 | 7.42μs | 1.24ns | 4.63ns | 0.493 | 0 | 0 | 3.12 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.48μs | 0.72ns | 2.69ns | 0.0228 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
netcoreapp3.1 | 2.43μs | 2.01ns | 7.79ns | 0.0219 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
net472 | 2.8μs | 1.47ns | 5.68ns | 0.249 | 0 | 0 | 1.57 KB |
#6441 | EnrichedLog |
net6.0 | 1.53μs | 4.74ns | 18.4ns | 0.0228 | 0 | 0 | 1.64 KB |
#6441 | EnrichedLog |
netcoreapp3.1 | 2.38μs | 1.2ns | 4.31ns | 0.0227 | 0 | 0 | 1.64 KB |
#6441 | EnrichedLog |
net472 | 2.64μs | 1.25ns | 4.82ns | 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 | 118μs | 243ns | 941ns | 0.0591 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
netcoreapp3.1 | 121μs | 171ns | 662ns | 0 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
net472 | 154μs | 81.5ns | 294ns | 0.684 | 0.228 | 0 | 4.46 KB |
#6441 | EnrichedLog |
net6.0 | 120μs | 131ns | 506ns | 0.0605 | 0 | 0 | 4.28 KB |
#6441 | EnrichedLog |
netcoreapp3.1 | 123μs | 114ns | 441ns | 0 | 0 | 0 | 4.28 KB |
#6441 | EnrichedLog |
net472 | 152μs | 141ns | 547ns | 0.675 | 0.225 | 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.02μs | 1.06ns | 4.1ns | 0.0299 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
netcoreapp3.1 | 4.25μs | 2.98ns | 11.5ns | 0.0296 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
net472 | 4.89μs | 1.4ns | 5.42ns | 0.32 | 0 | 0 | 2.02 KB |
#6441 | EnrichedLog |
net6.0 | 3.22μs | 0.832ns | 3.22ns | 0.03 | 0 | 0 | 2.2 KB |
#6441 | EnrichedLog |
netcoreapp3.1 | 4.14μs | 1.5ns | 5.8ns | 0.029 | 0 | 0 | 2.2 KB |
#6441 | EnrichedLog |
net472 | 4.95μs | 1.11ns | 4.29ns | 0.318 | 0 | 0 | 2.02 KB |
Benchmarks.Trace.RedisBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #6441
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.RedisBenchmark.SendReceive‑netcoreapp3.1
1.143
1,928.67
1,687.05
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.RedisBenchmark.SendReceive‑netcoreapp3.1 | 1.143 | 1,928.67 | 1,687.05 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | SendReceive |
net6.0 | 1.31μs | 0.911ns | 3.53ns | 0.0157 | 0 | 0 | 1.14 KB |
master | SendReceive |
netcoreapp3.1 | 1.93μs | 0.778ns | 3.01ns | 0.0154 | 0 | 0 | 1.14 KB |
master | SendReceive |
net472 | 2.21μs | 0.887ns | 3.44ns | 0.183 | 0 | 0 | 1.16 KB |
#6441 | SendReceive |
net6.0 | 1.31μs | 0.469ns | 1.69ns | 0.0157 | 0 | 0 | 1.14 KB |
#6441 | SendReceive |
netcoreapp3.1 | 1.69μs | 0.973ns | 3.77ns | 0.0151 | 0 | 0 | 1.14 KB |
#6441 | SendReceive |
net472 | 2.19μs | 1.6ns | 6.19ns | 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.75μs | 0.668ns | 2.41ns | 0.022 | 0 | 0 | 1.6 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.9μs | 2.14ns | 8.29ns | 0.0216 | 0 | 0 | 1.65 KB |
master | EnrichedLog |
net472 | 4.42μs | 3.49ns | 13.5ns | 0.322 | 0 | 0 | 2.04 KB |
#6441 | EnrichedLog |
net6.0 | 2.74μs | 1.06ns | 3.97ns | 0.022 | 0 | 0 | 1.6 KB |
#6441 | EnrichedLog |
netcoreapp3.1 | 4.01μs | 1.63ns | 6.33ns | 0.022 | 0 | 0 | 1.65 KB |
#6441 | EnrichedLog |
net472 | 4.48μs | 4.49ns | 17.4ns | 0.323 | 0 | 0 | 2.04 KB |
Benchmarks.Trace.SpanBenchmark - Slower ⚠️ Same allocations ✔️
Slower ⚠️ in #6441
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net472
1.132
631.01
714.13
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net472 | 1.132 | 631.01 | 714.13 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 402ns | 0.238ns | 0.921ns | 0.00805 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 616ns | 0.76ns | 2.95ns | 0.00768 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 631ns | 0.366ns | 1.42ns | 0.0916 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 556ns | 0.355ns | 1.38ns | 0.00982 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 733ns | 0.697ns | 2.7ns | 0.00919 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 849ns | 0.866ns | 3.35ns | 0.104 | 0 | 0 | 658 B |
#6441 | StartFinishSpan |
net6.0 | 397ns | 0.236ns | 0.912ns | 0.00803 | 0 | 0 | 576 B |
#6441 | StartFinishSpan |
netcoreapp3.1 | 626ns | 0.849ns | 3.06ns | 0.00796 | 0 | 0 | 576 B |
#6441 | StartFinishSpan |
net472 | 714ns | 0.416ns | 1.61ns | 0.0915 | 0 | 0 | 578 B |
#6441 | StartFinishScope |
net6.0 | 536ns | 2.59ns | 10.4ns | 0.0098 | 0 | 0 | 696 B |
#6441 | StartFinishScope |
netcoreapp3.1 | 669ns | 0.9ns | 3.48ns | 0.00955 | 0 | 0 | 696 B |
#6441 | StartFinishScope |
net472 | 852ns | 1.03ns | 3.98ns | 0.104 | 0 | 0 | 658 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Slower ⚠️ Same allocations ✔️
Slower ⚠️ in #6441
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0
1.152
591.12
680.81
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0 | 1.152 | 591.12 | 680.81 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | RunOnMethodBegin |
net6.0 | 591ns | 0.394ns | 1.47ns | 0.00976 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 885ns | 0.35ns | 1.31ns | 0.00973 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.16μs | 1.04ns | 4.04ns | 0.104 | 0 | 0 | 658 B |
#6441 | RunOnMethodBegin |
net6.0 | 681ns | 0.637ns | 2.47ns | 0.00966 | 0 | 0 | 696 B |
#6441 | RunOnMethodBegin |
netcoreapp3.1 | 958ns | 1.19ns | 4.61ns | 0.00955 | 0 | 0 | 696 B |
#6441 | RunOnMethodBegin |
net472 | 1.15μs | 0.963ns | 3.6ns | 0.104 | 0 | 0 | 658 B |
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.
Thank you!
2fb7c20
to
444883d
Compare
Summary of changes
Compilation of Samples.Security.AspNetCore2 because of a bunch of
using
statement referencing nuget packages that are not added to this project.It looks like the
using
are not actually used, so hopefully just removing them should be enough.