[Test Package Versions Bump] Updating package versions#7693
[Test Package Versions Bump] Updating package versions#7693andrewlock merged 1 commit intomasterfrom
Conversation
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing the following branches/commits: Execution-time benchmarks measure the whole time it takes to execute a program. And are intended to measure the one-off costs. Cases where the execution time results for the PR are worse than latest master results are shown in red. The following thresholds were used for comparing the execution times:
Note that these results are based on a single point-in-time result for each branch. For full results, see the dashboard. Graphs show the p99 interval based on the mean and StdDev of the test run, as well as the mean value of the run (shown as a diamond below the graph). gantt
title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7693) - mean (74ms) : 72, 76
. : milestone, 74,
master - mean (75ms) : 73, 76
. : milestone, 75,
section Baseline
This PR (7693) - mean (70ms) : 68, 72
. : milestone, 70,
master - mean (70ms) : 68, 73
. : milestone, 70,
section CallTarget+Inlining+NGEN
This PR (7693) - mean (1,071ms) : 1001, 1141
. : milestone, 1071,
master - mean (1,072ms) : 991, 1152
. : milestone, 1072,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7693) - mean (111ms) : 109, 113
. : milestone, 111,
master - mean (110ms) : 107, 113
. : milestone, 110,
section Baseline
This PR (7693) - mean (109ms) : 105, 113
. : milestone, 109,
master - mean (109ms) : 105, 113
. : milestone, 109,
section CallTarget+Inlining+NGEN
This PR (7693) - mean (756ms) : 734, 777
. : milestone, 756,
master - mean (753ms) : 725, 780
. : milestone, 753,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7693) - mean (98ms) : 96, 100
. : milestone, 98,
master - mean (97ms) : 95, 100
. : milestone, 97,
section Baseline
This PR (7693) - mean (97ms) : 94, 101
. : milestone, 97,
master - mean (97ms) : 93, 101
. : milestone, 97,
section CallTarget+Inlining+NGEN
This PR (7693) - mean (724ms) : 675, 773
. : milestone, 724,
master - mean (712ms) : 687, 737
. : milestone, 712,
gantt
title Execution time (ms) FakeDbCommand (.NET 8)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7693) - mean (97ms) : 94, 100
. : milestone, 97,
master - mean (97ms) : 95, 99
. : milestone, 97,
section Baseline
This PR (7693) - mean (95ms) : 93, 98
. : milestone, 95,
master - mean (96ms) : 93, 98
. : milestone, 96,
section CallTarget+Inlining+NGEN
This PR (7693) - mean (672ms) : 655, 689
. : milestone, 672,
master - mean (677ms) : 664, 690
. : milestone, 677,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7693) - mean (196ms) : 194, 198
. : milestone, 196,
master - mean (196ms) : 193, 198
. : milestone, 196,
section Baseline
This PR (7693) - mean (193ms) : 189, 196
. : milestone, 193,
master - mean (192ms) : 188, 197
. : milestone, 192,
section CallTarget+Inlining+NGEN
This PR (7693) - mean (1,167ms) : 1108, 1226
. : milestone, 1167,
master - mean (1,168ms) : 1109, 1226
. : milestone, 1168,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7693) - mean (277ms) : 273, 282
. : milestone, 277,
master - mean (276ms) : 274, 279
. : milestone, 276,
section Baseline
This PR (7693) - mean (277ms) : 271, 282
. : milestone, 277,
master - mean (276ms) : 270, 283
. : milestone, 276,
section CallTarget+Inlining+NGEN
This PR (7693) - mean (950ms) : 907, 992
. : milestone, 950,
master - mean (946ms) : 905, 986
. : milestone, 946,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7693) - mean (269ms) : 266, 272
. : milestone, 269,
master - mean (270ms) : 265, 276
. : milestone, 270,
section Baseline
This PR (7693) - mean (271ms) : 263, 278
. : milestone, 271,
master - mean (269ms) : 265, 274
. : milestone, 269,
section CallTarget+Inlining+NGEN
This PR (7693) - mean (925ms) : 885, 965
. : milestone, 925,
master - mean (928ms) : 884, 973
. : milestone, 928,
gantt
title Execution time (ms) HttpMessageHandler (.NET 8)
dateFormat X
axisFormat %s
todayMarker off
section Bailout
This PR (7693) - mean (270ms) : 266, 273
. : milestone, 270,
master - mean (269ms) : 264, 274
. : milestone, 269,
section Baseline
This PR (7693) - mean (269ms) : 263, 274
. : milestone, 269,
master - mean (270ms) : 266, 273
. : milestone, 270,
section CallTarget+Inlining+NGEN
This PR (7693) - mean (851ms) : 830, 872
. : milestone, 851,
master - mean (861ms) : 844, 878
. : milestone, 861,
|
BenchmarksBenchmarks Report for benchmark platform 🐌Benchmarks for #7693 compared to master:
The following thresholds were used for comparing the benchmark speeds:
Allocation changes below 0.5% are ignored. Benchmark detailsBenchmarks.Trace.ActivityBenchmark - Unknown 🤷 More allocations
|
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.ActivityBenchmark.StartStopWithChild‑net472 | 0 b | 6.01 KB | 6.01 KB | ∞ |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.ActivityBenchmark.StartStopWithChild‑netcoreapp3.1 | 5.7 KB | 5.67 KB | -34 B | -0.60% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StartStopWithChild |
net6.0 | 10.4μs | 57.1ns | 328ns | 0 | 0 | 0 | 5.51 KB |
| master | StartStopWithChild |
netcoreapp3.1 | 14.7μs | 76.1ns | 357ns | 0 | 0 | 0 | 5.7 KB |
| master | StartStopWithChild |
net472 | N/A | N/A | N/A | NaN | NaN | NaN | 0 b |
| #7693 | StartStopWithChild |
net6.0 | 11.4μs | 51.4ns | 199ns | 0 | 0 | 0 | 5.52 KB |
| #7693 | StartStopWithChild |
netcoreapp3.1 | 13.2μs | 68.8ns | 323ns | 0 | 0 | 0 | 5.67 KB |
| #7693 | StartStopWithChild |
net472 | 22.5μs | 120ns | 626ns | 1.06 | 0.423 | 0.106 | 6.01 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 | 83.5ns | 313ns | 0 | 0 | 0 | 2.71 KB |
| master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 1.03ms | 500ns | 1.94μs | 0 | 0 | 0 | 2.7 KB |
| master | WriteAndFlushEnrichedTraces |
net472 | 1.19ms | 1.9μs | 7.35μs | 0 | 0 | 0 | 3.31 KB |
| #7693 | WriteAndFlushEnrichedTraces |
net6.0 | 930μs | 80.7ns | 279ns | 0 | 0 | 0 | 2.71 KB |
| #7693 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 1.02ms | 131ns | 473ns | 0 | 0 | 0 | 2.7 KB |
| #7693 | WriteAndFlushEnrichedTraces |
net472 | 1.18ms | 219ns | 847ns | 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 | 360μs | 107ns | 414ns | 0 | 0 | 0 | 186.08 KB |
| master | AllCycleSimpleBody |
netcoreapp3.1 | 517μs | 746ns | 2.69μs | 0 | 0 | 0 | 191.8 KB |
| master | AllCycleSimpleBody |
net472 | 473μs | 160ns | 620ns | 32.4 | 0 | 0 | 208.12 KB |
| master | AllCycleMoreComplexBody |
net6.0 | 362μs | 1.87μs | 8.96μs | 0 | 0 | 0 | 189.6 KB |
| master | AllCycleMoreComplexBody |
netcoreapp3.1 | 509μs | 1.85μs | 7.16μs | 0 | 0 | 0 | 195.23 KB |
| master | AllCycleMoreComplexBody |
net472 | 481μs | 121ns | 467ns | 31.2 | 0 | 0 | 211.66 KB |
| master | ObjectExtractorSimpleBody |
net6.0 | 316ns | 1.7ns | 8.52ns | 0 | 0 | 0 | 280 B |
| master | ObjectExtractorSimpleBody |
netcoreapp3.1 | 396ns | 2.18ns | 12.5ns | 0 | 0 | 0 | 272 B |
| master | ObjectExtractorSimpleBody |
net472 | 303ns | 0.025ns | 0.0902ns | 0.0431 | 0 | 0 | 281 B |
| master | ObjectExtractorMoreComplexBody |
net6.0 | 6.2μs | 32.1ns | 160ns | 0 | 0 | 0 | 3.78 KB |
| master | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 7.84μs | 37.3ns | 145ns | 0 | 0 | 0 | 3.69 KB |
| master | ObjectExtractorMoreComplexBody |
net472 | 6.79μs | 4.98ns | 18.6ns | 0.575 | 0 | 0 | 3.8 KB |
| #7693 | AllCycleSimpleBody |
net6.0 | 356μs | 1.65μs | 6.81μs | 0 | 0 | 0 | 186.08 KB |
| #7693 | AllCycleSimpleBody |
netcoreapp3.1 | 501μs | 1.88μs | 8.62μs | 0 | 0 | 0 | 191.8 KB |
| #7693 | AllCycleSimpleBody |
net472 | 475μs | 127ns | 475ns | 32.4 | 0 | 0 | 208.12 KB |
| #7693 | AllCycleMoreComplexBody |
net6.0 | 369μs | 1.46μs | 5.67μs | 0 | 0 | 0 | 189.6 KB |
| #7693 | AllCycleMoreComplexBody |
netcoreapp3.1 | 512μs | 1.81μs | 7μs | 0 | 0 | 0 | 195.23 KB |
| #7693 | AllCycleMoreComplexBody |
net472 | 483μs | 86.4ns | 335ns | 31.2 | 0 | 0 | 211.66 KB |
| #7693 | ObjectExtractorSimpleBody |
net6.0 | 315ns | 1.66ns | 8.15ns | 0 | 0 | 0 | 280 B |
| #7693 | ObjectExtractorSimpleBody |
netcoreapp3.1 | 400ns | 2.16ns | 9.67ns | 0 | 0 | 0 | 272 B |
| #7693 | ObjectExtractorSimpleBody |
net472 | 301ns | 0.0212ns | 0.082ns | 0.044 | 0 | 0 | 281 B |
| #7693 | ObjectExtractorMoreComplexBody |
net6.0 | 6.18μs | 31.7ns | 149ns | 0 | 0 | 0 | 3.78 KB |
| #7693 | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 7.76μs | 32.6ns | 126ns | 0 | 0 | 0 | 3.69 KB |
| #7693 | ObjectExtractorMoreComplexBody |
net472 | 6.74μs | 7.19ns | 27.9ns | 0.571 | 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 | 76.6μs | 45.1ns | 175ns | 0 | 0 | 0 | 32.4 KB |
| master | EncodeArgs |
netcoreapp3.1 | 98.7μs | 15.4ns | 57.6ns | 0 | 0 | 0 | 32.4 KB |
| master | EncodeArgs |
net472 | 112μs | 19ns | 68.6ns | 5.04 | 0 | 0 | 32.51 KB |
| master | EncodeLegacyArgs |
net6.0 | 143μs | 9.24ns | 34.6ns | 0 | 0 | 0 | 2.14 KB |
| master | EncodeLegacyArgs |
netcoreapp3.1 | 198μs | 108ns | 403ns | 0 | 0 | 0 | 2.14 KB |
| master | EncodeLegacyArgs |
net472 | 263μs | 63.3ns | 245ns | 0 | 0 | 0 | 2.16 KB |
| #7693 | EncodeArgs |
net6.0 | 76.2μs | 371ns | 1.48μs | 0 | 0 | 0 | 32.4 KB |
| #7693 | EncodeArgs |
netcoreapp3.1 | 97.2μs | 257ns | 996ns | 0 | 0 | 0 | 32.4 KB |
| #7693 | EncodeArgs |
net472 | 109μs | 10.6ns | 41ns | 4.89 | 0 | 0 | 32.51 KB |
| #7693 | EncodeLegacyArgs |
net6.0 | 145μs | 15.5ns | 60.2ns | 0 | 0 | 0 | 2.15 KB |
| #7693 | EncodeLegacyArgs |
netcoreapp3.1 | 201μs | 142ns | 551ns | 0 | 0 | 0 | 2.15 KB |
| #7693 | EncodeLegacyArgs |
net472 | 262μs | 66.7ns | 258ns | 0 | 0 | 0 | 2.16 KB |
Benchmarks.Trace.Asm.AppSecWafBenchmark - Slower ⚠️ Same allocations ✔️
Slower ⚠️ in #7693
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark‑netcoreapp3.1
2.072
414,160.94
858,209.90
| Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark‑netcoreapp3.1 | 2.072 | 414,160.94 | 858,209.90 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | RunWafRealisticBenchmark |
net6.0 | 397μs | 94.3ns | 365ns | 0 | 0 | 0 | 4.55 KB |
| master | RunWafRealisticBenchmark |
netcoreapp3.1 | 415μs | 1.14μs | 4.25μs | 0 | 0 | 0 | 4.48 KB |
| master | RunWafRealisticBenchmark |
net472 | 426μs | 27ns | 101ns | 0 | 0 | 0 | 4.66 KB |
| master | RunWafRealisticBenchmarkWithAttack |
net6.0 | 285μs | 56.5ns | 219ns | 0 | 0 | 0 | 2.24 KB |
| master | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 300μs | 231ns | 895ns | 0 | 0 | 0 | 2.22 KB |
| master | RunWafRealisticBenchmarkWithAttack |
net472 | 309μs | 47.1ns | 170ns | 0 | 0 | 0 | 2.29 KB |
| #7693 | RunWafRealisticBenchmark |
net6.0 | 389μs | 90ns | 325ns | 0 | 0 | 0 | 4.55 KB |
| #7693 | RunWafRealisticBenchmark |
netcoreapp3.1 | 820μs | 12.8μs | 127μs | 0 | 0 | 0 | 4.48 KB |
| #7693 | RunWafRealisticBenchmark |
net472 | 426μs | 31.2ns | 121ns | 0 | 0 | 0 | 4.66 KB |
| #7693 | RunWafRealisticBenchmarkWithAttack |
net6.0 | 284μs | 36.2ns | 140ns | 0 | 0 | 0 | 2.24 KB |
| #7693 | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 302μs | 281ns | 1.05μs | 0 | 0 | 0 | 2.22 KB |
| #7693 | RunWafRealisticBenchmarkWithAttack |
net472 | 309μs | 29.6ns | 115ns | 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.8μs | 261ns | 1.52μs | 0 | 0 | 0 | 14.52 KB |
| master | SendRequest |
netcoreapp3.1 | 71.5μs | 89.3ns | 322ns | 0 | 0 | 0 | 17.42 KB |
| master | SendRequest |
net472 | 0.0516ns | 0.00729ns | 0.0273ns | 0 | 0 | 0 | 0 b |
| #7693 | SendRequest |
net6.0 | 61.2μs | 59.7ns | 223ns | 0 | 0 | 0 | 14.52 KB |
| #7693 | SendRequest |
netcoreapp3.1 | 71.7μs | 362ns | 1.62μs | 0 | 0 | 0 | 17.42 KB |
| #7693 | SendRequest |
net472 | 0.0039ns | 0.0021ns | 0.00812ns | 0 | 0 | 0 | 0 b |
Benchmarks.Trace.CharSliceBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7693
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑net6.0
4 B
7 B
3 B
75.00%
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net6.0
3 B
4 B
1 B
33.33%
Fewer allocations 🎉 in #7693
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑netcoreapp3.1
32 B
1 B
-31 B
-96.88%
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑net472
73 B
0 b
-73 B
-100.00%
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net472
47 B
0 b
-47 B
-100.00%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑net6.0 | 4 B | 7 B | 3 B | 75.00% |
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net6.0 | 3 B | 4 B | 1 B | 33.33% |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑netcoreapp3.1 | 32 B | 1 B | -31 B | -96.88% |
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑net472 | 73 B | 0 b | -73 B | -100.00% |
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net472 | 47 B | 0 b | -47 B | -100.00% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | OriginalCharSlice |
net6.0 | 1.95ms | 1.15μs | 4.3μs | 0 | 0 | 0 | 640 KB |
| master | OriginalCharSlice |
netcoreapp3.1 | 2.07ms | 5.36μs | 18.6μs | 0 | 0 | 0 | 640 KB |
| master | OriginalCharSlice |
net472 | 2.65ms | 321ns | 1.16μs | 100 | 0 | 0 | 641.95 KB |
| master | OptimizedCharSlice |
net6.0 | 1.47ms | 222ns | 859ns | 0 | 0 | 0 | 4 B |
| master | OptimizedCharSlice |
netcoreapp3.1 | 1.68ms | 417ns | 1.61μs | 0 | 0 | 0 | 32 B |
| master | OptimizedCharSlice |
net472 | 1.94ms | 357ns | 1.38μs | 0 | 0 | 0 | 73 B |
| master | OptimizedCharSliceWithPool |
net6.0 | 840μs | 23.6ns | 88.1ns | 0 | 0 | 0 | 3 B |
| master | OptimizedCharSliceWithPool |
netcoreapp3.1 | 902μs | 72.9ns | 273ns | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSliceWithPool |
net472 | 1.2ms | 126ns | 490ns | 0 | 0 | 0 | 47 B |
| #7693 | OriginalCharSlice |
net6.0 | 1.91ms | 504ns | 1.89μs | 0 | 0 | 0 | 640 KB |
| #7693 | OriginalCharSlice |
netcoreapp3.1 | 2.11ms | 5.23μs | 19.6μs | 0 | 0 | 0 | 640 KB |
| #7693 | OriginalCharSlice |
net472 | 2.73ms | 418ns | 1.56μs | 100 | 0 | 0 | 641.95 KB |
| #7693 | OptimizedCharSlice |
net6.0 | 1.59ms | 156ns | 583ns | 0 | 0 | 0 | 7 B |
| #7693 | OptimizedCharSlice |
netcoreapp3.1 | 1.64ms | 507ns | 1.96μs | 0 | 0 | 0 | 1 B |
| #7693 | OptimizedCharSlice |
net472 | 1.95ms | 355ns | 1.33μs | 0 | 0 | 0 | 0 b |
| #7693 | OptimizedCharSliceWithPool |
net6.0 | 802μs | 55.5ns | 215ns | 0 | 0 | 0 | 4 B |
| #7693 | OptimizedCharSliceWithPool |
netcoreapp3.1 | 851μs | 178ns | 689ns | 0 | 0 | 0 | 0 b |
| #7693 | OptimizedCharSliceWithPool |
net472 | 1.13ms | 97.9ns | 379ns | 0 | 0 | 0 | 0 b |
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Slower ⚠️ More allocations ⚠️
Slower ⚠️ in #7693
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0
1.214
630,003.30
765,104.17
bimodal
More allocations ⚠️ in #7693
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net472
56.11 KB
56.49 KB
378 B
0.67%
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0
41.63 KB
41.84 KB
213 B
0.51%
Fewer allocations 🎉 in #7693
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑netcoreapp3.1
42.16 KB
41.93 KB
-229 B
-0.54%
| Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0 | 1.214 | 630,003.30 | 765,104.17 | bimodal |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net472 | 56.11 KB | 56.49 KB | 378 B | 0.67% |
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0 | 41.63 KB | 41.84 KB | 213 B | 0.51% |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑netcoreapp3.1 | 42.16 KB | 41.93 KB | -229 B | -0.54% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | WriteAndFlushEnrichedTraces |
net6.0 | 639μs | 3.29μs | 14.7μs | 0 | 0 | 0 | 41.63 KB |
| master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 631μs | 1.23μs | 6.84μs | 0 | 0 | 0 | 42.16 KB |
| master | WriteAndFlushEnrichedTraces |
net472 | 872μs | 3.06μs | 11.9μs | 4.46 | 0 | 0 | 56.11 KB |
| #7693 | WriteAndFlushEnrichedTraces |
net6.0 | 766μs | 3.71μs | 15.3μs | 0 | 0 | 0 | 41.84 KB |
| #7693 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 697μs | 3.48μs | 16.3μs | 0 | 0 | 0 | 41.93 KB |
| #7693 | WriteAndFlushEnrichedTraces |
net472 | 923μs | 1.72μs | 6.45μs | 8.33 | 0 | 0 | 56.49 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.94μs | 6.9ns | 25.8ns | 0 | 0 | 0 | 1.02 KB |
| master | ExecuteNonQuery |
netcoreapp3.1 | 2.62μs | 6.76ns | 26.2ns | 0 | 0 | 0 | 1.02 KB |
| master | ExecuteNonQuery |
net472 | 2.72μs | 4.13ns | 16ns | 0.15 | 0.0136 | 0 | 987 B |
| #7693 | ExecuteNonQuery |
net6.0 | 1.99μs | 2.04ns | 7.89ns | 0 | 0 | 0 | 1.02 KB |
| #7693 | ExecuteNonQuery |
netcoreapp3.1 | 2.6μs | 13ns | 55ns | 0 | 0 | 0 | 1.02 KB |
| #7693 | ExecuteNonQuery |
net472 | 2.73μs | 2.18ns | 8.16ns | 0.15 | 0.0136 | 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.81μs | 5.63ns | 21.1ns | 0 | 0 | 0 | 1.03 KB |
| master | CallElasticsearch |
netcoreapp3.1 | 2.27μs | 9.99ns | 38.7ns | 0 | 0 | 0 | 1.03 KB |
| master | CallElasticsearch |
net472 | 3.51μs | 2.1ns | 7.86ns | 0.157 | 0 | 0 | 1.04 KB |
| master | CallElasticsearchAsync |
net6.0 | 1.83μs | 8.93ns | 35.7ns | 0 | 0 | 0 | 1.01 KB |
| master | CallElasticsearchAsync |
netcoreapp3.1 | 2.42μs | 10.2ns | 39.4ns | 0 | 0 | 0 | 1.08 KB |
| master | CallElasticsearchAsync |
net472 | 3.77μs | 3.38ns | 13.1ns | 0.171 | 0 | 0 | 1.1 KB |
| #7693 | CallElasticsearch |
net6.0 | 1.75μs | 9.48ns | 32.8ns | 0 | 0 | 0 | 1.03 KB |
| #7693 | CallElasticsearch |
netcoreapp3.1 | 2.28μs | 10.7ns | 44.3ns | 0 | 0 | 0 | 1.03 KB |
| #7693 | CallElasticsearch |
net472 | 3.57μs | 3.2ns | 12.4ns | 0.162 | 0 | 0 | 1.04 KB |
| #7693 | CallElasticsearchAsync |
net6.0 | 1.82μs | 1.42ns | 5.5ns | 0 | 0 | 0 | 1.01 KB |
| #7693 | CallElasticsearchAsync |
netcoreapp3.1 | 2.48μs | 3.29ns | 12.8ns | 0 | 0 | 0 | 1.08 KB |
| #7693 | CallElasticsearchAsync |
net472 | 3.66μs | 3.73ns | 13.9ns | 0.163 | 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.88μs | 8.62ns | 31.1ns | 0 | 0 | 0 | 952 B |
| master | ExecuteAsync |
netcoreapp3.1 | 2.39μs | 8.51ns | 32.9ns | 0 | 0 | 0 | 952 B |
| master | ExecuteAsync |
net472 | 2.63μs | 2.91ns | 11.3ns | 0.132 | 0 | 0 | 915 B |
| #7693 | ExecuteAsync |
net6.0 | 1.8μs | 4.7ns | 18.2ns | 0 | 0 | 0 | 952 B |
| #7693 | ExecuteAsync |
netcoreapp3.1 | 2.31μs | 8.82ns | 34.2ns | 0 | 0 | 0 | 952 B |
| #7693 | ExecuteAsync |
net472 | 2.57μs | 1.4ns | 5.26ns | 0.14 | 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.74μs | 17.3ns | 64.6ns | 0 | 0 | 0 | 2.36 KB |
| master | SendAsync |
netcoreapp3.1 | 8.5μs | 16.3ns | 63.1ns | 0 | 0 | 0 | 2.9 KB |
| master | SendAsync |
net472 | 12.4μs | 11.2ns | 43.4ns | 0.497 | 0 | 0 | 3.18 KB |
| #7693 | SendAsync |
net6.0 | 6.69μs | 14.1ns | 52.7ns | 0 | 0 | 0 | 2.36 KB |
| #7693 | SendAsync |
netcoreapp3.1 | 8.31μs | 31.7ns | 123ns | 0 | 0 | 0 | 2.9 KB |
| #7693 | SendAsync |
net472 | 12.3μs | 12.6ns | 48.9ns | 0.489 | 0 | 0 | 3.18 KB |
Benchmarks.Trace.Iast.StringAspectsBenchmark - Unknown 🤷 More allocations ⚠️
More allocations ⚠️ in #7693
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472
0 b
65.54 KB
65.54 KB
∞
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net472
0 b
278.53 KB
278.53 KB
∞
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑netcoreapp3.1
42.86 KB
45.13 KB
2.26 KB
5.28%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net6.0
43.48 KB
43.93 KB
448 B
1.03%
Fewer allocations 🎉 in #7693
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0
279.66 KB
277.5 KB
-2.17 KB
-0.78%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1
276.77 KB
255.05 KB
-21.72 KB
-7.85%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472 | 0 b | 65.54 KB | 65.54 KB | ∞ |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net472 | 0 b | 278.53 KB | 278.53 KB | ∞ |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑netcoreapp3.1 | 42.86 KB | 45.13 KB | 2.26 KB | 5.28% |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net6.0 | 43.48 KB | 43.93 KB | 448 B | 1.03% |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0 | 279.66 KB | 277.5 KB | -2.17 KB | -0.78% |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1 | 276.77 KB | 255.05 KB | -21.72 KB | -7.85% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StringConcatBenchmark |
net6.0 | 42μs | 167ns | 820ns | 0 | 0 | 0 | 43.48 KB |
| master | StringConcatBenchmark |
netcoreapp3.1 | 49.3μs | 279ns | 2.62μs | 0 | 0 | 0 | 42.86 KB |
| master | StringConcatBenchmark |
net472 | N/A | N/A | N/A | NaN | NaN | NaN | 0 b |
| master | StringConcatAspectBenchmark |
net6.0 | 516μs | 1.89μs | 6.82μs | 0 | 0 | 0 | 279.66 KB |
| master | StringConcatAspectBenchmark |
netcoreapp3.1 | 522μs | 1.73μs | 6.24μs | 0 | 0 | 0 | 276.77 KB |
| master | StringConcatAspectBenchmark |
net472 | N/A | N/A | N/A | NaN | NaN | NaN | 0 b |
| #7693 | StringConcatBenchmark |
net6.0 | 41.8μs | 180ns | 674ns | 0 | 0 | 0 | 43.93 KB |
| #7693 | StringConcatBenchmark |
netcoreapp3.1 | 49.7μs | 271ns | 2.06μs | 0 | 0 | 0 | 45.13 KB |
| #7693 | StringConcatBenchmark |
net472 | 57.8μs | 184ns | 687ns | 0 | 0 | 0 | 65.54 KB |
| #7693 | StringConcatAspectBenchmark |
net6.0 | 492μs | 746ns | 2.58μs | 0 | 0 | 0 | 277.5 KB |
| #7693 | StringConcatAspectBenchmark |
netcoreapp3.1 | 494μs | 2.27μs | 8.8μs | 0 | 0 | 0 | 255.05 KB |
| #7693 | StringConcatAspectBenchmark |
net472 | 404μs | 1.98μs | 8.42μ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.62μs | 13.4ns | 65.7ns | 0 | 0 | 0 | 1.7 KB |
| master | EnrichedLog |
netcoreapp3.1 | 3.46μs | 17.1ns | 70.4ns | 0 | 0 | 0 | 1.7 KB |
| master | EnrichedLog |
net472 | 3.87μs | 2.89ns | 10.8ns | 0.251 | 0 | 0 | 1.64 KB |
| #7693 | EnrichedLog |
net6.0 | 2.59μs | 13.6ns | 65.4ns | 0 | 0 | 0 | 1.7 KB |
| #7693 | EnrichedLog |
netcoreapp3.1 | 3.61μs | 15.2ns | 58.8ns | 0 | 0 | 0 | 1.7 KB |
| #7693 | EnrichedLog |
net472 | 3.84μs | 4.14ns | 16ns | 0.25 | 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 | 70.3ns | 243ns | 0 | 0 | 0 | 4.31 KB |
| master | EnrichedLog |
netcoreapp3.1 | 127μs | 29ns | 108ns | 0 | 0 | 0 | 4.31 KB |
| master | EnrichedLog |
net472 | 168μs | 50ns | 187ns | 0 | 0 | 0 | 4.52 KB |
| #7693 | EnrichedLog |
net6.0 | 124μs | 17.8ns | 69.1ns | 0 | 0 | 0 | 4.31 KB |
| #7693 | EnrichedLog |
netcoreapp3.1 | 129μs | 94.4ns | 366ns | 0 | 0 | 0 | 4.31 KB |
| #7693 | EnrichedLog |
net472 | 168μs | 77.9ns | 291ns | 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.16μs | 11.1ns | 42.9ns | 0 | 0 | 0 | 2.26 KB |
| master | EnrichedLog |
netcoreapp3.1 | 6.55μs | 19.6ns | 75.8ns | 0 | 0 | 0 | 2.26 KB |
| master | EnrichedLog |
net472 | 7.69μs | 7.46ns | 28.9ns | 0.306 | 0 | 0 | 2.08 KB |
| #7693 | EnrichedLog |
net6.0 | 4.91μs | 19.6ns | 70.6ns | 0 | 0 | 0 | 2.26 KB |
| #7693 | EnrichedLog |
netcoreapp3.1 | 6.72μs | 14.1ns | 54.8ns | 0 | 0 | 0 | 2.26 KB |
| #7693 | EnrichedLog |
net472 | 7.38μs | 3.27ns | 12.2ns | 0.295 | 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 | 2.05μs | 10ns | 42.5ns | 0 | 0 | 0 | 1.2 KB |
| master | SendReceive |
netcoreapp3.1 | 2.76μs | 14.4ns | 76.4ns | 0 | 0 | 0 | 1.2 KB |
| master | SendReceive |
net472 | 3.21μs | 4.62ns | 17.9ns | 0.176 | 0 | 0 | 1.2 KB |
| #7693 | SendReceive |
net6.0 | 2.06μs | 9.68ns | 38.7ns | 0 | 0 | 0 | 1.2 KB |
| #7693 | SendReceive |
netcoreapp3.1 | 2.62μs | 11.8ns | 45.9ns | 0 | 0 | 0 | 1.2 KB |
| #7693 | SendReceive |
net472 | 3.19μs | 2.59ns | 10ns | 0.176 | 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.45μs | 1.56ns | 5.4ns | 0 | 0 | 0 | 1.58 KB |
| master | EnrichedLog |
netcoreapp3.1 | 5.71μs | 7.67ns | 29.7ns | 0 | 0 | 0 | 1.63 KB |
| master | EnrichedLog |
net472 | 6.65μs | 9.8ns | 38ns | 0.297 | 0 | 0 | 2.03 KB |
| #7693 | EnrichedLog |
net6.0 | 4.33μs | 14.7ns | 50.8ns | 0 | 0 | 0 | 1.58 KB |
| #7693 | EnrichedLog |
netcoreapp3.1 | 5.66μs | 4.18ns | 15.6ns | 0 | 0 | 0 | 1.63 KB |
| #7693 | EnrichedLog |
net472 | 6.61μs | 12.9ns | 50ns | 0.297 | 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.283ns | 1.06ns | 0 | 0 | 0 | 576 B |
| master | StartFinishSpan |
netcoreapp3.1 | 994ns | 4.84ns | 19.9ns | 0 | 0 | 0 | 576 B |
| master | StartFinishSpan |
net472 | 950ns | 0.412ns | 1.59ns | 0.0897 | 0 | 0 | 578 B |
| master | StartFinishScope |
net6.0 | 939ns | 4.36ns | 17.4ns | 0 | 0 | 0 | 696 B |
| master | StartFinishScope |
netcoreapp3.1 | 1.15μs | 5.63ns | 24.5ns | 0 | 0 | 0 | 696 B |
| master | StartFinishScope |
net472 | 1.13μs | 2.46ns | 9.52ns | 0.103 | 0 | 0 | 658 B |
| #7693 | StartFinishSpan |
net6.0 | 766ns | 3.95ns | 18.1ns | 0 | 0 | 0 | 576 B |
| #7693 | StartFinishSpan |
netcoreapp3.1 | 948ns | 4.33ns | 16.8ns | 0 | 0 | 0 | 576 B |
| #7693 | StartFinishSpan |
net472 | 934ns | 0.0759ns | 0.284ns | 0.0894 | 0 | 0 | 578 B |
| #7693 | StartFinishScope |
net6.0 | 930ns | 4.94ns | 26.2ns | 0 | 0 | 0 | 696 B |
| #7693 | StartFinishScope |
netcoreapp3.1 | 1.18μs | 0.198ns | 0.74ns | 0 | 0 | 0 | 696 B |
| #7693 | StartFinishScope |
net472 | 1.12μs | 0.205ns | 0.765ns | 0.101 | 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.05μs | 5.46ns | 26.7ns | 0 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
netcoreapp3.1 | 1.4μs | 7.02ns | 29.8ns | 0 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
net472 | 1.42μs | 0.554ns | 2.07ns | 0.0981 | 0 | 0 | 658 B |
| #7693 | RunOnMethodBegin |
net6.0 | 1.03μs | 5.55ns | 31.9ns | 0 | 0 | 0 | 696 B |
| #7693 | RunOnMethodBegin |
netcoreapp3.1 | 1.43μs | 5.42ns | 21ns | 0 | 0 | 0 | 696 B |
| #7693 | RunOnMethodBegin |
net472 | 1.43μs | 0.841ns | 3.26ns | 0.0999 | 0 | 0 | 658 B |
Updates the package versions for integration tests.