-
Couldn't load subscription status.
- Fork 150
[Test Package Versions Bump] Updating package versions #7712
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
Conversation
BenchmarksBenchmarks Report for benchmark platform 🐌Benchmarks for #7712 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.05 KB | 6.08 KB | 31 B | 0.51% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StartStopWithChild |
net6.0 | 10.5μs | 59.8ns | 406ns | 0 | 0 | 0 | 5.49 KB |
| master | StartStopWithChild |
netcoreapp3.1 | 13.5μs | 69.7ns | 334ns | 0 | 0 | 0 | 5.72 KB |
| master | StartStopWithChild |
net472 | 22.3μs | 122ns | 711ns | 0.98 | 0.327 | 0.109 | 6.05 KB |
| #7712 | StartStopWithChild |
net6.0 | 10.7μs | 57.8ns | 332ns | 0 | 0 | 0 | 5.51 KB |
| #7712 | StartStopWithChild |
netcoreapp3.1 | 13.8μs | 63.3ns | 253ns | 0 | 0 | 0 | 5.71 KB |
| #7712 | StartStopWithChild |
net472 | 22.2μs | 121ns | 707ns | 0.962 | 0.321 | 0 | 6.08 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 | 935μs | 96ns | 346ns | 0 | 0 | 0 | 2.71 KB |
| master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 1.03ms | 220ns | 853ns | 0 | 0 | 0 | 2.7 KB |
| master | WriteAndFlushEnrichedTraces |
net472 | 1.19ms | 582ns | 2.25μs | 0 | 0 | 0 | 3.31 KB |
| #7712 | WriteAndFlushEnrichedTraces |
net6.0 | 936μs | 72.9ns | 253ns | 0 | 0 | 0 | 2.71 KB |
| #7712 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 1.04ms | 1.71μs | 6.63μs | 0 | 0 | 0 | 2.7 KB |
| #7712 | WriteAndFlushEnrichedTraces |
net472 | 1.19ms | 193ns | 723ns | 0 | 0 | 0 | 3.31 KB |
Benchmarks.Trace.Asm.AppSecBodyBenchmark - Unknown 🤷 Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | AllCycleSimpleBody |
net6.0 | N/A | N/A | N/A | NaN | NaN | NaN | 0 b |
| master | AllCycleSimpleBody |
netcoreapp3.1 | N/A | N/A | N/A | NaN | NaN | NaN | 0 b |
| master | AllCycleSimpleBody |
net472 | N/A | N/A | N/A | NaN | NaN | NaN | 0 b |
| master | AllCycleMoreComplexBody |
net6.0 | N/A | N/A | N/A | NaN | NaN | NaN | 0 b |
| master | AllCycleMoreComplexBody |
netcoreapp3.1 | N/A | N/A | N/A | NaN | NaN | NaN | 0 b |
| master | AllCycleMoreComplexBody |
net472 | N/A | N/A | N/A | NaN | NaN | NaN | 0 b |
| master | ObjectExtractorSimpleBody |
net6.0 | 330ns | 0.555ns | 2.08ns | 0 | 0 | 0 | 280 B |
| master | ObjectExtractorSimpleBody |
netcoreapp3.1 | 409ns | 0.489ns | 1.83ns | 0 | 0 | 0 | 272 B |
| master | ObjectExtractorSimpleBody |
net472 | 299ns | 0.0231ns | 0.0834ns | 0.0438 | 0 | 0 | 281 B |
| master | ObjectExtractorMoreComplexBody |
net6.0 | 6.27μs | 24.5ns | 95ns | 0 | 0 | 0 | 3.78 KB |
| master | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 7.94μs | 8.1ns | 31.4ns | 0 | 0 | 0 | 3.69 KB |
| master | ObjectExtractorMoreComplexBody |
net472 | 6.61μs | 5.12ns | 19.8ns | 0.595 | 0 | 0 | 3.8 KB |
| #7712 | AllCycleSimpleBody |
net6.0 | N/A | N/A | N/A | NaN | NaN | NaN | 0 b |
| #7712 | AllCycleSimpleBody |
netcoreapp3.1 | N/A | N/A | N/A | NaN | NaN | NaN | 0 b |
| #7712 | AllCycleSimpleBody |
net472 | N/A | N/A | N/A | NaN | NaN | NaN | 0 b |
| #7712 | AllCycleMoreComplexBody |
net6.0 | N/A | N/A | N/A | NaN | NaN | NaN | 0 b |
| #7712 | AllCycleMoreComplexBody |
netcoreapp3.1 | N/A | N/A | N/A | NaN | NaN | NaN | 0 b |
| #7712 | AllCycleMoreComplexBody |
net472 | N/A | N/A | N/A | NaN | NaN | NaN | 0 b |
| #7712 | ObjectExtractorSimpleBody |
net6.0 | 328ns | 1.68ns | 7.34ns | 0 | 0 | 0 | 280 B |
| #7712 | ObjectExtractorSimpleBody |
netcoreapp3.1 | 391ns | 2.23ns | 15.5ns | 0 | 0 | 0 | 272 B |
| #7712 | ObjectExtractorSimpleBody |
net472 | 295ns | 0.0798ns | 0.309ns | 0.0446 | 0 | 0 | 281 B |
| #7712 | ObjectExtractorMoreComplexBody |
net6.0 | 6.27μs | 4.28ns | 16.6ns | 0 | 0 | 0 | 3.78 KB |
| #7712 | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 7.97μs | 19.3ns | 74.6ns | 0 | 0 | 0 | 3.69 KB |
| #7712 | ObjectExtractorMoreComplexBody |
net472 | 6.65μs | 3.47ns | 13ns | 0.598 | 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 | 75.4μs | 271ns | 1.05μs | 0 | 0 | 0 | 32.4 KB |
| master | EncodeArgs |
netcoreapp3.1 | 97.7μs | 27.7ns | 107ns | 0 | 0 | 0 | 32.4 KB |
| master | EncodeArgs |
net472 | 109μs | 53.7ns | 208ns | 4.91 | 0 | 0 | 32.51 KB |
| master | EncodeLegacyArgs |
net6.0 | 144μs | 6.8ns | 26.3ns | 0 | 0 | 0 | 2.15 KB |
| master | EncodeLegacyArgs |
netcoreapp3.1 | 202μs | 570ns | 2.21μs | 0 | 0 | 0 | 2.14 KB |
| master | EncodeLegacyArgs |
net472 | 263μs | 33.9ns | 122ns | 0 | 0 | 0 | 2.17 KB |
| #7712 | EncodeArgs |
net6.0 | 76.4μs | 225ns | 844ns | 0 | 0 | 0 | 32.4 KB |
| #7712 | EncodeArgs |
netcoreapp3.1 | 98.6μs | 235ns | 908ns | 0 | 0 | 0 | 32.4 KB |
| #7712 | EncodeArgs |
net472 | 110μs | 14.5ns | 56.2ns | 4.95 | 0 | 0 | 32.51 KB |
| #7712 | EncodeLegacyArgs |
net6.0 | 147μs | 95.9ns | 372ns | 0 | 0 | 0 | 2.15 KB |
| #7712 | EncodeLegacyArgs |
netcoreapp3.1 | 200μs | 147ns | 569ns | 0 | 0 | 0 | 2.14 KB |
| #7712 | EncodeLegacyArgs |
net472 | 268μs | 42.4ns | 164ns | 0 | 0 | 0 | 2.17 KB |
Benchmarks.Trace.Asm.AppSecWafBenchmark - Slower ⚠️ More allocations ⚠️
Slower ⚠️ in #7712
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack‑netcoreapp3.1
1.711
298,308.56
510,400.74
More allocations ⚠️ in #7712
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack‑netcoreapp3.1
2.22 KB
2.23 KB
12 B
0.54%
| Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack‑netcoreapp3.1 | 1.711 | 298,308.56 | 510,400.74 |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack‑netcoreapp3.1 | 2.22 KB | 2.23 KB | 12 B | 0.54% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | RunWafRealisticBenchmark |
net6.0 | 396μs | 64.5ns | 250ns | 0 | 0 | 0 | 4.55 KB |
| master | RunWafRealisticBenchmark |
netcoreapp3.1 | 410μs | 67.3ns | 252ns | 0 | 0 | 0 | 4.48 KB |
| master | RunWafRealisticBenchmark |
net472 | 431μs | 34.7ns | 125ns | 0 | 0 | 0 | 4.68 KB |
| master | RunWafRealisticBenchmarkWithAttack |
net6.0 | 288μs | 48.4ns | 175ns | 0 | 0 | 0 | 2.24 KB |
| master | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 298μs | 163ns | 610ns | 0 | 0 | 0 | 2.22 KB |
| master | RunWafRealisticBenchmarkWithAttack |
net472 | 314μs | 27.5ns | 99.2ns | 0 | 0 | 0 | 2.29 KB |
| #7712 | RunWafRealisticBenchmark |
net6.0 | 390μs | 86.8ns | 325ns | 0 | 0 | 0 | 4.55 KB |
| #7712 | RunWafRealisticBenchmark |
netcoreapp3.1 | 416μs | 134ns | 518ns | 0 | 0 | 0 | 4.48 KB |
| #7712 | RunWafRealisticBenchmark |
net472 | 429μs | 55.6ns | 200ns | 0 | 0 | 0 | 4.66 KB |
| #7712 | RunWafRealisticBenchmarkWithAttack |
net6.0 | 284μs | 31.9ns | 124ns | 0 | 0 | 0 | 2.24 KB |
| #7712 | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 511μs | 238ns | 823ns | 0 | 0 | 0 | 2.23 KB |
| #7712 | RunWafRealisticBenchmarkWithAttack |
net472 | 316μs | 34.8ns | 135ns | 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 | 61μs | 63.7ns | 229ns | 0 | 0 | 0 | 14.52 KB |
| master | SendRequest |
netcoreapp3.1 | 71.9μs | 65ns | 243ns | 0 | 0 | 0 | 17.42 KB |
| master | SendRequest |
net472 | 0.000221ns | 0.000221ns | 0.000858ns | 0 | 0 | 0 | 0 b |
| #7712 | SendRequest |
net6.0 | 61.8μs | 50.7ns | 190ns | 0 | 0 | 0 | 14.52 KB |
| #7712 | SendRequest |
netcoreapp3.1 | 72.5μs | 124ns | 465ns | 0 | 0 | 0 | 17.42 KB |
| #7712 | SendRequest |
net472 | 0.00527ns | 0.00167ns | 0.00648ns | 0 | 0 | 0 | 0 b |
Benchmarks.Trace.CharSliceBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7712
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑net6.0
6 B
7 B
1 B
16.67%
Fewer allocations 🎉 in #7712
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net472
48 B
47 B
-1 B
-2.08%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑net6.0 | 6 B | 7 B | 1 B | 16.67% |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net472 | 48 B | 47 B | -1 B | -2.08% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | OriginalCharSlice |
net6.0 | 1.93ms | 2.64μs | 10.2μs | 0 | 0 | 0 | 640.01 KB |
| master | OriginalCharSlice |
netcoreapp3.1 | 2.28ms | 11.6μs | 53.3μs | 0 | 0 | 0 | 640.09 KB |
| master | OriginalCharSlice |
net472 | 2.63ms | 703ns | 2.54μs | 100 | 0 | 0 | 641.95 KB |
| master | OptimizedCharSlice |
net6.0 | 1.41ms | 104ns | 403ns | 0 | 0 | 0 | 6 B |
| master | OptimizedCharSlice |
netcoreapp3.1 | 1.75ms | 479ns | 1.85μs | 0 | 0 | 0 | 1 B |
| master | OptimizedCharSlice |
net472 | 1.94ms | 270ns | 1.04μs | 0 | 0 | 0 | 73 B |
| master | OptimizedCharSliceWithPool |
net6.0 | 875μs | 116ns | 450ns | 0 | 0 | 0 | 5 B |
| master | OptimizedCharSliceWithPool |
netcoreapp3.1 | 798μs | 124ns | 480ns | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSliceWithPool |
net472 | 1.13ms | 102ns | 397ns | 0 | 0 | 0 | 48 B |
| #7712 | OriginalCharSlice |
net6.0 | 1.9ms | 266ns | 995ns | 0 | 0 | 0 | 640.01 KB |
| #7712 | OriginalCharSlice |
netcoreapp3.1 | 2.2ms | 9.61μs | 35.9μs | 0 | 0 | 0 | 640 KB |
| #7712 | OriginalCharSlice |
net472 | 2.62ms | 122ns | 423ns | 100 | 0 | 0 | 641.95 KB |
| #7712 | OptimizedCharSlice |
net6.0 | 1.4ms | 77.6ns | 300ns | 0 | 0 | 0 | 7 B |
| #7712 | OptimizedCharSlice |
netcoreapp3.1 | 1.79ms | 134ns | 518ns | 0 | 0 | 0 | 1 B |
| #7712 | OptimizedCharSlice |
net472 | 1.94ms | 288ns | 1.08μs | 0 | 0 | 0 | 73 B |
| #7712 | OptimizedCharSliceWithPool |
net6.0 | 836μs | 42.2ns | 163ns | 0 | 0 | 0 | 5 B |
| #7712 | OptimizedCharSliceWithPool |
netcoreapp3.1 | 878μs | 53.4ns | 200ns | 0 | 0 | 0 | 0 b |
| #7712 | OptimizedCharSliceWithPool |
net472 | 1.14ms | 80.1ns | 310ns | 0 | 0 | 0 | 47 B |
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Slower ⚠️ Fewer allocations 🎉
Slower ⚠️ in #7712
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑netcoreapp3.1
1.174
642,952.40
754,756.07
Fewer allocations 🎉 in #7712
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net472
56.56 KB
55.69 KB
-870 B
-1.54%
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0
42.6 KB
41.79 KB
-814 B
-1.91%
| Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑netcoreapp3.1 | 1.174 | 642,952.40 | 754,756.07 |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net472 | 56.56 KB | 55.69 KB | -870 B | -1.54% |
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0 | 42.6 KB | 41.79 KB | -814 B | -1.91% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | WriteAndFlushEnrichedTraces |
net6.0 | 665μs | 2.63μs | 9.85μs | 0 | 0 | 0 | 42.6 KB |
| master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 640μs | 2.96μs | 10.7μs | 0 | 0 | 0 | 41.96 KB |
| master | WriteAndFlushEnrichedTraces |
net472 | 978μs | 4.14μs | 16μs | 8.33 | 0 | 0 | 56.56 KB |
| #7712 | WriteAndFlushEnrichedTraces |
net6.0 | 660μs | 587ns | 2.2μs | 0 | 0 | 0 | 41.79 KB |
| #7712 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 757μs | 1.56μs | 6.06μs | 0 | 0 | 0 | 42.07 KB |
| #7712 | WriteAndFlushEnrichedTraces |
net472 | 954μs | 5.23μs | 30.5μs | 4.81 | 0 | 0 | 55.69 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.83μs | 9.13ns | 38.7ns | 0 | 0 | 0 | 1.02 KB |
| master | ExecuteNonQuery |
netcoreapp3.1 | 2.6μs | 8.02ns | 31ns | 0 | 0 | 0 | 1.02 KB |
| master | ExecuteNonQuery |
net472 | 2.88μs | 4.02ns | 16.1ns | 0.143 | 0.0143 | 0 | 987 B |
| #7712 | ExecuteNonQuery |
net6.0 | 1.88μs | 9.16ns | 34.3ns | 0 | 0 | 0 | 1.02 KB |
| #7712 | ExecuteNonQuery |
netcoreapp3.1 | 2.8μs | 6.57ns | 25.5ns | 0 | 0 | 0 | 1.02 KB |
| #7712 | ExecuteNonQuery |
net472 | 2.8μs | 2.46ns | 9.54ns | 0.155 | 0.0141 | 0 | 988 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.67μs | 7.01ns | 26.2ns | 0 | 0 | 0 | 1.03 KB |
| master | CallElasticsearch |
netcoreapp3.1 | 2.21μs | 10.3ns | 41.2ns | 0 | 0 | 0 | 1.03 KB |
| master | CallElasticsearch |
net472 | 3.65μs | 1.73ns | 6.69ns | 0.164 | 0 | 0 | 1.04 KB |
| master | CallElasticsearchAsync |
net6.0 | 1.86μs | 8.41ns | 31.5ns | 0 | 0 | 0 | 1.01 KB |
| master | CallElasticsearchAsync |
netcoreapp3.1 | 2.34μs | 10.7ns | 41.5ns | 0 | 0 | 0 | 1.08 KB |
| master | CallElasticsearchAsync |
net472 | 3.85μs | 5.9ns | 22.9ns | 0.171 | 0 | 0 | 1.1 KB |
| #7712 | CallElasticsearch |
net6.0 | 1.67μs | 9.23ns | 56.9ns | 0 | 0 | 0 | 1.03 KB |
| #7712 | CallElasticsearch |
netcoreapp3.1 | 2.35μs | 11.1ns | 45.7ns | 0 | 0 | 0 | 1.03 KB |
| #7712 | CallElasticsearch |
net472 | 3.55μs | 2.53ns | 9.78ns | 0.16 | 0 | 0 | 1.04 KB |
| #7712 | CallElasticsearchAsync |
net6.0 | 1.84μs | 8.94ns | 36.9ns | 0 | 0 | 0 | 1.01 KB |
| #7712 | CallElasticsearchAsync |
netcoreapp3.1 | 2.36μs | 12.1ns | 55.4ns | 0 | 0 | 0 | 1.08 KB |
| #7712 | CallElasticsearchAsync |
net472 | 3.7μs | 7.13ns | 27.6ns | 0.168 | 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.84μs | 6.75ns | 24.4ns | 0 | 0 | 0 | 952 B |
| master | ExecuteAsync |
netcoreapp3.1 | 2.5μs | 8.39ns | 32.5ns | 0 | 0 | 0 | 952 B |
| master | ExecuteAsync |
net472 | 2.62μs | 5.25ns | 20.4ns | 0.143 | 0 | 0 | 915 B |
| #7712 | ExecuteAsync |
net6.0 | 1.92μs | 2.94ns | 11ns | 0 | 0 | 0 | 952 B |
| #7712 | ExecuteAsync |
netcoreapp3.1 | 2.42μs | 10.9ns | 42.3ns | 0 | 0 | 0 | 952 B |
| #7712 | ExecuteAsync |
net472 | 2.7μs | 5.26ns | 20.4ns | 0.134 | 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 | 7.06μs | 16.7ns | 62.4ns | 0 | 0 | 0 | 2.36 KB |
| master | SendAsync |
netcoreapp3.1 | 8.43μs | 6.39ns | 23ns | 0 | 0 | 0 | 2.9 KB |
| master | SendAsync |
net472 | 12.3μs | 13.9ns | 53.6ns | 0.491 | 0 | 0 | 3.18 KB |
| #7712 | SendAsync |
net6.0 | 6.87μs | 22.9ns | 88.8ns | 0 | 0 | 0 | 2.36 KB |
| #7712 | SendAsync |
netcoreapp3.1 | 8.63μs | 9.27ns | 35.9ns | 0 | 0 | 0 | 2.9 KB |
| #7712 | SendAsync |
net472 | 11.9μs | 11.6ns | 44.8ns | 0.479 | 0 | 0 | 3.18 KB |
Benchmarks.Trace.Iast.StringAspectsBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7712
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1
254.69 KB
275.5 KB
20.81 KB
8.17%
Fewer allocations 🎉 in #7712
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑netcoreapp3.1
43.63 KB
42.76 KB
-872 B
-2.00%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1 | 254.69 KB | 275.5 KB | 20.81 KB | 8.17% |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑netcoreapp3.1 | 43.63 KB | 42.76 KB | -872 B | -2.00% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StringConcatBenchmark |
net6.0 | 41.4μs | 164ns | 570ns | 0 | 0 | 0 | 43.44 KB |
| master | StringConcatBenchmark |
netcoreapp3.1 | 49.1μs | 256ns | 1.17μs | 0 | 0 | 0 | 43.63 KB |
| master | StringConcatBenchmark |
net472 | 58.4μs | 270ns | 1.05μs | 0 | 0 | 0 | 65.54 KB |
| master | StringConcatAspectBenchmark |
net6.0 | 501μs | 1.84μs | 7.37μs | 0 | 0 | 0 | 277.94 KB |
| master | StringConcatAspectBenchmark |
netcoreapp3.1 | 491μs | 1.67μs | 6.26μs | 0 | 0 | 0 | 254.69 KB |
| master | StringConcatAspectBenchmark |
net472 | 405μs | 2.17μs | 11.3μs | 0 | 0 | 0 | 278.53 KB |
| #7712 | StringConcatBenchmark |
net6.0 | 44.5μs | 235ns | 1.29μs | 0 | 0 | 0 | 43.44 KB |
| #7712 | StringConcatBenchmark |
netcoreapp3.1 | 51.9μs | 735ns | 7.2μs | 0 | 0 | 0 | 42.76 KB |
| #7712 | StringConcatBenchmark |
net472 | 57.3μs | 298ns | 1.4μs | 0 | 0 | 0 | 65.54 KB |
| #7712 | StringConcatAspectBenchmark |
net6.0 | 492μs | 1.87μs | 8.13μs | 0 | 0 | 0 | 279.01 KB |
| #7712 | StringConcatAspectBenchmark |
netcoreapp3.1 | 468μs | 6.22μs | 60.3μs | 0 | 0 | 0 | 275.5 KB |
| #7712 | StringConcatAspectBenchmark |
net472 | 393μs | 1.5μs | 5.61μs | 0 | 0 | 0 | 278.53 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.71μs | 12.6ns | 50.5ns | 0 | 0 | 0 | 1.7 KB |
| master | EnrichedLog |
netcoreapp3.1 | 3.52μs | 15.8ns | 61.1ns | 0 | 0 | 0 | 1.7 KB |
| master | EnrichedLog |
net472 | 3.81μs | 2.01ns | 7.77ns | 0.247 | 0 | 0 | 1.64 KB |
| #7712 | EnrichedLog |
net6.0 | 2.63μs | 11.4ns | 44ns | 0 | 0 | 0 | 1.7 KB |
| #7712 | EnrichedLog |
netcoreapp3.1 | 3.71μs | 14.9ns | 57.9ns | 0 | 0 | 0 | 1.7 KB |
| #7712 | EnrichedLog |
net472 | 4.04μs | 6.74ns | 26.1ns | 0.24 | 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 | 129μs | 492ns | 1.84μs | 0 | 0 | 0 | 4.31 KB |
| master | EnrichedLog |
netcoreapp3.1 | 130μs | 265ns | 954ns | 0 | 0 | 0 | 4.31 KB |
| master | EnrichedLog |
net472 | 168μs | 155ns | 581ns | 0 | 0 | 0 | 4.52 KB |
| #7712 | EnrichedLog |
net6.0 | 125μs | 438ns | 1.64μs | 0 | 0 | 0 | 4.31 KB |
| #7712 | EnrichedLog |
netcoreapp3.1 | 130μs | 421ns | 1.57μs | 0 | 0 | 0 | 4.31 KB |
| #7712 | EnrichedLog |
net472 | 171μs | 237ns | 918ns | 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 | 5.02μs | 17.4ns | 65.2ns | 0 | 0 | 0 | 2.26 KB |
| master | EnrichedLog |
netcoreapp3.1 | 6.68μs | 13.5ns | 52.1ns | 0 | 0 | 0 | 2.26 KB |
| master | EnrichedLog |
net472 | 7.53μs | 5.43ns | 21ns | 0.299 | 0 | 0 | 2.08 KB |
| #7712 | EnrichedLog |
net6.0 | 5.08μs | 4.61ns | 16.6ns | 0 | 0 | 0 | 2.26 KB |
| #7712 | EnrichedLog |
netcoreapp3.1 | 6.88μs | 22.5ns | 87.3ns | 0 | 0 | 0 | 2.26 KB |
| #7712 | EnrichedLog |
net472 | 7.55μs | 6.84ns | 24.7ns | 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.95μs | 10.6ns | 54.1ns | 0 | 0 | 0 | 1.2 KB |
| master | SendReceive |
netcoreapp3.1 | 2.62μs | 12.4ns | 52.6ns | 0 | 0 | 0 | 1.2 KB |
| master | SendReceive |
net472 | 3.02μs | 2.72ns | 10.5ns | 0.18 | 0 | 0 | 1.2 KB |
| #7712 | SendReceive |
net6.0 | 1.96μs | 2.49ns | 9.66ns | 0 | 0 | 0 | 1.2 KB |
| #7712 | SendReceive |
netcoreapp3.1 | 2.56μs | 12.1ns | 51.4ns | 0 | 0 | 0 | 1.2 KB |
| #7712 | SendReceive |
net472 | 2.99μs | 1.15ns | 4.47ns | 0.179 | 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.3μs | 7.02ns | 27.2ns | 0 | 0 | 0 | 1.58 KB |
| master | EnrichedLog |
netcoreapp3.1 | 5.65μs | 17.4ns | 67.5ns | 0 | 0 | 0 | 1.63 KB |
| master | EnrichedLog |
net472 | 6.59μs | 7.7ns | 28.8ns | 0.295 | 0 | 0 | 2.03 KB |
| #7712 | EnrichedLog |
net6.0 | 4.26μs | 10.8ns | 41.9ns | 0 | 0 | 0 | 1.58 KB |
| #7712 | EnrichedLog |
netcoreapp3.1 | 5.81μs | 4.55ns | 17ns | 0 | 0 | 0 | 1.63 KB |
| #7712 | EnrichedLog |
net472 | 6.47μs | 6.23ns | 24.1ns | 0.291 | 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 | 768ns | 4ns | 19.6ns | 0 | 0 | 0 | 576 B |
| master | StartFinishSpan |
netcoreapp3.1 | 953ns | 4.91ns | 24.1ns | 0 | 0 | 0 | 576 B |
| master | StartFinishSpan |
net472 | 947ns | 0.2ns | 0.72ns | 0.09 | 0 | 0 | 578 B |
| master | StartFinishScope |
net6.0 | 922ns | 0.233ns | 0.904ns | 0 | 0 | 0 | 696 B |
| master | StartFinishScope |
netcoreapp3.1 | 1.2μs | 4.69ns | 18.1ns | 0 | 0 | 0 | 696 B |
| master | StartFinishScope |
net472 | 1.15μs | 0.245ns | 0.882ns | 0.103 | 0 | 0 | 658 B |
| #7712 | StartFinishSpan |
net6.0 | 778ns | 1.55ns | 5.99ns | 0 | 0 | 0 | 576 B |
| #7712 | StartFinishSpan |
netcoreapp3.1 | 991ns | 0.691ns | 2.58ns | 0 | 0 | 0 | 576 B |
| #7712 | StartFinishSpan |
net472 | 946ns | 0.171ns | 0.617ns | 0.0903 | 0 | 0 | 578 B |
| #7712 | StartFinishScope |
net6.0 | 918ns | 4.27ns | 17.1ns | 0 | 0 | 0 | 696 B |
| #7712 | StartFinishScope |
netcoreapp3.1 | 1.21μs | 5.78ns | 22.4ns | 0 | 0 | 0 | 696 B |
| #7712 | StartFinishScope |
net472 | 1.14μs | 0.182ns | 0.703ns | 0.103 | 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.04ns | 20.1ns | 0 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
netcoreapp3.1 | 1.41μs | 6.88ns | 31.5ns | 0 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
net472 | 1.49μs | 0.871ns | 3.37ns | 0.104 | 0 | 0 | 658 B |
| #7712 | RunOnMethodBegin |
net6.0 | 1.08μs | 5.07ns | 19.7ns | 0 | 0 | 0 | 696 B |
| #7712 | RunOnMethodBegin |
netcoreapp3.1 | 1.4μs | 7ns | 32.9ns | 0 | 0 | 0 | 696 B |
| #7712 | RunOnMethodBegin |
net472 | 1.54μs | 0.981ns | 3.67ns | 0.0998 | 0 | 0 | 658 B |
d36cc78 to
2ff50ce
Compare
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.8)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7712) - mean (81ms) : crit, 76, 85
. : crit, milestone, 81,
master - mean (72ms) : 71, 73
. : milestone, 72,
section Baseline
This PR (7712) - mean (75ms) : 70, 79
. : milestone, 75,
master - mean (68ms) : 66, 69
. : milestone, 68,
section CallTarget+Inlining+NGEN
This PR (7712) - mean (1,132ms) : crit, 1038, 1226
. : crit, milestone, 1132,
master - mean (1,040ms) : 997, 1084
. : milestone, 1040,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7712) - mean (119ms) : crit, 111, 128
. : crit, milestone, 119,
master - mean (106ms) : 105, 108
. : milestone, 106,
section Baseline
This PR (7712) - mean (119ms) : 109, 129
. : milestone, 119,
master - mean (105ms) : 103, 107
. : milestone, 105,
section CallTarget+Inlining+NGEN
This PR (7712) - mean (798ms) : crit, 747, 850
. : crit, milestone, 798,
master - mean (746ms) : 720, 772
. : milestone, 746,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7712) - mean (105ms) : crit, 97, 114
. : crit, milestone, 105,
master - mean (94ms) : 93, 95
. : milestone, 94,
section Baseline
This PR (7712) - mean (102ms) : 95, 109
. : milestone, 102,
master - mean (93ms) : 91, 95
. : milestone, 93,
section CallTarget+Inlining+NGEN
This PR (7712) - mean (740ms) : 700, 779
. : milestone, 740,
master - mean (707ms) : 672, 742
. : milestone, 707,
gantt
title Execution time (ms) FakeDbCommand (.NET 8)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7712) - mean (107ms) : crit, 100, 113
. : crit, milestone, 107,
master - mean (92ms) : 91, 93
. : milestone, 92,
section Baseline
This PR (7712) - mean (106ms) : 99, 112
. : milestone, 106,
master - mean (91ms) : 89, 93
. : milestone, 91,
section CallTarget+Inlining+NGEN
This PR (7712) - mean (717ms) : crit, 682, 751
. : crit, milestone, 717,
master - mean (661ms) : 646, 676
. : milestone, 661,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7712) - mean (200ms) : 195, 205
. : milestone, 200,
master - mean (195ms) : 192, 197
. : milestone, 195,
section Baseline
This PR (7712) - mean (195ms) : 190, 200
. : milestone, 195,
master - mean (191ms) : 189, 194
. : milestone, 191,
section CallTarget+Inlining+NGEN
This PR (7712) - mean (1,174ms) : 1110, 1238
. : milestone, 1174,
master - mean (1,156ms) : 1094, 1218
. : milestone, 1156,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7712) - mean (283ms) : 275, 290
. : milestone, 283,
master - mean (275ms) : 272, 279
. : milestone, 275,
section Baseline
This PR (7712) - mean (280ms) : 274, 286
. : milestone, 280,
master - mean (276ms) : 271, 281
. : milestone, 276,
section CallTarget+Inlining+NGEN
This PR (7712) - mean (952ms) : 905, 999
. : milestone, 952,
master - mean (942ms) : 903, 980
. : milestone, 942,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7712) - mean (273ms) : 264, 282
. : milestone, 273,
master - mean (268ms) : 264, 272
. : milestone, 268,
section Baseline
This PR (7712) - mean (275ms) : 261, 289
. : milestone, 275,
master - mean (267ms) : 264, 271
. : milestone, 267,
section CallTarget+Inlining+NGEN
This PR (7712) - mean (951ms) : 881, 1022
. : milestone, 951,
master - mean (922ms) : 875, 969
. : milestone, 922,
gantt
title Execution time (ms) HttpMessageHandler (.NET 8)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7712) - mean (275ms) : 266, 283
. : milestone, 275,
master - mean (266ms) : 262, 269
. : milestone, 266,
section Baseline
This PR (7712) - mean (272ms) : 267, 278
. : milestone, 272,
master - mean (266ms) : 260, 271
. : milestone, 266,
section CallTarget+Inlining+NGEN
This PR (7712) - mean (862ms) : 832, 892
. : milestone, 862,
master - mean (850ms) : 828, 872
. : milestone, 850,
|
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.
Should probably validate that Azure Functions works with the later version.
| <!-- Latest package https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Core/2.1.0 --> | ||
| <PackageReference Include="Microsoft.Azure.Functions.Worker.Core" Version="2.1.0" /> | ||
| <!-- Latest package https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Core/2.2.0 --> | ||
| <PackageReference Include="Microsoft.Azure.Functions.Worker.Core" Version="2.2.0" /> |
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.
I don't think we auto test the updated versions of Azure Fuctions?
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.
Yeah it doesn't look like we test this as the version is hardcoded in the samples.
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.
Yeah, we can't multi-target these unfortunately. Added a commit that bumps the hard-coded versions instead here 97122df
2ff50ce to
97122df
Compare
Updates the package versions for integration tests.