Add testing for Microsoft.Data.Sqlite v10#7936
Conversation
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing This PR (7936) 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 (7936) - mean (77ms) : 71, 84
master - mean (78ms) : 71, 85
section Bailout
This PR (7936) - mean (81ms) : 76, 86
master - mean (80ms) : 74, 86
section CallTarget+Inlining+NGEN
This PR (7936) - mean (1,090ms) : 1008, 1171
master - mean (1,074ms) : 1001, 1148
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 (7936) - mean (119ms) : 111, 127
master - mean (121ms) : 109, 132
section Bailout
This PR (7936) - mean (121ms) : 113, 128
master - mean (121ms) : 113, 129
section CallTarget+Inlining+NGEN
This PR (7936) - mean (774ms) : 742, 807
master - mean (762ms) : 720, 804
FakeDbCommand (.NET 6)gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7936) - mean (107ms) : 100, 114
master - mean (104ms) : 96, 112
section Bailout
This PR (7936) - mean (108ms) : 102, 115
master - mean (107ms) : 97, 116
section CallTarget+Inlining+NGEN
This PR (7936) - mean (716ms) : 686, 747
master - mean (707ms) : 669, 744
FakeDbCommand (.NET 8)gantt
title Execution time (ms) FakeDbCommand (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7936) - mean (107ms) : 100, 114
master - mean (105ms) : 96, 114
section Bailout
This PR (7936) - mean (107ms) : 99, 115
master - mean (108ms) : 100, 117
section CallTarget+Inlining+NGEN
This PR (7936) - mean (706ms) : 671, 740
master - mean (699ms) : 661, 737
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 (7936) - mean (198ms) : 190, 207
master - mean (196ms) : 190, 202
section Bailout
This PR (7936) - mean (202ms) : 196, 207
master - mean (198ms) : 194, 202
section CallTarget+Inlining+NGEN
This PR (7936) - mean (1,146ms) : 1077, 1215
master - mean (1,134ms) : 1063, 1205
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 (7936) - mean (283ms) : 271, 295
master - mean (281ms) : 274, 289
section Bailout
This PR (7936) - mean (282ms) : 275, 288
master - mean (283ms) : 275, 290
section CallTarget+Inlining+NGEN
This PR (7936) - mean (923ms) : 881, 966
master - mean (923ms) : 879, 967
HttpMessageHandler (.NET 6)gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7936) - mean (275ms) : 269, 281
master - mean (275ms) : 268, 281
section Bailout
This PR (7936) - mean (276ms) : 267, 285
master - mean (275ms) : 268, 282
section CallTarget+Inlining+NGEN
This PR (7936) - mean (891ms) : 856, 926
master - mean (902ms) : 854, 949
HttpMessageHandler (.NET 8)gantt
title Execution time (ms) HttpMessageHandler (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7936) - mean (273ms) : 266, 279
master - mean (274ms) : 265, 283
section Bailout
This PR (7936) - mean (273ms) : 267, 279
master - mean (273ms) : 267, 279
section CallTarget+Inlining+NGEN
This PR (7936) - mean (843ms) : 811, 874
master - mean (859ms) : 775, 944
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BenchmarksBenchmarks Report for benchmark platform 🐌Benchmarks for #7936 compared to master:
The following thresholds were used for comparing the benchmark speeds:
Allocation changes below 0.5% are ignored. Benchmark detailsBenchmarks.Trace.ActivityBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.Asm.AppSecBodyBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.Asm.AppSecEncoderBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.Asm.AppSecWafBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AspNetCoreBenchmark - Unknown 🤷 Same allocations ✔️Raw results
Benchmarks.Trace.CharSliceBenchmark - Slower
|
| Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice‑netcoreapp3.1 | 1.803 | 2,170,450.00 | 3,913,300.00 | |
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑netcoreapp3.1 | 1.621 | 1,722,300.00 | 2,791,000.00 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | OriginalCharSlice |
net6.0 | 2ms | 992ns | 3.84μs | 0 | 0 | 0 | 640 KB |
| master | OriginalCharSlice |
netcoreapp3.1 | 2.17ms | 4.16μs | 26.3μs | 0 | 0 | 0 | 640 KB |
| master | OriginalCharSlice |
net472 | 2.59ms | 1.32μs | 5.13μs | 0 | 0 | 0 | 638.98 KB |
| master | OptimizedCharSlice |
net6.0 | 1.39ms | 693ns | 2.4μs | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSlice |
netcoreapp3.1 | 1.73ms | 6.07μs | 39.8μs | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSlice |
net472 | 1.92ms | 1.29μs | 5.01μs | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSliceWithPool |
net6.0 | 1.02ms | 303ns | 1.13μs | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSliceWithPool |
netcoreapp3.1 | 1.88ms | 1.52μs | 5.88μs | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSliceWithPool |
net472 | 1.14ms | 663ns | 2.57μs | 0 | 0 | 0 | 0 b |
| #7936 | OriginalCharSlice |
net6.0 | 1.91ms | 865ns | 3.24μs | 0 | 0 | 0 | 640 KB |
| #7936 | OriginalCharSlice |
netcoreapp3.1 | 3.91ms | 1.28μs | 4.79μs | 0 | 0 | 0 | 640 KB |
| #7936 | OriginalCharSlice |
net472 | 2.61ms | 856ns | 3.2μs | 0 | 0 | 0 | 638.98 KB |
| #7936 | OptimizedCharSlice |
net6.0 | 1.44ms | 546ns | 2.12μs | 0 | 0 | 0 | 0 b |
| #7936 | OptimizedCharSlice |
netcoreapp3.1 | 2.79ms | 862ns | 3.11μs | 0 | 0 | 0 | 0 b |
| #7936 | OptimizedCharSlice |
net472 | 1.99ms | 669ns | 2.5μs | 0 | 0 | 0 | 0 b |
| #7936 | OptimizedCharSliceWithPool |
net6.0 | 1.01ms | 307ns | 1.11μs | 0 | 0 | 0 | 0 b |
| #7936 | OptimizedCharSliceWithPool |
netcoreapp3.1 | 1.87ms | 2.24μs | 8.67μs | 0 | 0 | 0 | 0 b |
| #7936 | OptimizedCharSliceWithPool |
net472 | 1.15ms | 651ns | 2.52μs | 0 | 0 | 0 | 0 b |
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7936
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑netcoreapp3.1
41.82 KB
43.12 KB
1.31 KB
3.12%
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net472
55.21 KB
56.46 KB
1.24 KB
2.25%
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0
41.62 KB
41.93 KB
307 B
0.74%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑netcoreapp3.1 | 41.82 KB | 43.12 KB | 1.31 KB | 3.12% |
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net472 | 55.21 KB | 56.46 KB | 1.24 KB | 2.25% |
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0 | 41.62 KB | 41.93 KB | 307 B | 0.74% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | WriteAndFlushEnrichedTraces |
net6.0 | 689μs | 2.93μs | 11.4μs | 0 | 0 | 0 | 41.62 KB |
| master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 782μs | 1.51μs | 5.86μs | 0 | 0 | 0 | 41.82 KB |
| master | WriteAndFlushEnrichedTraces |
net472 | 856μs | 3.4μs | 12.7μs | 4.46 | 0 | 0 | 55.21 KB |
| #7936 | WriteAndFlushEnrichedTraces |
net6.0 | 675μs | 1.5μs | 5.41μs | 0 | 0 | 0 | 41.93 KB |
| #7936 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 722μs | 3.86μs | 36.5μs | 0 | 0 | 0 | 43.12 KB |
| #7936 | WriteAndFlushEnrichedTraces |
net472 | 871μs | 3.48μs | 13μs | 8.33 | 4.17 | 0 | 56.46 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.84μs | 0.432ns | 1.67ns | 0 | 0 | 0 | 968 B |
| master | ExecuteNonQuery |
netcoreapp3.1 | 2.51μs | 12ns | 46.5ns | 0 | 0 | 0 | 960 B |
| master | ExecuteNonQuery |
net472 | 2.63μs | 1.31ns | 5.07ns | 0.145 | 0 | 0 | 931 B |
| #7936 | ExecuteNonQuery |
net6.0 | 1.87μs | 8.34ns | 32.3ns | 0 | 0 | 0 | 968 B |
| #7936 | ExecuteNonQuery |
netcoreapp3.1 | 2.55μs | 6.2ns | 24ns | 0 | 0 | 0 | 960 B |
| #7936 | ExecuteNonQuery |
net472 | 2.76μs | 4.5ns | 17.4ns | 0.137 | 0 | 0 | 931 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.74μs | 9.08ns | 46.3ns | 0 | 0 | 0 | 952 B |
| master | CallElasticsearch |
netcoreapp3.1 | 2.21μs | 1.22ns | 4.74ns | 0 | 0 | 0 | 968 B |
| master | CallElasticsearch |
net472 | 3.33μs | 2.15ns | 8.32ns | 0.15 | 0 | 0 | 955 B |
| master | CallElasticsearchAsync |
net6.0 | 1.79μs | 2.28ns | 8.83ns | 0 | 0 | 0 | 928 B |
| master | CallElasticsearchAsync |
netcoreapp3.1 | 2.42μs | 11.8ns | 50.2ns | 0 | 0 | 0 | 1.02 KB |
| master | CallElasticsearchAsync |
net472 | 3.59μs | 9.61ns | 37.2ns | 0.144 | 0 | 0 | 1.01 KB |
| #7936 | CallElasticsearch |
net6.0 | 1.78μs | 8.68ns | 34.7ns | 0 | 0 | 0 | 952 B |
| #7936 | CallElasticsearch |
netcoreapp3.1 | 2.36μs | 4.06ns | 15.7ns | 0 | 0 | 0 | 968 B |
| #7936 | CallElasticsearch |
net472 | 3.35μs | 3.4ns | 13.2ns | 0.135 | 0 | 0 | 955 B |
| #7936 | CallElasticsearchAsync |
net6.0 | 1.74μs | 7.19ns | 27.9ns | 0 | 0 | 0 | 928 B |
| #7936 | CallElasticsearchAsync |
netcoreapp3.1 | 2.42μs | 5.7ns | 22.1ns | 0 | 0 | 0 | 1.02 KB |
| #7936 | CallElasticsearchAsync |
net472 | 3.5μs | 2.5ns | 9.69ns | 0.157 | 0 | 0 | 1.01 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.97μs | 7.27ns | 28.2ns | 0 | 0 | 0 | 896 B |
| master | ExecuteAsync |
netcoreapp3.1 | 2.36μs | 6.06ns | 22.7ns | 0 | 0 | 0 | 896 B |
| master | ExecuteAsync |
net472 | 2.62μs | 5.48ns | 21.2ns | 0.129 | 0 | 0 | 858 B |
| #7936 | ExecuteAsync |
net6.0 | 1.79μs | 1.19ns | 4.46ns | 0 | 0 | 0 | 896 B |
| #7936 | ExecuteAsync |
netcoreapp3.1 | 2.35μs | 8.17ns | 31.6ns | 0 | 0 | 0 | 896 B |
| #7936 | ExecuteAsync |
net472 | 2.49μs | 0.667ns | 2.58ns | 0.125 | 0 | 0 | 858 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.23μs | 4.27ns | 15.4ns | 0 | 0 | 0 | 2.29 KB |
| master | SendAsync |
netcoreapp3.1 | 8.54μs | 20.6ns | 79.8ns | 0 | 0 | 0 | 2.83 KB |
| master | SendAsync |
net472 | 12.2μs | 9.46ns | 36.6ns | 0.488 | 0 | 0 | 3.08 KB |
| #7936 | SendAsync |
net6.0 | 7.11μs | 14.4ns | 53.9ns | 0 | 0 | 0 | 2.29 KB |
| #7936 | SendAsync |
netcoreapp3.1 | 8.4μs | 16.6ns | 64.4ns | 0 | 0 | 0 | 2.83 KB |
| #7936 | SendAsync |
net472 | 12.1μs | 5.17ns | 20ns | 0.483 | 0 | 0 | 3.08 KB |
Benchmarks.Trace.Iast.StringAspectsBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7936
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0
257.78 KB
277.18 KB
19.4 KB
7.53%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net472
270.34 KB
278.53 KB
8.19 KB
3.03%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0 | 257.78 KB | 277.18 KB | 19.4 KB | 7.53% |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net472 | 270.34 KB | 278.53 KB | 8.19 KB | 3.03% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StringConcatBenchmark |
net6.0 | 44.1μs | 218ns | 924ns | 0 | 0 | 0 | 42.51 KB |
| master | StringConcatBenchmark |
netcoreapp3.1 | 49.2μs | 184ns | 664ns | 0 | 0 | 0 | 42.54 KB |
| master | StringConcatBenchmark |
net472 | 57.8μs | 291ns | 1.24μs | 0 | 0 | 0 | 49.15 KB |
| master | StringConcatAspectBenchmark |
net6.0 | 466μs | 2.11μs | 7.61μs | 0 | 0 | 0 | 257.78 KB |
| master | StringConcatAspectBenchmark |
netcoreapp3.1 | 472μs | 6.25μs | 62.2μs | 0 | 0 | 0 | 277.49 KB |
| master | StringConcatAspectBenchmark |
net472 | 396μs | 1.93μs | 8.19μs | 0 | 0 | 0 | 270.34 KB |
| #7936 | StringConcatBenchmark |
net6.0 | 43.6μs | 204ns | 814ns | 0 | 0 | 0 | 42.51 KB |
| #7936 | StringConcatBenchmark |
netcoreapp3.1 | 49.9μs | 281ns | 1.86μs | 0 | 0 | 0 | 42.54 KB |
| #7936 | StringConcatBenchmark |
net472 | 58.7μs | 115ns | 413ns | 0 | 0 | 0 | 49.15 KB |
| #7936 | StringConcatAspectBenchmark |
net6.0 | 484μs | 2.04μs | 7.35μs | 0 | 0 | 0 | 277.18 KB |
| #7936 | StringConcatAspectBenchmark |
netcoreapp3.1 | 558μs | 1.41μs | 4.89μs | 0 | 0 | 0 | 278.78 KB |
| #7936 | StringConcatAspectBenchmark |
net472 | 403μs | 1.98μs | 7.91μ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.67μs | 0.263ns | 1.02ns | 0 | 0 | 0 | 1.69 KB |
| master | EnrichedLog |
netcoreapp3.1 | 3.64μs | 16.9ns | 67.5ns | 0 | 0 | 0 | 1.7 KB |
| master | EnrichedLog |
net472 | 4.02μs | 4.34ns | 16.8ns | 0.242 | 0 | 0 | 1.6 KB |
| #7936 | EnrichedLog |
net6.0 | 2.63μs | 3.1ns | 12ns | 0 | 0 | 0 | 1.69 KB |
| #7936 | EnrichedLog |
netcoreapp3.1 | 3.47μs | 17.1ns | 72.5ns | 0 | 0 | 0 | 1.7 KB |
| #7936 | EnrichedLog |
net472 | 4.02μs | 5.24ns | 20.3ns | 0.241 | 0 | 0 | 1.6 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 | 126μs | 110ns | 397ns | 0 | 0 | 0 | 4.31 KB |
| master | EnrichedLog |
netcoreapp3.1 | 129μs | 241ns | 934ns | 0 | 0 | 0 | 4.31 KB |
| master | EnrichedLog |
net472 | 166μs | 32.6ns | 126ns | 0 | 0 | 0 | 4.51 KB |
| #7936 | EnrichedLog |
net6.0 | 125μs | 124ns | 449ns | 0 | 0 | 0 | 4.31 KB |
| #7936 | EnrichedLog |
netcoreapp3.1 | 129μs | 136ns | 528ns | 0 | 0 | 0 | 4.31 KB |
| #7936 | EnrichedLog |
net472 | 171μs | 159ns | 616ns | 0 | 0 | 0 | 4.51 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.06μs | 17.6ns | 68.3ns | 0 | 0 | 0 | 2.24 KB |
| master | EnrichedLog |
netcoreapp3.1 | 7μs | 26.6ns | 103ns | 0 | 0 | 0 | 2.26 KB |
| master | EnrichedLog |
net472 | 7.44μs | 6.33ns | 24.5ns | 0.298 | 0 | 0 | 2.05 KB |
| #7936 | EnrichedLog |
net6.0 | 5.1μs | 17.7ns | 66ns | 0 | 0 | 0 | 2.24 KB |
| #7936 | EnrichedLog |
netcoreapp3.1 | 6.86μs | 15.4ns | 59.5ns | 0 | 0 | 0 | 2.26 KB |
| #7936 | EnrichedLog |
net472 | 7.55μs | 3.31ns | 12.8ns | 0.302 | 0 | 0 | 2.05 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 | 9.85ns | 42.9ns | 0 | 0 | 0 | 1.12 KB |
| master | SendReceive |
netcoreapp3.1 | 2.44μs | 8.88ns | 34.4ns | 0 | 0 | 0 | 1.14 KB |
| master | SendReceive |
net472 | 2.91μs | 1.76ns | 6.33ns | 0.176 | 0 | 0 | 1.12 KB |
| #7936 | SendReceive |
net6.0 | 1.88μs | 9.82ns | 46ns | 0 | 0 | 0 | 1.12 KB |
| #7936 | SendReceive |
netcoreapp3.1 | 2.58μs | 3.07ns | 11.9ns | 0 | 0 | 0 | 1.14 KB |
| #7936 | SendReceive |
net472 | 3.16μs | 2.35ns | 8.79ns | 0.173 | 0 | 0 | 1.12 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.4μs | 9.42ns | 36.5ns | 0 | 0 | 0 | 1.58 KB |
| master | EnrichedLog |
netcoreapp3.1 | 5.47μs | 11.1ns | 43ns | 0 | 0 | 0 | 1.63 KB |
| master | EnrichedLog |
net472 | 6.56μs | 12.4ns | 48.1ns | 0.294 | 0 | 0 | 2.03 KB |
| #7936 | EnrichedLog |
net6.0 | 4.41μs | 2.68ns | 10.4ns | 0 | 0 | 0 | 1.58 KB |
| #7936 | EnrichedLog |
netcoreapp3.1 | 5.58μs | 16.9ns | 63.1ns | 0 | 0 | 0 | 1.63 KB |
| #7936 | EnrichedLog |
net472 | 6.64μs | 9.54ns | 37ns | 0.299 | 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 | 759ns | 4.13ns | 22.6ns | 0 | 0 | 0 | 520 B |
| master | StartFinishSpan |
netcoreapp3.1 | 978ns | 1.23ns | 4.77ns | 0 | 0 | 0 | 520 B |
| master | StartFinishSpan |
net472 | 884ns | 0.522ns | 2.02ns | 0.0795 | 0 | 0 | 522 B |
| master | StartFinishScope |
net6.0 | 922ns | 2.71ns | 10.5ns | 0 | 0 | 0 | 640 B |
| master | StartFinishScope |
netcoreapp3.1 | 1.12μs | 3.55ns | 13.3ns | 0 | 0 | 0 | 640 B |
| master | StartFinishScope |
net472 | 1.08μs | 0.534ns | 2.07ns | 0.0931 | 0 | 0 | 602 B |
| master | StartFinishTwoScopes |
net6.0 | 1.75μs | 3.73ns | 13.9ns | 0 | 0 | 0 | 1.19 KB |
| master | StartFinishTwoScopes |
netcoreapp3.1 | 2.22μs | 11.5ns | 52.8ns | 0 | 0 | 0 | 1.19 KB |
| master | StartFinishTwoScopes |
net472 | 2.12μs | 2.73ns | 10.6ns | 0.17 | 0 | 0 | 1.08 KB |
| #7936 | StartFinishSpan |
net6.0 | 798ns | 0.263ns | 1.02ns | 0 | 0 | 0 | 520 B |
| #7936 | StartFinishSpan |
netcoreapp3.1 | 953ns | 4.34ns | 16.8ns | 0 | 0 | 0 | 520 B |
| #7936 | StartFinishSpan |
net472 | 888ns | 0.14ns | 0.542ns | 0.0801 | 0 | 0 | 522 B |
| #7936 | StartFinishScope |
net6.0 | 914ns | 4.49ns | 18.5ns | 0 | 0 | 0 | 640 B |
| #7936 | StartFinishScope |
netcoreapp3.1 | 1.15μs | 5.88ns | 29.4ns | 0 | 0 | 0 | 640 B |
| #7936 | StartFinishScope |
net472 | 1.07μs | 0.592ns | 2.29ns | 0.0916 | 0 | 0 | 602 B |
| #7936 | StartFinishTwoScopes |
net6.0 | 1.88μs | 4.29ns | 16.6ns | 0 | 0 | 0 | 1.19 KB |
| #7936 | StartFinishTwoScopes |
netcoreapp3.1 | 2.27μs | 11.5ns | 53.9ns | 0 | 0 | 0 | 1.19 KB |
| #7936 | StartFinishTwoScopes |
net472 | 2.13μs | 1.34ns | 5.18ns | 0.171 | 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.09μs | 4.82ns | 18.7ns | 0 | 0 | 0 | 640 B |
| master | RunOnMethodBegin |
netcoreapp3.1 | 1.41μs | 7.35ns | 36.8ns | 0 | 0 | 0 | 640 B |
| master | RunOnMethodBegin |
net472 | 1.42μs | 0.409ns | 1.47ns | 0.0926 | 0 | 0 | 602 B |
| #7936 | RunOnMethodBegin |
net6.0 | 1.06μs | 5.19ns | 22.6ns | 0 | 0 | 0 | 640 B |
| #7936 | RunOnMethodBegin |
netcoreapp3.1 | 1.37μs | 5.12ns | 19.8ns | 0 | 0 | 0 | 640 B |
| #7936 | RunOnMethodBegin |
net472 | 1.42μs | 1.41ns | 5.44ns | 0.0926 | 0 | 0 | 602 B |
Summary of changes
Adds testing for the new Microsoft.Data.Sqlite 10.x.x
Reason for change
We want to test the latest versions
Implementation details
AFAICT, we already support this version, we just aren't testing it! So his just bumps the testing and 🤞
Test coverage
More now