Skip to content

Bump the analyzers group with 2 updates - #48

Merged
GabrielMarquezMatte merged 1 commit into
developfrom
dependabot/nuget/develop/analyzers-cc99cccae6
Jul 31, 2026
Merged

Bump the analyzers group with 2 updates#48
GabrielMarquezMatte merged 1 commit into
developfrom
dependabot/nuget/develop/analyzers-cc99cccae6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 30, 2026

Copy link
Copy Markdown
Contributor

Updated Meziantou.Analyzer from 3.0.123 to 3.0.137.

Release notes

Sourced from Meziantou.Analyzer's releases.

3.0.137

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.137

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.136...3.0.137

3.0.136

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.136

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.135...3.0.136

3.0.135

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.135

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.134...3.0.135

3.0.134

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.134

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.133...3.0.134

3.0.133

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.133

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.132...3.0.133

3.0.132

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.132

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.130...3.0.132

3.0.131

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.131

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.129...3.0.131

3.0.130

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.130

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.129...3.0.130

3.0.129

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.129

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.128...3.0.129

3.0.128

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.128

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.127...3.0.128

3.0.127

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.127

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.126...3.0.127

3.0.126

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.126

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.125...3.0.126

3.0.125

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.125

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.124...3.0.125

3.0.124

NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.124

What's Changed

Full Changelog: meziantou/Meziantou.Analyzer@3.0.123...3.0.124

Commits viewable in compare view.

Updated SonarAnalyzer.CSharp from 10.29.0.143774 to 10.31.0.145097.

Release notes

Sourced from SonarAnalyzer.CSharp's releases.

10.31.0.145097

Release notes - .NET Analyzers - 10.31

Feature

NET-3865 Implement S8733: Potential Cartesian Explosion
NET-3875 Implement rule S8718: Client-evaluated default values should use database functions
NET-4087 Use shared secret exclusion patterns in hardcoded secrets rules
NET-4211 Update RSPEC before 10.31 release

False Positive

NET-1922 S1144 FP: When registering a service with Microsoft.Extensions.DependencyInjecion framework
NET-3928 Fix S3267 FP: Should not raise on EntityFramework IQueryables
NET-4205 Fix S1244 FP: should not raise on NaN check via x.Equals(double.NaN)

10.30.0.144632

Release notes - .NET Analyzers - 10.30

Feature

NET-1536 Implement rule S8970: Null-forgiving operators should not be used when nullable warnings are disabled
NET-3436 Implement rule S8949: Use the overload that accepts a CancellationToken
NET-3810 Fix: Protobuf Importer logs debug on excluded files
NET-3877 Implement rule S8747: Migrations should not narrow column types without converting existing data
NET-4091 Implement rule S8969: Null-forgiving operators should not be redundant
NET-4120 Update RSPEC before 10.30 release

False Positive

NET-1541 Fix S3459 FP: support classes marked with [AutoConstructor] attribute
NET-1583 Fix S6967 FP: Raises when model has no validation attributes
NET-1840 Fix S3903 FP: top-level statements and partial Program in separate file
NET-4059 Improve precision of S8949 (CancellationTokenShouldBeUsed) - umbrella
NET-4191 Fix S3169 FP: Should not raise in Azure Cosmos

False Negative

NET-3819 Fix S1244 FN: Should report on Double.Equals

Bug

NET-4107 Fix S4026 Race Condition

Commits viewable in compare view.

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps Meziantou.Analyzer from 3.0.123 to 3.0.137
Bumps SonarAnalyzer.CSharp from 10.29.0.143774 to 10.31.0.145097

---
updated-dependencies:
- dependency-name: Meziantou.Analyzer
  dependency-version: 3.0.137
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: analyzers
- dependency-name: SonarAnalyzer.CSharp
  dependency-version: 10.31.0.145097
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: analyzers
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions

Copy link
Copy Markdown

Benchmark Results

Measured on ubuntu-latest (GitHub Actions). Runner noise may affect absolute numbers; use these for relative comparisons within a PR.

Benchmarks.Perf.AsyncReaderBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 7763 3.13GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.302
  [Host]     : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v3
  Job-MEHJPP : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v3

IterationCount=5  WarmupCount=1  

Method Count Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GeneratedReader_ReadAsync 100 5.000 μs 0.0509 μs 0.0079 μs 0.62 0.2518 4248 B 0.23
SpanReader_ReadAsync 100 7.632 μs 0.0782 μs 0.0203 μs 0.95 0.2441 4264 B 0.23
Naive_ReadLineAsync 100 8.075 μs 0.3955 μs 0.0612 μs 1.00 1.0986 18424 B 1.00
GeneratedReader_ReadAsync_Pooled 100 10.702 μs 0.0655 μs 0.0170 μs 1.33 0.0153 328 B 0.02
SpanReader_ReadAsync_Pooled 100 12.897 μs 0.2180 μs 0.0566 μs 1.60 0.0153 344 B 0.02
GeneratedReader_ReadAsync 1000 49.900 μs 1.3047 μs 0.2019 μs 0.66 2.3193 39528 B 0.216
SpanReader_ReadAsync 1000 68.703 μs 0.8366 μs 0.2173 μs 0.90 2.3193 39544 B 0.216
Naive_ReadLineAsync 1000 75.995 μs 3.6791 μs 0.5693 μs 1.00 10.8643 183304 B 1.000
GeneratedReader_ReadAsync_Pooled 1000 97.489 μs 0.5170 μs 0.0800 μs 1.28 - 328 B 0.002
SpanReader_ReadAsync_Pooled 1000 123.006 μs 4.2811 μs 0.6625 μs 1.62 - 344 B 0.002

Benchmarks.Perf.ByteReaderBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.302
  [Host]     : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v3
  Job-MEHJPP : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v3

IterationCount=5  WarmupCount=1  

Method Count Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
CharParser_Parse 100 5.432 μs 0.2411 μs 0.0626 μs 1.00 0.01 0.2289 3.83 KB 1.00
ByteParser_Parse 100 6.093 μs 0.1069 μs 0.0278 μs 1.12 0.01 0.2289 3.83 KB 1.00
CharParser_Parse_AfterUtf8Decode 100 7.419 μs 0.2865 μs 0.0744 μs 1.37 0.02 0.6638 10.86 KB 2.84
CharParser_Parse 1000 53.859 μs 0.2589 μs 0.0672 μs 1.00 0.00 2.3193 38.28 KB 1.00
ByteParser_Parse 1000 60.368 μs 0.9864 μs 0.2562 μs 1.12 0.00 2.3193 38.28 KB 1.00
CharParser_Parse_AfterUtf8Decode 1000 79.936 μs 0.8657 μs 0.1340 μs 1.48 0.00 6.5918 108.59 KB 2.84

Benchmarks.Perf.ByteReaderPoolingBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.302
  [Host]     : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v3
  Job-MEHJPP : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v3

IterationCount=5  WarmupCount=1  

Method Count Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NoString 100 4.613 μs 0.0175 μs 0.0045 μs 0.63 - - 0.00
WithString_NoPool 100 7.280 μs 0.0555 μs 0.0144 μs 1.00 0.2289 3920 B 1.00
WithString_Pooled 100 13.703 μs 0.0166 μs 0.0043 μs 1.88 - - 0.00
NoString 1000 41.157 μs 0.2050 μs 0.0317 μs 0.56 - - 0.00
WithString_NoPool 1000 73.441 μs 0.6892 μs 0.1067 μs 1.00 2.3193 39200 B 1.00
WithString_Pooled 1000 140.973 μs 0.2447 μs 0.0379 μs 1.92 - - 0.00

Benchmarks.Perf.ByteReaderStreamBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.302
  [Host]     : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v3
  Job-MEHJPP : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v3

IterationCount=5  WarmupCount=1  

Method Count Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
ByteReader_Read 100 7.265 μs 0.0703 μs 0.0182 μs 0.29 0.2289 - - 3.83 KB 0.02
CharReader_Read 100 25.466 μs 1.0666 μs 0.2770 μs 1.00 41.6565 41.6565 41.6565 196.04 KB 1.00
ByteReader_Read 1000 70.235 μs 0.3544 μs 0.0920 μs 0.64 2.3193 - - 38.28 KB 0.17
CharReader_Read 1000 109.140 μs 2.2124 μs 0.5746 μs 1.00 41.6260 41.6260 41.6260 230.5 KB 1.00

Benchmarks.Perf.ComparisonBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.302
  [Host]     : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v4
  Job-MEHJPP : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v4

IterationCount=5  WarmupCount=1  

Method Count Mean Error StdDev Ratio Gen0 Gen1 Allocated Alloc Ratio
FixedWidthParser_Generated 100 3.292 μs 0.0707 μs 0.0184 μs 0.13 0.0458 - 3.86 KB 0.09
FixedWidthParser_Read 100 4.811 μs 0.1068 μs 0.0165 μs 0.19 0.0458 - 3.86 KB 0.09
RecordParser_Read 100 7.418 μs 0.1034 μs 0.0160 μs 0.30 0.0458 - 4.23 KB 0.10
FileHelpers_Read 100 25.040 μs 0.7048 μs 0.1091 μs 1.00 0.4883 - 41.49 KB 1.00
FlatFiles_Read 100 51.629 μs 1.1892 μs 0.3088 μs 2.06 1.2207 - 103.13 KB 2.49
FixedWidthParser_Generated 1000 32.605 μs 0.8622 μs 0.2239 μs 0.13 0.4272 - 38.31 KB 0.09
FixedWidthParser_Read 1000 46.568 μs 1.6274 μs 0.4226 μs 0.19 0.4272 - 38.31 KB 0.09
RecordParser_Read 1000 77.796 μs 1.4639 μs 0.3802 μs 0.31 0.3662 - 38.69 KB 0.10
FileHelpers_Read 1000 249.378 μs 4.4706 μs 1.1610 μs 1.00 4.8828 0.9766 406.42 KB 1.00
FlatFiles_Read 1000 527.386 μs 12.5705 μs 1.9453 μs 2.11 10.7422 - 953.2 KB 2.35

Benchmarks.Perf.ComparisonWriterBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.302
  [Host]     : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v4
  Job-MEHJPP : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v4

IterationCount=5  WarmupCount=1  

Method Count Mean Error StdDev Ratio RatioSD Gen0 Gen1 Allocated Alloc Ratio
FixedWidthParser_Write 1 86.38 ns 5.047 ns 1.311 ns 0.61 0.01 - - - 0.00
FileHelpers_Write 1 142.10 ns 6.693 ns 1.738 ns 1.00 0.02 0.0043 - 360 B 1.00
FlatFiles_Write 1 343.81 ns 8.116 ns 2.108 ns 2.42 0.03 0.0081 - 712 B 1.98
RecordParser_Write 1 14,982.95 ns 1,010.901 ns 262.528 ns 105.45 2.05 0.2136 - 18128 B 50.36
FixedWidthParser_Write 100 9,282.19 ns 274.978 ns 71.411 ns 0.66 0.01 - - - 0.00
FileHelpers_Write 100 14,005.08 ns 342.367 ns 52.982 ns 1.00 0.00 0.3815 - 32832 B 1.00
FlatFiles_Write 100 36,150.32 ns 1,096.555 ns 284.772 ns 2.58 0.02 0.7935 - 71200 B 2.17
RecordParser_Write 100 57,876.23 ns 14,133.947 ns 3,670.541 ns 4.13 0.24 0.2441 - 20440 B 0.62
FixedWidthParser_Write 1000 93,111.93 ns 1,823.439 ns 473.541 ns 0.65 0.00 - - - 0.00
FileHelpers_Write 1000 143,842.13 ns 2,077.366 ns 539.485 ns 1.00 0.00 3.9063 - 328032 B 1.00
FlatFiles_Write 1000 356,329.06 ns 16,897.467 ns 4,388.218 ns 2.48 0.03 8.3008 - 712000 B 2.17
RecordParser_Write 1000 502,977.45 ns 19,321.043 ns 5,017.613 ns 3.50 0.03 12.6953 11.7188 1077221 B 3.28

Benchmarks.Perf.ParserBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.302
  [Host]     : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v3
  Job-MEHJPP : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v3

IterationCount=5  WarmupCount=1  

Method Line Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
Parse_NoPool Jane (...)0.00 [25] 52.08 ns 1.310 ns 0.340 ns 1.00 0.0029 48 B 1.00
Parse_WithStringPool Jane (...)0.00 [25] 82.40 ns 0.039 ns 0.006 ns 1.58 - - 0.00
Parse_NoPool John (...)0.00 [25] 61.96 ns 1.195 ns 0.310 ns 1.00 0.0024 40 B 1.00
Parse_WithStringPool John (...)0.00 [25] 101.60 ns 0.960 ns 0.149 ns 1.64 - - 0.00

Benchmarks.Perf.PipeReaderBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.302
  [Host]     : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v3
  Job-MEHJPP : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v3

IterationCount=5  WarmupCount=1  

Method Count Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
Stream_ReadAsync 100 8.453 μs 0.1043 μs 0.0161 μs 1.00 0.00 0.2441 4.09 KB 1.00
Pipe_ReadAsync 100 16.744 μs 0.1697 μs 0.0441 μs 1.98 0.01 0.2441 4.48 KB 1.10
Pipe_ReadAsync_SmallSegments 100 59.696 μs 0.3918 μs 0.0606 μs 7.06 0.01 0.2441 4.67 KB 1.14
Stream_ReadAsync 1000 81.470 μs 0.4299 μs 0.1116 μs 1.00 0.00 2.3193 38.54 KB 1.00
Pipe_ReadAsync 1000 170.732 μs 1.3120 μs 0.3407 μs 2.10 0.00 2.1973 39.03 KB 1.01
Pipe_ReadAsync_SmallSegments 1000 634.362 μs 23.5368 μs 6.1124 μs 7.79 0.07 1.9531 39.13 KB 1.02

Benchmarks.Perf.ReaderBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 7763 3.13GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.302
  [Host]     : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v3
  Job-MEHJPP : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v3

IterationCount=5  WarmupCount=1  

Method Count Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GeneratedReader_Read 100 4.567 μs 0.0653 μs 0.0101 μs 0.65 0.00 0.2289 3952 B 0.354
SpanReader_Read 100 6.960 μs 0.0806 μs 0.0209 μs 1.00 0.00 0.2289 3952 B 0.354
Naive_ReadLine 100 6.995 μs 0.0703 μs 0.0109 μs 1.00 0.00 0.6638 11152 B 1.000
GeneratedReader_Read_Pooled 100 9.446 μs 0.0773 μs 0.0201 μs 1.35 0.00 - 32 B 0.003
SpanReader_Read_Pooled 100 11.283 μs 0.2247 μs 0.0348 μs 1.61 0.00 - 32 B 0.003
GeneratedReader_Read 1000 45.155 μs 0.5916 μs 0.1536 μs 0.58 0.01 2.3193 39232 B 0.353
SpanReader_Read 1000 59.521 μs 0.5263 μs 0.1367 μs 0.77 0.01 2.3193 39232 B 0.353
Naive_ReadLine 1000 77.446 μs 3.3168 μs 0.8614 μs 1.00 0.01 6.5918 111232 B 1.000
GeneratedReader_Read_Pooled 1000 94.966 μs 0.4208 μs 0.1093 μs 1.23 0.01 - 32 B 0.000
SpanReader_Read_Pooled 1000 115.873 μs 0.5933 μs 0.1541 μs 1.50 0.02 - 32 B 0.000

Benchmarks.Perf.ReaderStartupBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 7763 3.13GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.302
  [Host]     : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v3
  Job-MEHJPP : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v3

IterationCount=5  WarmupCount=1  

Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
ReflectionReader_ConstructAndReadOne 114.1 ns 0.43 ns 0.07 ns 1.00 0.0057 96 B 1.00
GeneratedReader_ReadOne 115.5 ns 4.29 ns 1.11 ns 1.01 0.0043 72 B 0.75

Benchmarks.Perf.SourceGenParserBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.302
  [Host]     : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v3
  Job-MEHJPP : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v3

IterationCount=5  WarmupCount=1  

Method Line Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
Generated John (...)00.00 [25] 37.47 ns 0.489 ns 0.076 ns 0.78 0.0024 40 B 1.00
Reflection John (...)00.00 [25] 47.74 ns 0.884 ns 0.137 ns 1.00 0.0024 40 B 1.00

Benchmarks.Perf.WriterBenchmarks


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.302
  [Host]     : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v3
  Job-MEHJPP : .NET 10.0.10 (10.0.10, 10.0.1026.32716), X64 RyuJIT x86-64-v3

IterationCount=5  WarmupCount=1  

Method Count Mean Error StdDev Ratio RatioSD Gen0 Gen1 Allocated Alloc Ratio
WriteMany_ReuseWriterSpan 1 131.1 ns 1.76 ns 0.27 ns 0.48 0.01 - - - 0.00
WriteMany_ReuseWriter 1 138.1 ns 0.29 ns 0.08 ns 0.50 0.01 - - - 0.00
WriteMany_AsyncReuseWriter 1 175.7 ns 1.64 ns 0.43 ns 0.64 0.01 0.0019 - 32 B 0.01
WriteMany_NewStream 1 274.4 ns 16.01 ns 4.16 ns 1.00 0.02 0.1326 - 2224 B 1.00
WriteMany_AsyncNewStream 1 524.5 ns 90.06 ns 13.94 ns 1.91 0.05 0.3204 0.0029 5360 B 2.41
WriteMany_ReuseWriter 100 13,245.5 ns 41.82 ns 10.86 ns 0.91 0.00 - - - 0.000
WriteMany_ReuseWriterSpan 100 13,966.9 ns 120.84 ns 18.70 ns 0.96 0.00 - - - 0.000
WriteMany_NewStream 100 14,566.4 ns 253.92 ns 39.29 ns 1.00 0.00 0.3052 - 5328 B 1.000
WriteMany_AsyncReuseWriter 100 15,550.0 ns 271.29 ns 70.45 ns 1.07 0.01 - - 32 B 0.006
WriteMany_AsyncNewStream 100 15,581.6 ns 427.87 ns 111.12 ns 1.07 0.01 0.3052 - 5360 B 1.006
WriteMany_NewStream 1000 131,333.3 ns 827.06 ns 127.99 ns 1.00 0.00 0.2441 - 5328 B 1.000
WriteMany_ReuseWriter 1000 135,626.6 ns 664.47 ns 102.83 ns 1.03 0.00 - - - 0.000
WriteMany_ReuseWriterSpan 1000 136,387.6 ns 786.68 ns 204.30 ns 1.04 0.00 - - - 0.000
WriteMany_AsyncNewStream 1000 155,917.8 ns 1,485.30 ns 229.85 ns 1.19 0.00 0.2441 - 5360 B 1.006
WriteMany_AsyncReuseWriter 1000 159,837.7 ns 1,403.13 ns 364.39 ns 1.22 0.00 - - 32 B 0.006

@GabrielMarquezMatte
GabrielMarquezMatte merged commit 4f2dc4b into develop Jul 31, 2026
12 checks passed
@dependabot
dependabot Bot deleted the dependabot/nuget/develop/analyzers-cc99cccae6 branch July 31, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant