[Test Package Versions Bump] Updating package versions#7824
[Test Package Versions Bump] Updating package versions#7824andrewlock merged 2 commits intomasterfrom
Conversation
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing This PR (7824) 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 (7824) - mean (75ms) : 71, 80
master - mean (76ms) : 71, 81
section Bailout
This PR (7824) - mean (80ms) : 76, 84
master - mean (80ms) : 75, 85
section CallTarget+Inlining+NGEN
This PR (7824) - mean (1,078ms) : 1014, 1142
master - mean (1,064ms) : 998, 1130
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 (7824) - mean (118ms) : 112, 124
master - mean (117ms) : 111, 122
section Bailout
This PR (7824) - mean (119ms) : 114, 125
master - mean (117ms) : 110, 125
section CallTarget+Inlining+NGEN
This PR (7824) - mean (764ms) : 729, 798
master - mean (758ms) : 718, 798
FakeDbCommand (.NET 6)gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7824) - mean (106ms) : 99, 114
master - mean (105ms) : 100, 110
section Bailout
This PR (7824) - mean (107ms) : 100, 114
master - mean (107ms) : 102, 112
section CallTarget+Inlining+NGEN
This PR (7824) - mean (711ms) : 684, 739
master - mean (703ms) : 672, 734
FakeDbCommand (.NET 8)gantt
title Execution time (ms) FakeDbCommand (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7824) - mean (104ms) : 98, 110
master - mean (103ms) : 95, 110
section Bailout
This PR (7824) - mean (105ms) : 98, 111
master - mean (107ms) : 99, 115
section CallTarget+Inlining+NGEN
This PR (7824) - mean (686ms) : 653, 719
master - mean (684ms) : 642, 725
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 (7824) - mean (193ms) : 189, 196
master - mean (193ms) : 189, 197
section Bailout
This PR (7824) - mean (197ms) : 194, 199
master - mean (197ms) : 194, 199
section CallTarget+Inlining+NGEN
This PR (7824) - mean (1,110ms) : 1063, 1156
master - mean (1,116ms) : 1062, 1170
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 (7824) - mean (278ms) : 272, 284
master - mean (277ms) : 271, 283
section Bailout
This PR (7824) - mean (278ms) : 273, 284
master - mean (277ms) : 274, 281
section CallTarget+Inlining+NGEN
This PR (7824) - mean (916ms) : 866, 967
master - mean (911ms) : 865, 957
HttpMessageHandler (.NET 6)gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7824) - mean (270ms) : 266, 275
master - mean (271ms) : 267, 275
section Bailout
This PR (7824) - mean (270ms) : 268, 273
master - mean (270ms) : 267, 274
section CallTarget+Inlining+NGEN
This PR (7824) - mean (887ms) : 846, 927
master - mean (885ms) : 845, 925
HttpMessageHandler (.NET 8)gantt
title Execution time (ms) HttpMessageHandler (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7824) - mean (271ms) : 265, 277
master - mean (269ms) : 265, 272
section Bailout
This PR (7824) - mean (271ms) : 266, 276
master - mean (270ms) : 267, 273
section CallTarget+Inlining+NGEN
This PR (7824) - mean (831ms) : 807, 856
master - mean (827ms) : 806, 848
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BenchmarksBenchmarks Report for benchmark platform 🐌Benchmarks for #7824 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 ✔️ Fewer allocations 🎉
|
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.ActivityBenchmark.StartStopWithChild‑netcoreapp3.1 | 5.72 KB | 5.69 KB | -30 B | -0.52% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StartStopWithChild |
net6.0 | 10.5μs | 56.6ns | 330ns | 0 | 0 | 0 | 5.5 KB |
| master | StartStopWithChild |
netcoreapp3.1 | 13.5μs | 68.5ns | 306ns | 0 | 0 | 0 | 5.72 KB |
| master | StartStopWithChild |
net472 | 21.8μs | 79.6ns | 298ns | 0.87 | 0.217 | 0 | 6 KB |
| #7824 | StartStopWithChild |
net6.0 | 10.9μs | 55.7ns | 278ns | 0 | 0 | 0 | 5.5 KB |
| #7824 | StartStopWithChild |
netcoreapp3.1 | 15μs | 74.5ns | 333ns | 0 | 0 | 0 | 5.69 KB |
| #7824 | StartStopWithChild |
net472 | 22.4μs | 121ns | 682ns | 0.98 | 0.436 | 0.109 | 6.02 KB |
Benchmarks.Trace.AgentWriterBenchmark - Unknown 🤷 Fewer allocations 🎉
Fewer allocations 🎉 in #7824
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0
2.7 KB
0 b
-2.7 KB
-100.00%
Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces‑netcoreapp3.1
2.7 KB
0 b
-2.7 KB
-100.00%
Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces‑net472
3.26 KB
0 b
-3.26 KB
-100.00%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0 | 2.7 KB | 0 b | -2.7 KB | -100.00% |
| Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces‑netcoreapp3.1 | 2.7 KB | 0 b | -2.7 KB | -100.00% |
| Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces‑net472 | 3.26 KB | 0 b | -3.26 KB | -100.00% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | WriteAndFlushEnrichedTraces |
net6.0 | 1.25ms | 206ns | 770ns | 0 | 0 | 0 | 2.7 KB |
| master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 1.39ms | 79.6ns | 308ns | 0 | 0 | 0 | 2.7 KB |
| master | WriteAndFlushEnrichedTraces |
net472 | 1.76ms | 1.26μs | 4.86μs | 0 | 0 | 0 | 3.26 KB |
| #7824 | WriteAndFlushEnrichedTraces |
net6.0 | N/A | N/A | N/A | NaN | NaN | NaN | 0 b |
| #7824 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | N/A | N/A | N/A | NaN | NaN | NaN | 0 b |
| #7824 | WriteAndFlushEnrichedTraces |
net472 | N/A | N/A | N/A | NaN | NaN | NaN | 0 b |
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.09μs | 6.08ns | 39.9ns | 0 | 0 | 0 | 1.22 KB |
| master | AllCycleSimpleBody |
netcoreapp3.1 | 1.38μs | 7.76ns | 53.2ns | 0 | 0 | 0 | 1.2 KB |
| master | AllCycleSimpleBody |
net472 | 1μs | 0.238ns | 0.922ns | 0.191 | 0 | 0 | 1.23 KB |
| master | AllCycleMoreComplexBody |
net6.0 | 7.32μs | 36.7ns | 168ns | 0 | 0 | 0 | 4.72 KB |
| master | AllCycleMoreComplexBody |
netcoreapp3.1 | 8.88μs | 46.5ns | 237ns | 0 | 0 | 0 | 4.62 KB |
| master | AllCycleMoreComplexBody |
net472 | 7.7μs | 4.23ns | 16.4ns | 0.731 | 0 | 0 | 4.74 KB |
| master | ObjectExtractorSimpleBody |
net6.0 | 317ns | 0.0977ns | 0.366ns | 0 | 0 | 0 | 280 B |
| master | ObjectExtractorSimpleBody |
netcoreapp3.1 | 395ns | 2.17ns | 13.4ns | 0 | 0 | 0 | 272 B |
| master | ObjectExtractorSimpleBody |
net472 | 300ns | 0.0108ns | 0.0402ns | 0.0439 | 0 | 0 | 281 B |
| master | ObjectExtractorMoreComplexBody |
net6.0 | 6.34μs | 29.4ns | 118ns | 0 | 0 | 0 | 3.78 KB |
| master | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 7.82μs | 36.6ns | 142ns | 0 | 0 | 0 | 3.69 KB |
| master | ObjectExtractorMoreComplexBody |
net472 | 6.68μs | 2.21ns | 8.56ns | 0.602 | 0 | 0 | 3.8 KB |
| #7824 | AllCycleSimpleBody |
net6.0 | 1.04μs | 5.99ns | 46ns | 0 | 0 | 0 | 1.22 KB |
| #7824 | AllCycleSimpleBody |
netcoreapp3.1 | 1.44μs | 7.66ns | 39.1ns | 0 | 0 | 0 | 1.2 KB |
| #7824 | AllCycleSimpleBody |
net472 | 1.05μs | 0.374ns | 1.4ns | 0.194 | 0 | 0 | 1.23 KB |
| #7824 | AllCycleMoreComplexBody |
net6.0 | 7.2μs | 35.3ns | 141ns | 0 | 0 | 0 | 4.72 KB |
| #7824 | AllCycleMoreComplexBody |
netcoreapp3.1 | 8.97μs | 28.5ns | 110ns | 0 | 0 | 0 | 4.62 KB |
| #7824 | AllCycleMoreComplexBody |
net472 | 7.54μs | 3.56ns | 13.8ns | 0.754 | 0 | 0 | 4.74 KB |
| #7824 | ObjectExtractorSimpleBody |
net6.0 | 337ns | 1.68ns | 7.7ns | 0 | 0 | 0 | 280 B |
| #7824 | ObjectExtractorSimpleBody |
netcoreapp3.1 | 401ns | 2.1ns | 8.67ns | 0 | 0 | 0 | 272 B |
| #7824 | ObjectExtractorSimpleBody |
net472 | 297ns | 0.271ns | 1.05ns | 0.0433 | 0 | 0 | 281 B |
| #7824 | ObjectExtractorMoreComplexBody |
net6.0 | 6.36μs | 5.29ns | 20.5ns | 0 | 0 | 0 | 3.78 KB |
| #7824 | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 7.95μs | 25.5ns | 98.9ns | 0 | 0 | 0 | 3.69 KB |
| #7824 | ObjectExtractorMoreComplexBody |
net472 | 6.69μs | 4.08ns | 14.7ns | 0.571 | 0 | 0 | 3.8 KB |
Benchmarks.Trace.Asm.AppSecEncoderBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7824
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs‑net472
2.14 KB
2.16 KB
13 B
0.61%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs‑net472 | 2.14 KB | 2.16 KB | 13 B | 0.61% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EncodeArgs |
net6.0 | 76.3μs | 299ns | 1.12μs | 0 | 0 | 0 | 32.4 KB |
| master | EncodeArgs |
netcoreapp3.1 | 97.9μs | 379ns | 1.47μs | 0 | 0 | 0 | 32.4 KB |
| master | EncodeArgs |
net472 | 108μs | 14ns | 54.2ns | 4.87 | 0 | 0 | 32.5 KB |
| master | EncodeLegacyArgs |
net6.0 | 142μs | 34.7ns | 134ns | 0 | 0 | 0 | 2.14 KB |
| master | EncodeLegacyArgs |
netcoreapp3.1 | 198μs | 26.2ns | 98.1ns | 0 | 0 | 0 | 2.14 KB |
| master | EncodeLegacyArgs |
net472 | 263μs | 42.9ns | 166ns | 0 | 0 | 0 | 2.14 KB |
| #7824 | EncodeArgs |
net6.0 | 77.5μs | 355ns | 1.37μs | 0 | 0 | 0 | 32.4 KB |
| #7824 | EncodeArgs |
netcoreapp3.1 | 97.8μs | 291ns | 1.13μs | 0 | 0 | 0 | 32.4 KB |
| #7824 | EncodeArgs |
net472 | 110μs | 17.8ns | 69ns | 4.95 | 0 | 0 | 32.51 KB |
| #7824 | EncodeLegacyArgs |
net6.0 | 148μs | 158ns | 569ns | 0 | 0 | 0 | 2.15 KB |
| #7824 | EncodeLegacyArgs |
netcoreapp3.1 | 199μs | 60.3ns | 233ns | 0 | 0 | 0 | 2.14 KB |
| #7824 | EncodeLegacyArgs |
net472 | 265μs | 27.2ns | 105ns | 0 | 0 | 0 | 2.16 KB |
Benchmarks.Trace.Asm.AppSecWafBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7824
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack‑net6.0
2.24 KB
3.5 KB
1.26 KB
56.43%
Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark‑net6.0
4.55 KB
5.48 KB
928 B
20.39%
Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack‑netcoreapp3.1
2.22 KB
2.32 KB
104 B
4.69%
Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark‑netcoreapp3.1
4.48 KB
4.58 KB
104 B
2.32%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack‑net6.0 | 2.24 KB | 3.5 KB | 1.26 KB | 56.43% |
| Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark‑net6.0 | 4.55 KB | 5.48 KB | 928 B | 20.39% |
| Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack‑netcoreapp3.1 | 2.22 KB | 2.32 KB | 104 B | 4.69% |
| Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark‑netcoreapp3.1 | 4.48 KB | 4.58 KB | 104 B | 2.32% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | RunWafRealisticBenchmark |
net6.0 | 427μs | 2.14μs | 9.31μs | 0 | 0 | 0 | 4.55 KB |
| master | RunWafRealisticBenchmark |
netcoreapp3.1 | 464μs | 1.58μs | 5.9μs | 0 | 0 | 0 | 4.48 KB |
| master | RunWafRealisticBenchmark |
net472 | 496μs | 231ns | 834ns | 0 | 0 | 0 | 0 b |
| master | RunWafRealisticBenchmarkWithAttack |
net6.0 | 319μs | 1.47μs | 5.49μs | 0 | 0 | 0 | 2.24 KB |
| master | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 347μs | 1.93μs | 13.6μs | 0 | 0 | 0 | 2.22 KB |
| master | RunWafRealisticBenchmarkWithAttack |
net472 | 368μs | 493ns | 1.78μs | 0 | 0 | 0 | 0 b |
| #7824 | RunWafRealisticBenchmark |
net6.0 | 437μs | 1.74μs | 6.52μs | 0 | 0 | 0 | 5.48 KB |
| #7824 | RunWafRealisticBenchmark |
netcoreapp3.1 | 592μs | 17μs | 170μs | 0 | 0 | 0 | 4.58 KB |
| #7824 | RunWafRealisticBenchmark |
net472 | 497μs | 379ns | 1.42μs | 0 | 0 | 0 | 0 b |
| #7824 | RunWafRealisticBenchmarkWithAttack |
net6.0 | 324μs | 1.65μs | 7.76μs | 0 | 0 | 0 | 3.5 KB |
| #7824 | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 325μs | 1.06μs | 3.82μs | 0 | 0 | 0 | 2.32 KB |
| #7824 | RunWafRealisticBenchmarkWithAttack |
net472 | 373μs | 227ns | 820ns | 0 | 0 | 0 | 0 b |
Benchmarks.Trace.AspNetCoreBenchmark - Faster 🎉 Fewer allocations 🎉
Faster 🎉 in #7824
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.AspNetCoreBenchmark.SendRequest‑net6.0
1.356
84,022.65
61,985.53
Benchmarks.Trace.AspNetCoreBenchmark.SendRequest‑netcoreapp3.1
1.333
96,352.41
72,278.29
Fewer allocations 🎉 in #7824
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.AspNetCoreBenchmark.SendRequest‑netcoreapp3.1
21.25 KB
17.42 KB
-3.83 KB
-18.03%
Benchmarks.Trace.AspNetCoreBenchmark.SendRequest‑net6.0
19.03 KB
14.52 KB
-4.51 KB
-23.71%
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.AspNetCoreBenchmark.SendRequest‑net6.0 | 1.356 | 84,022.65 | 61,985.53 | |
| Benchmarks.Trace.AspNetCoreBenchmark.SendRequest‑netcoreapp3.1 | 1.333 | 96,352.41 | 72,278.29 |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.AspNetCoreBenchmark.SendRequest‑netcoreapp3.1 | 21.25 KB | 17.42 KB | -3.83 KB | -18.03% |
| Benchmarks.Trace.AspNetCoreBenchmark.SendRequest‑net6.0 | 19.03 KB | 14.52 KB | -4.51 KB | -23.71% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | SendRequest |
net6.0 | 84μs | 75.5ns | 292ns | 0 | 0 | 0 | 19.03 KB |
| master | SendRequest |
netcoreapp3.1 | 97μs | 364ns | 2.03μs | 0 | 0 | 0 | 21.25 KB |
| master | SendRequest |
net472 | 0ns | 0ns | 0ns | 0 | 0 | 0 | 0 b |
| #7824 | SendRequest |
net6.0 | 62μs | 57.1ns | 213ns | 0 | 0 | 0 | 14.52 KB |
| #7824 | SendRequest |
netcoreapp3.1 | 72.8μs | 293ns | 1.24μs | 0 | 0 | 0 | 17.42 KB |
| #7824 | SendRequest |
net472 | 0.00769ns | 0.00239ns | 0.00924ns | 0 | 0 | 0 | 0 b |
Benchmarks.Trace.CharSliceBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7824
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑net6.0
0 b
640 B
640 B
∞
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑netcoreapp3.1
0 b
104 B
104 B
∞
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net6.0
0 b
640 B
640 B
∞
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑netcoreapp3.1
0 b
104 B
104 B
∞
Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice‑net472
638.98 KB
647.17 KB
8.19 KB
1.28%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑net6.0 | 0 b | 640 B | 640 B | ∞ |
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑netcoreapp3.1 | 0 b | 104 B | 104 B | ∞ |
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net6.0 | 0 b | 640 B | 640 B | ∞ |
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑netcoreapp3.1 | 0 b | 104 B | 104 B | ∞ |
| Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice‑net472 | 638.98 KB | 647.17 KB | 8.19 KB | 1.28% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | OriginalCharSlice |
net6.0 | 1.91ms | 1.86μs | 7.21μs | 0 | 0 | 0 | 640 KB |
| master | OriginalCharSlice |
netcoreapp3.1 | 3.93ms | 877ns | 3.39μs | 0 | 0 | 0 | 640.05 KB |
| master | OriginalCharSlice |
net472 | 2.58ms | 442ns | 1.65μs | 0 | 0 | 0 | 638.98 KB |
| master | OptimizedCharSlice |
net6.0 | 1.45ms | 3.25μs | 12.6μs | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSlice |
netcoreapp3.1 | 2.73ms | 996ns | 3.45μs | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSlice |
net472 | 1.95ms | 957ns | 3.58μs | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSliceWithPool |
net6.0 | 1.05ms | 691ns | 2.68μs | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSliceWithPool |
netcoreapp3.1 | 1.85ms | 1.99μs | 7.7μs | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSliceWithPool |
net472 | 1.16ms | 710ns | 2.75μs | 0 | 0 | 0 | 0 b |
| #7824 | OriginalCharSlice |
net6.0 | 1.92ms | 852ns | 3.19μs | 0 | 0 | 0 | 640.64 KB |
| #7824 | OriginalCharSlice |
netcoreapp3.1 | 3.88ms | 9.84μs | 36.8μs | 0 | 0 | 0 | 640.1 KB |
| #7824 | OriginalCharSlice |
net472 | 2.62ms | 5.57μs | 21.6μs | 0 | 0 | 0 | 647.17 KB |
| #7824 | OptimizedCharSlice |
net6.0 | 1.47ms | 1.2μs | 4.49μs | 0 | 0 | 0 | 640 B |
| #7824 | OptimizedCharSlice |
netcoreapp3.1 | 2.86ms | 421ns | 1.57μs | 0 | 0 | 0 | 104 B |
| #7824 | OptimizedCharSlice |
net472 | 1.9ms | 735ns | 2.75μs | 0 | 0 | 0 | 0 b |
| #7824 | OptimizedCharSliceWithPool |
net6.0 | 1.03ms | 438ns | 1.7μs | 0 | 0 | 0 | 640 B |
| #7824 | OptimizedCharSliceWithPool |
netcoreapp3.1 | 1.91ms | 2.99μs | 11.6μs | 0 | 0 | 0 | 104 B |
| #7824 | OptimizedCharSliceWithPool |
net472 | 1.18ms | 1.86μs | 7.21μs | 0 | 0 | 0 | 0 b |
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | WriteAndFlushEnrichedTraces |
net6.0 | 761μs | 1.44μs | 5.57μs | 0 | 0 | 0 | 41.68 KB |
| master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 700μs | 3.64μs | 17.8μs | 0 | 0 | 0 | 41.8 KB |
| master | WriteAndFlushEnrichedTraces |
net472 | 892μs | 3.52μs | 13.6μs | 4.46 | 0 | 0 | 55.79 KB |
| #7824 | WriteAndFlushEnrichedTraces |
net6.0 | 735μs | 722ns | 2.8μs | 0 | 0 | 0 | 41.71 KB |
| #7824 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 774μs | 4.28μs | 26.4μs | 0 | 0 | 0 | 41.78 KB |
| #7824 | WriteAndFlushEnrichedTraces |
net472 | 976μs | 4.51μs | 17.5μs | 4.81 | 0 | 0 | 55.8 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.86μs | 7.27ns | 28.2ns | 0 | 0 | 0 | 1.02 KB |
| master | ExecuteNonQuery |
netcoreapp3.1 | 2.57μs | 6.77ns | 26.2ns | 0 | 0 | 0 | 1.02 KB |
| master | ExecuteNonQuery |
net472 | 2.79μs | 3.48ns | 13.5ns | 0.15 | 0 | 0 | 987 B |
| #7824 | ExecuteNonQuery |
net6.0 | 1.94μs | 6.91ns | 26.8ns | 0 | 0 | 0 | 1.02 KB |
| #7824 | ExecuteNonQuery |
netcoreapp3.1 | 2.59μs | 7.37ns | 28.5ns | 0 | 0 | 0 | 1.02 KB |
| #7824 | ExecuteNonQuery |
net472 | 2.73μs | 5.44ns | 21.1ns | 0.15 | 0 | 0 | 987 B |
Benchmarks.Trace.ElasticsearchBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7824
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch‑net472
1.01 KB
1.04 KB
32 B
3.17%
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync‑net472
1.07 KB
1.1 KB
32 B
3.00%
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync‑net6.0
984 B
1.01 KB
24 B
2.44%
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch‑net6.0
1.01 KB
1.03 KB
24 B
2.38%
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch‑netcoreapp3.1
1.02 KB
1.03 KB
8 B
0.78%
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync‑netcoreapp3.1
1.07 KB
1.08 KB
8 B
0.75%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch‑net472 | 1.01 KB | 1.04 KB | 32 B | 3.17% |
| Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync‑net472 | 1.07 KB | 1.1 KB | 32 B | 3.00% |
| Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync‑net6.0 | 984 B | 1.01 KB | 24 B | 2.44% |
| Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch‑net6.0 | 1.01 KB | 1.03 KB | 24 B | 2.38% |
| Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch‑netcoreapp3.1 | 1.02 KB | 1.03 KB | 8 B | 0.78% |
| Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync‑netcoreapp3.1 | 1.07 KB | 1.08 KB | 8 B | 0.75% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | CallElasticsearch |
net6.0 | 1.67μs | 8.33ns | 36.3ns | 0 | 0 | 0 | 1.01 KB |
| master | CallElasticsearch |
netcoreapp3.1 | 2.27μs | 9.56ns | 37ns | 0 | 0 | 0 | 1.02 KB |
| master | CallElasticsearch |
net472 | 3.4μs | 3.1ns | 11.6ns | 0.154 | 0 | 0 | 1.01 KB |
| master | CallElasticsearchAsync |
net6.0 | 1.76μs | 8.62ns | 35.5ns | 0 | 0 | 0 | 984 B |
| master | CallElasticsearchAsync |
netcoreapp3.1 | 2.46μs | 10.8ns | 41.9ns | 0 | 0 | 0 | 1.07 KB |
| master | CallElasticsearchAsync |
net472 | 3.55μs | 1.58ns | 5.9ns | 0.159 | 0 | 0 | 1.07 KB |
| #7824 | CallElasticsearch |
net6.0 | 1.76μs | 8.46ns | 34.9ns | 0 | 0 | 0 | 1.03 KB |
| #7824 | CallElasticsearch |
netcoreapp3.1 | 2.33μs | 6.33ns | 21.9ns | 0 | 0 | 0 | 1.03 KB |
| #7824 | CallElasticsearch |
net472 | 3.45μs | 3.13ns | 12.1ns | 0.155 | 0 | 0 | 1.04 KB |
| #7824 | CallElasticsearchAsync |
net6.0 | 1.81μs | 8.65ns | 35.7ns | 0 | 0 | 0 | 1.01 KB |
| #7824 | CallElasticsearchAsync |
netcoreapp3.1 | 2.47μs | 11.9ns | 46.1ns | 0 | 0 | 0 | 1.08 KB |
| #7824 | CallElasticsearchAsync |
net472 | 3.62μs | 1.98ns | 7.14ns | 0.165 | 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.91μs | 9.42ns | 38.8ns | 0 | 0 | 0 | 953 B |
| master | ExecuteAsync |
netcoreapp3.1 | 2.5μs | 7.36ns | 28.5ns | 0 | 0 | 0 | 952 B |
| master | ExecuteAsync |
net472 | 2.63μs | 2.29ns | 8.86ns | 0.144 | 0 | 0 | 915 B |
| #7824 | ExecuteAsync |
net6.0 | 1.97μs | 10.5ns | 55.7ns | 0 | 0 | 0 | 952 B |
| #7824 | ExecuteAsync |
netcoreapp3.1 | 2.41μs | 11ns | 42.4ns | 0 | 0 | 0 | 952 B |
| #7824 | ExecuteAsync |
net472 | 2.57μs | 4.37ns | 16.9ns | 0.141 | 0 | 0 | 915 B |
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7824
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.HttpClientBenchmark.SendAsync‑net472
3.14 KB
3.18 KB
41 B
1.31%
Benchmarks.Trace.HttpClientBenchmark.SendAsync‑net6.0
2.34 KB
2.36 KB
16 B
0.68%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.HttpClientBenchmark.SendAsync‑net472 | 3.14 KB | 3.18 KB | 41 B | 1.31% |
| Benchmarks.Trace.HttpClientBenchmark.SendAsync‑net6.0 | 2.34 KB | 2.36 KB | 16 B | 0.68% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | SendAsync |
net6.0 | 6.89μs | 23.4ns | 90.8ns | 0 | 0 | 0 | 2.34 KB |
| master | SendAsync |
netcoreapp3.1 | 8.46μs | 24.9ns | 89.7ns | 0 | 0 | 0 | 2.89 KB |
| master | SendAsync |
net472 | 12.2μs | 9.27ns | 34.7ns | 0.489 | 0 | 0 | 3.14 KB |
| #7824 | SendAsync |
net6.0 | 7.04μs | 11.5ns | 44.6ns | 0 | 0 | 0 | 2.36 KB |
| #7824 | SendAsync |
netcoreapp3.1 | 8.81μs | 21.9ns | 84.8ns | 0 | 0 | 0 | 2.9 KB |
| #7824 | SendAsync |
net472 | 12.3μs | 5.62ns | 21.8ns | 0.489 | 0 | 0 | 3.18 KB |
Benchmarks.Trace.Iast.StringAspectsBenchmark - Slower ⚠️ More allocations ⚠️
Slower ⚠️ in #7824
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1
1.230
419,750.00
516,400.00
several?
More allocations ⚠️ in #7824
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472
49.15 KB
57.34 KB
8.19 KB
16.67%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1
257.52 KB
275.1 KB
17.58 KB
6.83%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net472
270.34 KB
286.72 KB
16.38 KB
6.06%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net6.0
42.51 KB
43.94 KB
1.42 KB
3.35%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0
273.92 KB
277.12 KB
3.2 KB
1.17%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑netcoreapp3.1
42.54 KB
42.82 KB
280 B
0.66%
| Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1 | 1.230 | 419,750.00 | 516,400.00 | several? |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472 | 49.15 KB | 57.34 KB | 8.19 KB | 16.67% |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1 | 257.52 KB | 275.1 KB | 17.58 KB | 6.83% |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net472 | 270.34 KB | 286.72 KB | 16.38 KB | 6.06% |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net6.0 | 42.51 KB | 43.94 KB | 1.42 KB | 3.35% |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0 | 273.92 KB | 277.12 KB | 3.2 KB | 1.17% |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑netcoreapp3.1 | 42.54 KB | 42.82 KB | 280 B | 0.66% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StringConcatBenchmark |
net6.0 | 44.9μs | 266ns | 2.39μs | 0 | 0 | 0 | 42.51 KB |
| master | StringConcatBenchmark |
netcoreapp3.1 | 50.7μs | 327ns | 3.09μs | 0 | 0 | 0 | 42.54 KB |
| master | StringConcatBenchmark |
net472 | 56.4μs | 290ns | 1.3μs | 0 | 0 | 0 | 49.15 KB |
| master | StringConcatAspectBenchmark |
net6.0 | 485μs | 2.34μs | 9.37μs | 0 | 0 | 0 | 273.92 KB |
| master | StringConcatAspectBenchmark |
netcoreapp3.1 | 434μs | 5.13μs | 50.3μs | 0 | 0 | 0 | 257.52 KB |
| master | StringConcatAspectBenchmark |
net472 | 411μs | 2.37μs | 18.3μs | 0 | 0 | 0 | 270.34 KB |
| #7824 | StringConcatBenchmark |
net6.0 | 45.1μs | 250ns | 1.58μs | 0 | 0 | 0 | 43.94 KB |
| #7824 | StringConcatBenchmark |
netcoreapp3.1 | 54.1μs | 644ns | 6.25μs | 0 | 0 | 0 | 42.82 KB |
| #7824 | StringConcatBenchmark |
net472 | 57.5μs | 266ns | 1.03μs | 0 | 0 | 0 | 57.34 KB |
| #7824 | StringConcatAspectBenchmark |
net6.0 | 480μs | 1.35μs | 4.68μs | 0 | 0 | 0 | 277.12 KB |
| #7824 | StringConcatAspectBenchmark |
netcoreapp3.1 | 520μs | 2.14μs | 7.73μs | 0 | 0 | 0 | 275.1 KB |
| #7824 | StringConcatAspectBenchmark |
net472 | 401μs | 2μs | 8.24μs | 0 | 0 | 0 | 286.72 KB |
Benchmarks.Trace.ILoggerBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7824
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.ILoggerBenchmark.EnrichedLog‑net472
1.6 KB
1.64 KB
36 B
2.25%
Benchmarks.Trace.ILoggerBenchmark.EnrichedLog‑net6.0
1.69 KB
1.7 KB
16 B
0.95%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.ILoggerBenchmark.EnrichedLog‑net472 | 1.6 KB | 1.64 KB | 36 B | 2.25% |
| Benchmarks.Trace.ILoggerBenchmark.EnrichedLog‑net6.0 | 1.69 KB | 1.7 KB | 16 B | 0.95% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net6.0 | 2.71μs | 13.2ns | 57.7ns | 0 | 0 | 0 | 1.69 KB |
| master | EnrichedLog |
netcoreapp3.1 | 3.53μs | 4.87ns | 18.9ns | 0 | 0 | 0 | 1.7 KB |
| master | EnrichedLog |
net472 | 3.85μs | 2.27ns | 8.81ns | 0.251 | 0 | 0 | 1.6 KB |
| #7824 | EnrichedLog |
net6.0 | 2.64μs | 0.559ns | 2.01ns | 0 | 0 | 0 | 1.7 KB |
| #7824 | EnrichedLog |
netcoreapp3.1 | 3.59μs | 16.6ns | 64.2ns | 0 | 0 | 0 | 1.7 KB |
| #7824 | EnrichedLog |
net472 | 3.98μs | 5.59ns | 21.6ns | 0.257 | 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 | 124μs | 53.6ns | 186ns | 0 | 0 | 0 | 4.31 KB |
| master | EnrichedLog |
netcoreapp3.1 | 129μs | 199ns | 718ns | 0 | 0 | 0 | 4.31 KB |
| master | EnrichedLog |
net472 | 168μs | 150ns | 580ns | 0 | 0 | 0 | 4.51 KB |
| #7824 | EnrichedLog |
net6.0 | 123μs | 141ns | 510ns | 0 | 0 | 0 | 4.31 KB |
| #7824 | EnrichedLog |
netcoreapp3.1 | 128μs | 101ns | 379ns | 0 | 0 | 0 | 4.31 KB |
| #7824 | EnrichedLog |
net472 | 169μs | 153ns | 592ns | 0 | 0 | 0 | 4.52 KB |
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7824
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.NLogBenchmark.EnrichedLog‑net472
2.05 KB
2.08 KB
33 B
1.61%
Benchmarks.Trace.NLogBenchmark.EnrichedLog‑net6.0
2.24 KB
2.26 KB
20 B
0.89%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.NLogBenchmark.EnrichedLog‑net472 | 2.05 KB | 2.08 KB | 33 B | 1.61% |
| Benchmarks.Trace.NLogBenchmark.EnrichedLog‑net6.0 | 2.24 KB | 2.26 KB | 20 B | 0.89% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net6.0 | 5.15μs | 20.2ns | 78.2ns | 0 | 0 | 0 | 2.24 KB |
| master | EnrichedLog |
netcoreapp3.1 | 6.95μs | 20.3ns | 78.6ns | 0 | 0 | 0 | 2.26 KB |
| master | EnrichedLog |
net472 | 7.55μs | 8.84ns | 34.2ns | 0.3 | 0 | 0 | 2.05 KB |
| #7824 | EnrichedLog |
net6.0 | 5.15μs | 12.5ns | 48.5ns | 0 | 0 | 0 | 2.26 KB |
| #7824 | EnrichedLog |
netcoreapp3.1 | 6.71μs | 28.7ns | 111ns | 0 | 0 | 0 | 2.26 KB |
| #7824 | EnrichedLog |
net472 | 7.59μs | 6.5ns | 25.2ns | 0.302 | 0 | 0 | 2.08 KB |
Benchmarks.Trace.RedisBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7824
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.RedisBenchmark.SendReceive‑net472
1.17 KB
1.2 KB
33 B
2.82%
Benchmarks.Trace.RedisBenchmark.SendReceive‑net6.0
1.18 KB
1.2 KB
24 B
2.04%
Benchmarks.Trace.RedisBenchmark.SendReceive‑netcoreapp3.1
1.19 KB
1.2 KB
8 B
0.67%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.RedisBenchmark.SendReceive‑net472 | 1.17 KB | 1.2 KB | 33 B | 2.82% |
| Benchmarks.Trace.RedisBenchmark.SendReceive‑net6.0 | 1.18 KB | 1.2 KB | 24 B | 2.04% |
| Benchmarks.Trace.RedisBenchmark.SendReceive‑netcoreapp3.1 | 1.19 KB | 1.2 KB | 8 B | 0.67% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | SendReceive |
net6.0 | 2μs | 0.614ns | 2.38ns | 0 | 0 | 0 | 1.18 KB |
| master | SendReceive |
netcoreapp3.1 | 2.65μs | 12.8ns | 54.2ns | 0 | 0 | 0 | 1.19 KB |
| master | SendReceive |
net472 | 2.95μs | 2.31ns | 8.94ns | 0.177 | 0 | 0 | 1.17 KB |
| #7824 | SendReceive |
net6.0 | 1.97μs | 2.92ns | 10.5ns | 0 | 0 | 0 | 1.2 KB |
| #7824 | SendReceive |
netcoreapp3.1 | 2.57μs | 12.7ns | 58ns | 0 | 0 | 0 | 1.2 KB |
| #7824 | SendReceive |
net472 | 3.09μs | 2.98ns | 11.5ns | 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.34μs | 4.31ns | 16.7ns | 0 | 0 | 0 | 1.58 KB |
| master | EnrichedLog |
netcoreapp3.1 | 5.44μs | 16.8ns | 65.1ns | 0 | 0 | 0 | 1.63 KB |
| master | EnrichedLog |
net472 | 6.59μs | 11.4ns | 44ns | 0.294 | 0 | 0 | 2.03 KB |
| #7824 | EnrichedLog |
net6.0 | 4.4μs | 3.06ns | 11.9ns | 0 | 0 | 0 | 1.58 KB |
| #7824 | EnrichedLog |
netcoreapp3.1 | 5.8μs | 12ns | 46.4ns | 0 | 0 | 0 | 1.63 KB |
| #7824 | EnrichedLog |
net472 | 6.34μs | 6.19ns | 23.2ns | 0.316 | 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 | 798ns | 4.05ns | 17.7ns | 0 | 0 | 0 | 576 B |
| master | StartFinishSpan |
netcoreapp3.1 | 975ns | 5.14ns | 21.8ns | 0 | 0 | 0 | 576 B |
| master | StartFinishSpan |
net472 | 902ns | 0.0976ns | 0.365ns | 0.0907 | 0 | 0 | 578 B |
| master | StartFinishScope |
net6.0 | 946ns | 3.67ns | 13.7ns | 0 | 0 | 0 | 696 B |
| master | StartFinishScope |
netcoreapp3.1 | 1.16μs | 5.79ns | 24.6ns | 0 | 0 | 0 | 696 B |
| master | StartFinishScope |
net472 | 1.12μs | 0.553ns | 2.14ns | 0.101 | 0 | 0 | 658 B |
| master | StartFinishTwoScopes |
net6.0 | 1.78μs | 2.92ns | 11.3ns | 0 | 0 | 0 | 1.19 KB |
| master | StartFinishTwoScopes |
netcoreapp3.1 | 2.19μs | 11.3ns | 55.4ns | 0 | 0 | 0 | 1.19 KB |
| master | StartFinishTwoScopes |
net472 | 2.17μs | 2.55ns | 9.87ns | 0.162 | 0 | 0 | 1.08 KB |
| #7824 | StartFinishSpan |
net6.0 | 790ns | 0.128ns | 0.478ns | 0 | 0 | 0 | 576 B |
| #7824 | StartFinishSpan |
netcoreapp3.1 | 1.01μs | 4.81ns | 19.3ns | 0 | 0 | 0 | 576 B |
| #7824 | StartFinishSpan |
net472 | 907ns | 0.5ns | 1.94ns | 0.0908 | 0 | 0 | 578 B |
| #7824 | StartFinishScope |
net6.0 | 926ns | 4.9ns | 24.5ns | 0 | 0 | 0 | 696 B |
| #7824 | StartFinishScope |
netcoreapp3.1 | 1.17μs | 5.88ns | 24.9ns | 0 | 0 | 0 | 696 B |
| #7824 | StartFinishScope |
net472 | 1.11μs | 0.583ns | 2.26ns | 0.0999 | 0 | 0 | 658 B |
| #7824 | StartFinishTwoScopes |
net6.0 | 1.76μs | 8.74ns | 38.1ns | 0 | 0 | 0 | 1.19 KB |
| #7824 | StartFinishTwoScopes |
netcoreapp3.1 | 2.18μs | 10.9ns | 48.9ns | 0 | 0 | 0 | 1.19 KB |
| #7824 | StartFinishTwoScopes |
net472 | 2.16μs | 2.7ns | 10.5ns | 0.162 | 0 | 0 | 1.08 KB |
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.12μs | 5.98ns | 31.6ns | 0 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
netcoreapp3.1 | 1.42μs | 7.24ns | 33.2ns | 0 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
net472 | 1.49μs | 3.84ns | 14.9ns | 0.098 | 0 | 0 | 658 B |
| #7824 | RunOnMethodBegin |
net6.0 | 1.07μs | 1.01ns | 3.76ns | 0 | 0 | 0 | 696 B |
| #7824 | RunOnMethodBegin |
netcoreapp3.1 | 1.43μs | 6.84ns | 27.4ns | 0 | 0 | 0 | 696 B |
| #7824 | RunOnMethodBegin |
net472 | 1.45μs | 0.731ns | 2.83ns | 0.102 | 0 | 0 | 658 B |
4948a98 to
856d3b2
Compare
| <!-- Latest package https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.54.1 --> | ||
| <PackageReference Include="Microsoft.Azure.Cosmos" Version="3.54.1" /> | ||
| <!-- Latest package https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.55.0 --> | ||
| <PackageReference Include="Microsoft.Azure.Cosmos" Version="3.55.0" /> |
There was a problem hiding this comment.
Needs manual testing I guess
andrewlock
left a comment
There was a problem hiding this comment.
Cosmos sample is broken on .NET FX 💀
856d3b2 to
2148b3a
Compare
| <!-- Integration: Npgsql --> | ||
| <!-- Assembly: Npgsql --> | ||
| <!-- Latest package https://www.nuget.org/packages/Npgsql/9.0.4 --> | ||
| <!-- Latest package https://www.nuget.org/packages/Npgsql/10.0.0 --> |
2148b3a to
7273ff2
Compare
| <!-- Latest package https://www.nuget.org/packages/Microsoft.Azure.Cosmos/3.56.0 --> | ||
| <PackageReference Include="Microsoft.Azure.Cosmos" Version="3.56.0" /> |
There was a problem hiding this comment.
hahahahah wow, they made a breaking change in this minor version bump 🤦♂️
00:39:35 [DBG] D:\a\_work\1\s\tracer\test\test-applications\integrations\Samples.CosmosDb.Vnext\Program.cs(98,21): error CS0012: The type 'HttpClient' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKey***=b03f5f7f11d50a3a'. [D:\a\_work\1\s\tracer\test\test-applications\integrations\Samples.CosmosDb.Vnext\Samples.CosmosDb.Vnext.csproj::TargetFramework=net48]
|
Updates the package versions for integration tests.