Add support for VS 2026 to Nuke detection#7843
Conversation
424e12b to
f1a4c5f
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
BenchmarksBenchmarks Report for benchmark platform 🐌Benchmarks for #7843 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 ✔️ More allocations
|
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.ActivityBenchmark.StartStopWithChild‑net472 | 6.07 KB | 6.12 KB | 46 B | 0.76% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StartStopWithChild |
net6.0 | 10.5μs | 59.4ns | 390ns | 0 | 0 | 0 | 5.52 KB |
| master | StartStopWithChild |
netcoreapp3.1 | 15μs | 75.5ns | 346ns | 0 | 0 | 0 | 5.68 KB |
| master | StartStopWithChild |
net472 | 21.7μs | 121ns | 773ns | 0.994 | 0.331 | 0.11 | 6.07 KB |
| #7843 | StartStopWithChild |
net6.0 | 10.6μs | 58.6ns | 342ns | 0 | 0 | 0 | 5.53 KB |
| #7843 | StartStopWithChild |
netcoreapp3.1 | 13.9μs | 65.7ns | 263ns | 0 | 0 | 0 | 5.69 KB |
| #7843 | StartStopWithChild |
net472 | 22.9μs | 123ns | 687ns | 0.958 | 0.319 | 0 | 6.12 KB |
Benchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | WriteAndFlushEnrichedTraces |
net6.0 | 945μs | 328ns | 1.27μs | 0 | 0 | 0 | 2.71 KB |
| master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 1.03ms | 154ns | 596ns | 0 | 0 | 0 | 2.7 KB |
| master | WriteAndFlushEnrichedTraces |
net472 | 1.24ms | 2.54μs | 9.83μs | 0 | 0 | 0 | 3.31 KB |
| #7843 | WriteAndFlushEnrichedTraces |
net6.0 | 932μs | 60.7ns | 219ns | 0 | 0 | 0 | 2.71 KB |
| #7843 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 1.01ms | 87.8ns | 304ns | 0 | 0 | 0 | 2.7 KB |
| #7843 | WriteAndFlushEnrichedTraces |
net472 | 1.23ms | 813ns | 3.15μs | 0 | 0 | 0 | 3.31 KB |
Benchmarks.Trace.Asm.AppSecBodyBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | AllCycleSimpleBody |
net6.0 | 1.08μs | 5.6ns | 28ns | 0 | 0 | 0 | 1.22 KB |
| master | AllCycleSimpleBody |
netcoreapp3.1 | 1.41μs | 7.69ns | 45.5ns | 0 | 0 | 0 | 1.2 KB |
| master | AllCycleSimpleBody |
net472 | 1.03μs | 0.353ns | 1.37ns | 0.191 | 0 | 0 | 1.23 KB |
| master | AllCycleMoreComplexBody |
net6.0 | 7.13μs | 38.9ns | 187ns | 0 | 0 | 0 | 4.72 KB |
| master | AllCycleMoreComplexBody |
netcoreapp3.1 | 8.97μs | 31.5ns | 122ns | 0 | 0 | 0 | 4.62 KB |
| master | AllCycleMoreComplexBody |
net472 | 7.79μs | 6.58ns | 25.5ns | 0.74 | 0 | 0 | 4.74 KB |
| master | ObjectExtractorSimpleBody |
net6.0 | 317ns | 1.41ns | 5.26ns | 0 | 0 | 0 | 280 B |
| master | ObjectExtractorSimpleBody |
netcoreapp3.1 | 398ns | 2.12ns | 11.2ns | 0 | 0 | 0 | 272 B |
| master | ObjectExtractorSimpleBody |
net472 | 294ns | 0.0455ns | 0.17ns | 0.0444 | 0 | 0 | 281 B |
| master | ObjectExtractorMoreComplexBody |
net6.0 | 6.29μs | 22.5ns | 87ns | 0 | 0 | 0 | 3.78 KB |
| master | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 7.8μs | 29.9ns | 112ns | 0 | 0 | 0 | 3.69 KB |
| master | ObjectExtractorMoreComplexBody |
net472 | 6.81μs | 8.08ns | 31.3ns | 0.575 | 0 | 0 | 3.8 KB |
| #7843 | AllCycleSimpleBody |
net6.0 | 1.09μs | 6.12ns | 42.4ns | 0 | 0 | 0 | 1.22 KB |
| #7843 | AllCycleSimpleBody |
netcoreapp3.1 | 1.35μs | 7.43ns | 45.8ns | 0 | 0 | 0 | 1.2 KB |
| #7843 | AllCycleSimpleBody |
net472 | 1.04μs | 0.26ns | 0.937ns | 0.193 | 0 | 0 | 1.23 KB |
| #7843 | AllCycleMoreComplexBody |
net6.0 | 7.4μs | 39ns | 203ns | 0 | 0 | 0 | 4.72 KB |
| #7843 | AllCycleMoreComplexBody |
netcoreapp3.1 | 8.94μs | 36.4ns | 141ns | 0 | 0 | 0 | 4.62 KB |
| #7843 | AllCycleMoreComplexBody |
net472 | 7.75μs | 4.88ns | 18.9ns | 0.732 | 0 | 0 | 4.74 KB |
| #7843 | ObjectExtractorSimpleBody |
net6.0 | 314ns | 1.72ns | 10.3ns | 0 | 0 | 0 | 280 B |
| #7843 | ObjectExtractorSimpleBody |
netcoreapp3.1 | 385ns | 2.22ns | 15.8ns | 0 | 0 | 0 | 272 B |
| #7843 | ObjectExtractorSimpleBody |
net472 | 304ns | 0.0183ns | 0.0661ns | 0.0436 | 0 | 0 | 281 B |
| #7843 | ObjectExtractorMoreComplexBody |
net6.0 | 6.34μs | 32.2ns | 137ns | 0 | 0 | 0 | 3.78 KB |
| #7843 | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 7.89μs | 35.7ns | 138ns | 0 | 0 | 0 | 3.69 KB |
| #7843 | ObjectExtractorMoreComplexBody |
net472 | 6.78μs | 9.85ns | 38.1ns | 0.574 | 0 | 0 | 3.8 KB |
Benchmarks.Trace.Asm.AppSecEncoderBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EncodeArgs |
net6.0 | 77.2μs | 39.6ns | 148ns | 0 | 0 | 0 | 32.4 KB |
| master | EncodeArgs |
netcoreapp3.1 | 97.1μs | 250ns | 968ns | 0 | 0 | 0 | 32.4 KB |
| master | EncodeArgs |
net472 | 112μs | 43.3ns | 168ns | 5.05 | 0 | 0 | 32.51 KB |
| master | EncodeLegacyArgs |
net6.0 | 142μs | 148ns | 575ns | 0 | 0 | 0 | 2.15 KB |
| master | EncodeLegacyArgs |
netcoreapp3.1 | 200μs | 103ns | 387ns | 0 | 0 | 0 | 2.14 KB |
| master | EncodeLegacyArgs |
net472 | 264μs | 27.9ns | 108ns | 0 | 0 | 0 | 2.17 KB |
| #7843 | EncodeArgs |
net6.0 | 77.2μs | 136ns | 509ns | 0 | 0 | 0 | 32.4 KB |
| #7843 | EncodeArgs |
netcoreapp3.1 | 97.1μs | 291ns | 1.13μs | 0 | 0 | 0 | 32.4 KB |
| #7843 | EncodeArgs |
net472 | 108μs | 11.9ns | 46.1ns | 4.89 | 0 | 0 | 32.51 KB |
| #7843 | EncodeLegacyArgs |
net6.0 | 145μs | 35.9ns | 139ns | 0 | 0 | 0 | 2.14 KB |
| #7843 | EncodeLegacyArgs |
netcoreapp3.1 | 199μs | 245ns | 917ns | 0 | 0 | 0 | 2.14 KB |
| #7843 | EncodeLegacyArgs |
net472 | 265μs | 213ns | 823ns | 0 | 0 | 0 | 2.16 KB |
Benchmarks.Trace.Asm.AppSecWafBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #7843
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark‑netcoreapp3.1
2.083
859,332.40
412,578.44
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark‑netcoreapp3.1 | 2.083 | 859,332.40 | 412,578.44 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | RunWafRealisticBenchmark |
net6.0 | 398μs | 90.6ns | 339ns | 0 | 0 | 0 | 4.56 KB |
| master | RunWafRealisticBenchmark |
netcoreapp3.1 | 851μs | 5.39μs | 53.7μs | 0 | 0 | 0 | 4.48 KB |
| master | RunWafRealisticBenchmark |
net472 | 427μs | 67.7ns | 262ns | 0 | 0 | 0 | 4.66 KB |
| master | RunWafRealisticBenchmarkWithAttack |
net6.0 | 283μs | 51.2ns | 198ns | 0 | 0 | 0 | 2.24 KB |
| master | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 299μs | 67.7ns | 253ns | 0 | 0 | 0 | 2.22 KB |
| master | RunWafRealisticBenchmarkWithAttack |
net472 | 310μs | 25.5ns | 98.7ns | 0 | 0 | 0 | 2.29 KB |
| #7843 | RunWafRealisticBenchmark |
net6.0 | 392μs | 46.3ns | 173ns | 0 | 0 | 0 | 4.55 KB |
| #7843 | RunWafRealisticBenchmark |
netcoreapp3.1 | 412μs | 92.2ns | 357ns | 0 | 0 | 0 | 4.48 KB |
| #7843 | RunWafRealisticBenchmark |
net472 | 430μs | 55.5ns | 215ns | 0 | 0 | 0 | 4.66 KB |
| #7843 | RunWafRealisticBenchmarkWithAttack |
net6.0 | 288μs | 34.9ns | 131ns | 0 | 0 | 0 | 2.24 KB |
| #7843 | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 296μs | 41.4ns | 149ns | 0 | 0 | 0 | 2.22 KB |
| #7843 | RunWafRealisticBenchmarkWithAttack |
net472 | 311μs | 29.5ns | 114ns | 0 | 0 | 0 | 2.29 KB |
Benchmarks.Trace.AspNetCoreBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | SendRequest |
net6.0 | 60.7μs | 110ns | 427ns | 0 | 0 | 0 | 14.52 KB |
| master | SendRequest |
netcoreapp3.1 | 71.4μs | 69.3ns | 268ns | 0 | 0 | 0 | 17.42 KB |
| master | SendRequest |
net472 | 0.00106ns | 0.00106ns | 0.00411ns | 0 | 0 | 0 | 0 b |
| #7843 | SendRequest |
net6.0 | 61.8μs | 77.9ns | 292ns | 0 | 0 | 0 | 14.52 KB |
| #7843 | SendRequest |
netcoreapp3.1 | 71.9μs | 47.3ns | 177ns | 0 | 0 | 0 | 17.42 KB |
| #7843 | SendRequest |
net472 | 0.00315ns | 0.00172ns | 0.00667ns | 0 | 0 | 0 | 0 b |
Benchmarks.Trace.CharSliceBenchmark - Slower ⚠️ More allocations ⚠️
Slower ⚠️ in #7843
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net6.0
1.299
812,208.98
1,055,190.10
Faster 🎉 in #7843
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑netcoreapp3.1
1.169
1,947,717.50
1,665,966.25
More allocations ⚠️ in #7843
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net6.0
2 B
5 B
3 B
150.00%
| Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net6.0 | 1.299 | 812,208.98 | 1,055,190.10 |
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑netcoreapp3.1 | 1.169 | 1,947,717.50 | 1,665,966.25 |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net6.0 | 2 B | 5 B | 3 B | 150.00% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | OriginalCharSlice |
net6.0 | 1.92ms | 4.01μs | 15.5μs | 0 | 0 | 0 | 640.01 KB |
| master | OriginalCharSlice |
netcoreapp3.1 | 2.07ms | 5.38μs | 20.1μs | 0 | 0 | 0 | 640 KB |
| master | OriginalCharSlice |
net472 | 2.67ms | 684ns | 2.56μs | 100 | 0 | 0 | 641.95 KB |
| master | OptimizedCharSlice |
net6.0 | 1.37ms | 198ns | 767ns | 0 | 0 | 0 | 4 B |
| master | OptimizedCharSlice |
netcoreapp3.1 | 1.95ms | 1.52μs | 5.9μs | 0 | 0 | 0 | 1 B |
| master | OptimizedCharSlice |
net472 | 1.97ms | 351ns | 1.36μs | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSliceWithPool |
net6.0 | 812μs | 45.7ns | 177ns | 0 | 0 | 0 | 2 B |
| master | OptimizedCharSliceWithPool |
netcoreapp3.1 | 818μs | 299ns | 1.16μs | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSliceWithPool |
net472 | 1.18ms | 169ns | 608ns | 0 | 0 | 0 | 0 b |
| #7843 | OriginalCharSlice |
net6.0 | 2.02ms | 1.32μs | 4.77μs | 0 | 0 | 0 | 640.01 KB |
| #7843 | OriginalCharSlice |
netcoreapp3.1 | 2.13ms | 8.12μs | 31.5μs | 0 | 0 | 0 | 640 KB |
| #7843 | OriginalCharSlice |
net472 | 2.61ms | 1.25μs | 4.67μs | 100 | 0 | 0 | 641.95 KB |
| #7843 | OptimizedCharSlice |
net6.0 | 1.36ms | 258ns | 929ns | 0 | 0 | 0 | 4 B |
| #7843 | OptimizedCharSlice |
netcoreapp3.1 | 1.67ms | 425ns | 1.65μs | 0 | 0 | 0 | 1 B |
| #7843 | OptimizedCharSlice |
net472 | 1.99ms | 248ns | 961ns | 0 | 0 | 0 | 0 b |
| #7843 | OptimizedCharSliceWithPool |
net6.0 | 1.06ms | 488ns | 1.89μs | 0 | 0 | 0 | 5 B |
| #7843 | OptimizedCharSliceWithPool |
netcoreapp3.1 | 843μs | 171ns | 661ns | 0 | 0 | 0 | 0 b |
| #7843 | OptimizedCharSliceWithPool |
net472 | 1.17ms | 95.7ns | 371ns | 0 | 0 | 0 | 0 b |
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #7843
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net472
1.128
948,112.95
840,379.17
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net472 | 1.128 | 948,112.95 | 840,379.17 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | WriteAndFlushEnrichedTraces |
net6.0 | 719μs | 3.85μs | 21.4μs | 0 | 0 | 0 | 41.62 KB |
| master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 646μs | 3.83μs | 27.4μs | 0 | 0 | 0 | 42.15 KB |
| master | WriteAndFlushEnrichedTraces |
net472 | 952μs | 3.95μs | 15.3μs | 4.46 | 0 | 0 | 56.13 KB |
| #7843 | WriteAndFlushEnrichedTraces |
net6.0 | 751μs | 4.29μs | 30.3μs | 0 | 0 | 0 | 41.68 KB |
| #7843 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 647μs | 2.1μs | 8.11μs | 0 | 0 | 0 | 42.03 KB |
| #7843 | WriteAndFlushEnrichedTraces |
net472 | 843μs | 3.91μs | 15.1μs | 8.33 | 0 | 0 | 56.22 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.91μs | 2.12ns | 7.93ns | 0 | 0 | 0 | 1.02 KB |
| master | ExecuteNonQuery |
netcoreapp3.1 | 2.58μs | 8.39ns | 32.5ns | 0 | 0 | 0 | 1.02 KB |
| master | ExecuteNonQuery |
net472 | 2.81μs | 3.44ns | 12.4ns | 0.155 | 0.0141 | 0 | 987 B |
| #7843 | ExecuteNonQuery |
net6.0 | 1.97μs | 3.02ns | 11.3ns | 0 | 0 | 0 | 1.02 KB |
| #7843 | ExecuteNonQuery |
netcoreapp3.1 | 2.54μs | 11.6ns | 44.8ns | 0 | 0 | 0 | 1.02 KB |
| #7843 | ExecuteNonQuery |
net472 | 2.82μs | 4.64ns | 18ns | 0.156 | 0.0141 | 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.8μs | 2.69ns | 10.4ns | 0 | 0 | 0 | 1.03 KB |
| master | CallElasticsearch |
netcoreapp3.1 | 2.21μs | 9.68ns | 37.5ns | 0 | 0 | 0 | 1.03 KB |
| master | CallElasticsearch |
net472 | 3.49μs | 3.82ns | 14.3ns | 0.157 | 0 | 0 | 1.04 KB |
| master | CallElasticsearchAsync |
net6.0 | 1.9μs | 7.41ns | 28.7ns | 0 | 0 | 0 | 1.01 KB |
| master | CallElasticsearchAsync |
netcoreapp3.1 | 2.44μs | 8.61ns | 33.3ns | 0 | 0 | 0 | 1.08 KB |
| master | CallElasticsearchAsync |
net472 | 3.6μs | 4.75ns | 18.4ns | 0.163 | 0 | 0 | 1.1 KB |
| #7843 | CallElasticsearch |
net6.0 | 1.68μs | 8.41ns | 35.7ns | 0 | 0 | 0 | 1.03 KB |
| #7843 | CallElasticsearch |
netcoreapp3.1 | 2.19μs | 1.86ns | 7.22ns | 0 | 0 | 0 | 1.03 KB |
| #7843 | CallElasticsearch |
net472 | 3.62μs | 1.27ns | 4.9ns | 0.163 | 0 | 0 | 1.04 KB |
| #7843 | CallElasticsearchAsync |
net6.0 | 1.88μs | 9.53ns | 41.5ns | 0 | 0 | 0 | 1.01 KB |
| #7843 | CallElasticsearchAsync |
netcoreapp3.1 | 2.41μs | 10.9ns | 42.4ns | 0 | 0 | 0 | 1.08 KB |
| #7843 | CallElasticsearchAsync |
net472 | 3.58μs | 0.9ns | 3.49ns | 0.161 | 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.94μs | 2.19ns | 8.19ns | 0 | 0 | 0 | 952 B |
| master | ExecuteAsync |
netcoreapp3.1 | 2.43μs | 7ns | 26.2ns | 0 | 0 | 0 | 952 B |
| master | ExecuteAsync |
net472 | 2.56μs | 0.993ns | 3.85ns | 0.141 | 0 | 0 | 915 B |
| #7843 | ExecuteAsync |
net6.0 | 1.85μs | 2.75ns | 10.3ns | 0 | 0 | 0 | 952 B |
| #7843 | ExecuteAsync |
netcoreapp3.1 | 2.49μs | 9.93ns | 38.5ns | 0 | 0 | 0 | 952 B |
| #7843 | ExecuteAsync |
net472 | 2.61μs | 1.94ns | 7.24ns | 0.142 | 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 | 6.87μs | 16ns | 60ns | 0 | 0 | 0 | 2.36 KB |
| master | SendAsync |
netcoreapp3.1 | 8.74μs | 13.7ns | 49.3ns | 0 | 0 | 0 | 2.9 KB |
| master | SendAsync |
net472 | 12.6μs | 11ns | 42.4ns | 0.503 | 0 | 0 | 3.18 KB |
| #7843 | SendAsync |
net6.0 | 7μs | 7.62ns | 27.5ns | 0 | 0 | 0 | 2.36 KB |
| #7843 | SendAsync |
netcoreapp3.1 | 8.78μs | 9.32ns | 36.1ns | 0 | 0 | 0 | 2.9 KB |
| #7843 | SendAsync |
net472 | 12.2μs | 6.75ns | 26.1ns | 0.49 | 0 | 0 | 3.18 KB |
Benchmarks.Trace.Iast.StringAspectsBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7843
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑netcoreapp3.1
44.04 KB
86.15 KB
42.11 KB
95.62%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0
250.63 KB
274.26 KB
23.63 KB
9.43%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net6.0
43.48 KB
43.78 KB
296 B
0.68%
Fewer allocations 🎉 in #7843
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net472
286.72 KB
276.48 KB
-10.24 KB
-3.57%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1
274.77 KB
258.06 KB
-16.7 KB
-6.08%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472
65.54 KB
57.34 KB
-8.19 KB
-12.50%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑netcoreapp3.1 | 44.04 KB | 86.15 KB | 42.11 KB | 95.62% |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0 | 250.63 KB | 274.26 KB | 23.63 KB | 9.43% |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net6.0 | 43.48 KB | 43.78 KB | 296 B | 0.68% |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net472 | 286.72 KB | 276.48 KB | -10.24 KB | -3.57% |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1 | 274.77 KB | 258.06 KB | -16.7 KB | -6.08% |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472 | 65.54 KB | 57.34 KB | -8.19 KB | -12.50% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StringConcatBenchmark |
net6.0 | 43μs | 245ns | 1.74μs | 0 | 0 | 0 | 43.48 KB |
| master | StringConcatBenchmark |
netcoreapp3.1 | 49.8μs | 192ns | 663ns | 0 | 0 | 0 | 44.04 KB |
| master | StringConcatBenchmark |
net472 | 57.8μs | 202ns | 730ns | 0 | 0 | 0 | 65.54 KB |
| master | StringConcatAspectBenchmark |
net6.0 | 453μs | 2.06μs | 7.43μs | 0 | 0 | 0 | 250.63 KB |
| master | StringConcatAspectBenchmark |
netcoreapp3.1 | 521μs | 1.83μs | 6.35μs | 0 | 0 | 0 | 274.77 KB |
| master | StringConcatAspectBenchmark |
net472 | 408μs | 1.28μs | 4.61μs | 0 | 0 | 0 | 286.72 KB |
| #7843 | StringConcatBenchmark |
net6.0 | 43μs | 241ns | 1.41μs | 0 | 0 | 0 | 43.78 KB |
| #7843 | StringConcatBenchmark |
netcoreapp3.1 | 51.1μs | 299ns | 2.7μs | 0 | 0 | 0 | 86.15 KB |
| #7843 | StringConcatBenchmark |
net472 | 59μs | 297ns | 1.3μs | 0 | 0 | 0 | 57.34 KB |
| #7843 | StringConcatAspectBenchmark |
net6.0 | 489μs | 2.49μs | 11.1μs | 0 | 0 | 0 | 274.26 KB |
| #7843 | StringConcatAspectBenchmark |
netcoreapp3.1 | 501μs | 1.7μs | 6.37μs | 0 | 0 | 0 | 258.06 KB |
| #7843 | StringConcatAspectBenchmark |
net472 | 410μs | 2.25μs | 16.1μs | 0 | 0 | 0 | 276.48 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 | 2.66μs | 12.9ns | 51.8ns | 0 | 0 | 0 | 1.7 KB |
| master | EnrichedLog |
netcoreapp3.1 | 3.65μs | 11.2ns | 43.4ns | 0 | 0 | 0 | 1.7 KB |
| master | EnrichedLog |
net472 | 3.94μs | 4.72ns | 18.3ns | 0.257 | 0 | 0 | 1.64 KB |
| #7843 | EnrichedLog |
net6.0 | 2.67μs | 14.2ns | 60.1ns | 0 | 0 | 0 | 1.7 KB |
| #7843 | EnrichedLog |
netcoreapp3.1 | 3.61μs | 18.7ns | 85.7ns | 0 | 0 | 0 | 1.7 KB |
| #7843 | EnrichedLog |
net472 | 3.93μs | 4.61ns | 17.8ns | 0.256 | 0 | 0 | 1.64 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 | 123μs | 29.2ns | 101ns | 0 | 0 | 0 | 4.31 KB |
| master | EnrichedLog |
netcoreapp3.1 | 127μs | 49.8ns | 172ns | 0 | 0 | 0 | 4.31 KB |
| master | EnrichedLog |
net472 | 168μs | 26.6ns | 103ns | 0 | 0 | 0 | 4.52 KB |
| #7843 | EnrichedLog |
net6.0 | 123μs | 98.4ns | 381ns | 0 | 0 | 0 | 4.31 KB |
| #7843 | EnrichedLog |
netcoreapp3.1 | 127μs | 178ns | 690ns | 0 | 0 | 0 | 4.31 KB |
| #7843 | EnrichedLog |
net472 | 168μs | 37.7ns | 146ns | 0 | 0 | 0 | 4.52 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 | 4.94μs | 7.43ns | 28.8ns | 0 | 0 | 0 | 2.26 KB |
| master | EnrichedLog |
netcoreapp3.1 | 6.74μs | 22.9ns | 85.7ns | 0 | 0 | 0 | 2.26 KB |
| master | EnrichedLog |
net472 | 7.56μs | 7.01ns | 27.1ns | 0.305 | 0 | 0 | 2.08 KB |
| #7843 | EnrichedLog |
net6.0 | 5.01μs | 26.1ns | 128ns | 0 | 0 | 0 | 2.26 KB |
| #7843 | EnrichedLog |
netcoreapp3.1 | 6.77μs | 18.7ns | 72.5ns | 0 | 0 | 0 | 2.26 KB |
| #7843 | EnrichedLog |
net472 | 7.53μs | 4.75ns | 18.4ns | 0.301 | 0 | 0 | 2.08 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.96μs | 7.44ns | 28.8ns | 0 | 0 | 0 | 1.2 KB |
| master | SendReceive |
netcoreapp3.1 | 2.63μs | 10.1ns | 38ns | 0 | 0 | 0 | 1.2 KB |
| master | SendReceive |
net472 | 3.06μs | 4.41ns | 17.1ns | 0.181 | 0 | 0 | 1.2 KB |
| #7843 | SendReceive |
net6.0 | 2μs | 10.8ns | 58.4ns | 0 | 0 | 0 | 1.2 KB |
| #7843 | SendReceive |
netcoreapp3.1 | 2.69μs | 10.9ns | 42.4ns | 0 | 0 | 0 | 1.2 KB |
| #7843 | SendReceive |
net472 | 3.07μs | 3.8ns | 14.7ns | 0.185 | 0 | 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 | 4.31μs | 18.4ns | 71.3ns | 0 | 0 | 0 | 1.58 KB |
| master | EnrichedLog |
netcoreapp3.1 | 5.59μs | 15.6ns | 60.4ns | 0 | 0 | 0 | 1.63 KB |
| master | EnrichedLog |
net472 | 6.37μs | 9.38ns | 36.3ns | 0.315 | 0 | 0 | 2.03 KB |
| #7843 | EnrichedLog |
net6.0 | 4.23μs | 8.27ns | 30.9ns | 0 | 0 | 0 | 1.58 KB |
| #7843 | EnrichedLog |
netcoreapp3.1 | 5.47μs | 15.5ns | 58ns | 0 | 0 | 0 | 1.63 KB |
| #7843 | EnrichedLog |
net472 | 6.42μs | 9.28ns | 36ns | 0.321 | 0 | 0 | 2.03 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 | 796ns | 0.287ns | 1.11ns | 0 | 0 | 0 | 576 B |
| master | StartFinishSpan |
netcoreapp3.1 | 953ns | 4.79ns | 20.3ns | 0 | 0 | 0 | 576 B |
| master | StartFinishSpan |
net472 | 960ns | 0.208ns | 0.805ns | 0.091 | 0 | 0 | 578 B |
| master | StartFinishScope |
net6.0 | 919ns | 4.87ns | 24.4ns | 0 | 0 | 0 | 696 B |
| master | StartFinishScope |
netcoreapp3.1 | 1.18μs | 6.14ns | 29.5ns | 0 | 0 | 0 | 696 B |
| master | StartFinishScope |
net472 | 1.13μs | 0.234ns | 0.877ns | 0.102 | 0 | 0 | 658 B |
| #7843 | StartFinishSpan |
net6.0 | 787ns | 0.338ns | 1.31ns | 0 | 0 | 0 | 576 B |
| #7843 | StartFinishSpan |
netcoreapp3.1 | 1.01μs | 5.06ns | 23.2ns | 0 | 0 | 0 | 576 B |
| #7843 | StartFinishSpan |
net472 | 949ns | 0.265ns | 1.03ns | 0.091 | 0 | 0 | 578 B |
| #7843 | StartFinishScope |
net6.0 | 927ns | 4.51ns | 18.6ns | 0 | 0 | 0 | 696 B |
| #7843 | StartFinishScope |
netcoreapp3.1 | 1.2μs | 3.02ns | 11.7ns | 0 | 0 | 0 | 696 B |
| #7843 | StartFinishScope |
net472 | 1.11μs | 0.0621ns | 0.224ns | 0.1 | 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 | 1.08μs | 5.26ns | 24.7ns | 0 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
netcoreapp3.1 | 1.42μs | 6.6ns | 25.6ns | 0 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
net472 | 1.45μs | 0.225ns | 0.78ns | 0.102 | 0 | 0 | 658 B |
| #7843 | RunOnMethodBegin |
net6.0 | 1.05μs | 4.74ns | 17.8ns | 0 | 0 | 0 | 696 B |
| #7843 | RunOnMethodBegin |
netcoreapp3.1 | 1.43μs | 7.23ns | 33.1ns | 0 | 0 | 0 | 696 B |
| #7843 | RunOnMethodBegin |
net472 | 1.44μs | 0.831ns | 3.11ns | 0.101 | 0 | 0 | 658 B |
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing This PR (7843) and master. ✅ No regressions detected - check the details below Full Metrics ComparisonFakeDbCommand
HttpMessageHandler
Comparison explanationExecution-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 highlighted 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). Duration chartsFakeDbCommand (.NET Framework 4.8)gantt
title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7843) - mean (76ms) : 69, 82
master - mean (75ms) : 71, 79
section Bailout
This PR (7843) - mean (80ms) : 74, 86
master - mean (79ms) : 74, 84
section CallTarget+Inlining+NGEN
This PR (7843) - mean (1,130ms) : 1053, 1207
master - mean (1,133ms) : 1053, 1212
FakeDbCommand (.NET Core 3.1)gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7843) - mean (118ms) : 111, 124
master - mean (118ms) : 112, 125
section Bailout
This PR (7843) - mean (119ms) : 110, 128
master - mean (121ms) : 113, 128
section CallTarget+Inlining+NGEN
This PR (7843) - mean (809ms) : 768, 851
master - mean (814ms) : 781, 848
FakeDbCommand (.NET 6)gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7843) - mean (107ms) : 97, 116
master - mean (108ms) : 102, 114
section Bailout
This PR (7843) - mean (108ms) : 101, 115
master - mean (106ms) : 100, 112
section CallTarget+Inlining+NGEN
This PR (7843) - mean (753ms) : 711, 795
master - mean (757ms) : 721, 792
FakeDbCommand (.NET 8)gantt
title Execution time (ms) FakeDbCommand (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7843) - mean (105ms) : 98, 112
master - mean (104ms) : 99, 109
section Bailout
This PR (7843) - mean (107ms) : 99, 115
master - mean (105ms) : 99, 111
section CallTarget+Inlining+NGEN
This PR (7843) - mean (716ms) : 677, 755
master - mean (725ms) : 694, 757
HttpMessageHandler (.NET Framework 4.8)gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7843) - mean (193ms) : 188, 197
master - mean (192ms) : 188, 196
section Bailout
This PR (7843) - mean (196ms) : 193, 200
master - mean (195ms) : 193, 197
section CallTarget+Inlining+NGEN
This PR (7843) - mean (1,174ms) : 1114, 1234
master - mean (1,175ms) : 1102, 1248
HttpMessageHandler (.NET Core 3.1)gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7843) - mean (277ms) : 272, 281
master - mean (279ms) : 271, 287
section Bailout
This PR (7843) - mean (278ms) : 274, 282
master - mean (278ms) : 274, 283
section CallTarget+Inlining+NGEN
This PR (7843) - mean (957ms) : 914, 1001
master - mean (944ms) : 898, 991
HttpMessageHandler (.NET 6)gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7843) - mean (273ms) : 267, 278
master - mean (280ms) : 272, 289
section Bailout
This PR (7843) - mean (271ms) : 266, 277
master - mean (277ms) : 269, 284
section CallTarget+Inlining+NGEN
This PR (7843) - mean (931ms) : 875, 986
master - mean (937ms) : 888, 987
HttpMessageHandler (.NET 8)gantt
title Execution time (ms) HttpMessageHandler (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7843) - mean (272ms) : 263, 282
master - mean (270ms) : 263, 277
section Bailout
This PR (7843) - mean (272ms) : 265, 280
master - mean (268ms) : 265, 271
section CallTarget+Inlining+NGEN
This PR (7843) - mean (858ms) : 842, 874
master - mean (859ms) : 840, 878
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Tested locally and it works 🎉 |
Summary of changes
Add VS 2026 search paths
Reason for change
We should be able to build with VS 2026
Implementation details
Add
"18"to the search paths (which is what VS 2026 uses)Test coverage
Going to poke @vandonr 😄