Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 29, 2025

Updated MongoDB.Driver from 3.4.3 to 3.5.0.

Release notes

Sourced from MongoDB.Driver's releases.

3.5.0

This is the general availability release for the 3.5.0 version of the driver.

[!IMPORTANT]

Internal Changes for an Upcoming Feature

This release includes low level changes to internal subsystems including operation execution, timeout handling, and resource cleanup logic - in preparation for supporting Client-Side Operations Timeout (CSOT) in an upcoming release.
While these changes should be backward-compatible and not alter existing behavior, they touch core driver infrastructure.
If you experience unexpected issues such as:

  • Operations timing out unexpectedly or not timing out when expected
  • Unusual delays or hangs in database calls
  • Differences in command cancellation behavior

Please let us know via the MongoDB JIRA Driver project or your MongoDB support channel, providing driver logs and a reproduction if possible.

Experimental Support for Queryable Encryption Text Field Prefix, Suffix and Substring Queries

Substring, prefix and suffix search for Queryable Encryption are in preview and should be used for experimental workloads only. These features are unstable and their security is not guaranteed until released as Generally Available (GA). The GA version of these features may not be backwards compatible with the preview version.

The main new features in 3.5.0 include:

  • CSHARP-5453: Add builder for CSFLE schemas
  • CSHARP-3222: Add LINQ support for median and percentile accumulators/window functions
  • CSHARP-5672: Support sorting by value in PushEach operation
  • CSHARP-5625: Support text indexes for explicit and automatic encryption
  • CSHARP-734: SOCKS5 Proxy Support
  • CSHARP-3458: Extend IAsyncCursor and IAsyncCursorSource to support IAsyncEnumerable

Improvements:

  • CSHARP-5603: Add Big Endian support in BinaryVectorReader and BinaryVectorWriter
  • CSHARP-5614: Fix deserialization of primitive arrays on Big Endian systems
  • CSHARP-5619: Replace IConnection.SendMessages with the method to send a single message
  • CSHARP-5377: Eliminate unnecessary killCursors command when batchSize == limit

Fixes:

  • CSHARP-3435: FilterDefinition Inject method should use root serializer
  • CSHARP-3662: MongoClientSettings.SocketTimeout does not work for values under 500ms on Windows for sync code
  • CSHARP-4040: Fix bug when using field with same element name as discriminator
  • CSHARP-5587: FindOneAndUpdate should insert correct discriminator value on upsert
  • CSHARP-3494: Fix discriminator for generic types
  • CSHARP-5588: Unable to select KeyValuePair Key when using camelCase convention
  • CSHARP-5633: BsonSerializer.IsTypeDiscriminated is not thread-safe

Maintenance:

The full list of issues resolved in this release is available at CSHARP JIRA project.
Documentation on the .NET driver can be found here.

Commits viewable in compare view.

Dependabot compatibility score

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: MongoDB.Driver
  dependency-version: 3.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added area:dependabot dependabot updates dependencies Pull requests that update a dependency file labels Oct 29, 2025
@dependabot dependabot bot requested a review from a team as a code owner October 29, 2025 16:44
@dependabot dependabot bot added dependencies Pull requests that update a dependency file area:dependabot dependabot updates labels Oct 29, 2025
@pr-commenter
Copy link

pr-commenter bot commented Oct 29, 2025

Benchmarks

Benchmarks Report for benchmark platform 🐌

Benchmarks for #7739 compared to master:

  • 2 benchmarks are faster, with geometric mean 1.680
  • 8 benchmarks have fewer allocations
  • 4 benchmarks have more allocations

The following thresholds were used for comparing the benchmark speeds:

  • Mann–Whitney U test with statistical test for significance of 5%
  • Only results indicating a difference greater than 10% and 0.3 ns are considered.

Allocation changes below 0.5% are ignored.

Benchmark details

Benchmarks.Trace.ActivityBenchmark - Same speed ✔️ More allocations ⚠️

More allocations ⚠️ in #7739

Benchmark Base Allocated Diff Allocated Change Change %
Benchmarks.Trace.ActivityBenchmark.StartStopWithChild‑net472 6.03 KB 6.09 KB 58 B 0.96%

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master StartStopWithChild net6.0 10.8μs 56.7ns 305ns 0 0 0 5.53 KB
master StartStopWithChild netcoreapp3.1 13.8μs 67.5ns 278ns 0 0 0 5.72 KB
master StartStopWithChild net472 21.8μs 117ns 631ns 0.98 0.327 0.109 6.03 KB
#7739 StartStopWithChild net6.0 10.9μs 49.1ns 184ns 0 0 0 5.52 KB
#7739 StartStopWithChild netcoreapp3.1 13.6μs 66.1ns 280ns 0 0 0 5.73 KB
#7739 StartStopWithChild net472 22.1μs 102ns 407ns 1.03 0.343 0.114 6.09 KB
Benchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ More allocations ⚠️

More allocations ⚠️ in #7739

Benchmark Base Allocated Diff Allocated Change Change %
Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces‑net472 3.31 KB 3.35 KB 46 B 1.39%

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master WriteAndFlushEnrichedTraces net6.0 945μs 667ns 2.58μs 0 0 0 2.71 KB
master WriteAndFlushEnrichedTraces netcoreapp3.1 1.03ms 66.7ns 231ns 0 0 0 2.7 KB
master WriteAndFlushEnrichedTraces net472 1.2ms 87.7ns 304ns 0 0 0 3.31 KB
#7739 WriteAndFlushEnrichedTraces net6.0 929μs 29.4ns 110ns 0 0 0 2.71 KB
#7739 WriteAndFlushEnrichedTraces netcoreapp3.1 1.02ms 139ns 520ns 0 0 0 2.7 KB
#7739 WriteAndFlushEnrichedTraces net472 1.2ms 330ns 1.28μs 0 0 0 3.35 KB
Benchmarks.Trace.Asm.AppSecBodyBenchmark - Unknown 🤷 Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master AllCycleSimpleBody net6.0 N/A N/A N/A NaN NaN NaN 0 b
master AllCycleSimpleBody netcoreapp3.1 N/A N/A N/A NaN NaN NaN 0 b
master AllCycleSimpleBody net472 N/A N/A N/A NaN NaN NaN 0 b
master AllCycleMoreComplexBody net6.0 N/A N/A N/A NaN NaN NaN 0 b
master AllCycleMoreComplexBody netcoreapp3.1 N/A N/A N/A NaN NaN NaN 0 b
master AllCycleMoreComplexBody net472 N/A N/A N/A NaN NaN NaN 0 b
master ObjectExtractorSimpleBody net6.0 326ns 1.61ns 7.22ns 0 0 0 280 B
master ObjectExtractorSimpleBody netcoreapp3.1 392ns 2.22ns 14.2ns 0 0 0 272 B
master ObjectExtractorSimpleBody net472 302ns 0.0192ns 0.0694ns 0.0441 0 0 281 B
master ObjectExtractorMoreComplexBody net6.0 6.4μs 29.1ns 113ns 0 0 0 3.78 KB
master ObjectExtractorMoreComplexBody netcoreapp3.1 7.82μs 36.1ns 140ns 0 0 0 3.69 KB
master ObjectExtractorMoreComplexBody net472 6.67μs 1.91ns 7.38ns 0.601 0 0 3.8 KB
#7739 AllCycleSimpleBody net6.0 N/A N/A N/A NaN NaN NaN 0 b
#7739 AllCycleSimpleBody netcoreapp3.1 N/A N/A N/A NaN NaN NaN 0 b
#7739 AllCycleSimpleBody net472 N/A N/A N/A NaN NaN NaN 0 b
#7739 AllCycleMoreComplexBody net6.0 N/A N/A N/A NaN NaN NaN 0 b
#7739 AllCycleMoreComplexBody netcoreapp3.1 N/A N/A N/A NaN NaN NaN 0 b
#7739 AllCycleMoreComplexBody net472 N/A N/A N/A NaN NaN NaN 0 b
#7739 ObjectExtractorSimpleBody net6.0 324ns 1.62ns 7.44ns 0 0 0 280 B
#7739 ObjectExtractorSimpleBody netcoreapp3.1 391ns 2.22ns 14.7ns 0 0 0 272 B
#7739 ObjectExtractorSimpleBody net472 296ns 0.0439ns 0.17ns 0.0437 0 0 281 B
#7739 ObjectExtractorMoreComplexBody net6.0 6.34μs 3.82ns 14.8ns 0 0 0 3.78 KB
#7739 ObjectExtractorMoreComplexBody netcoreapp3.1 7.76μs 38.9ns 187ns 0 0 0 3.69 KB
#7739 ObjectExtractorMoreComplexBody net472 6.69μs 7.22ns 28ns 0.572 0 0 3.8 KB
Benchmarks.Trace.Asm.AppSecEncoderBenchmark - Same speed ✔️ Fewer allocations 🎉

Fewer allocations 🎉 in #7739

Benchmark Base Allocated Diff Allocated Change Change %
Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs‑net472 2.17 KB 2.16 KB -11 B -0.51%

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EncodeArgs net6.0 76.8μs 250ns 934ns 0 0 0 32.4 KB
master EncodeArgs netcoreapp3.1 97μs 183ns 707ns 0 0 0 32.4 KB
master EncodeArgs net472 113μs 11.8ns 42.4ns 5.1 0 0 32.5 KB
master EncodeLegacyArgs net6.0 145μs 19.8ns 74.1ns 0 0 0 2.14 KB
master EncodeLegacyArgs netcoreapp3.1 199μs 232ns 897ns 0 0 0 2.14 KB
master EncodeLegacyArgs net472 272μs 41.4ns 155ns 0 0 0 2.17 KB
#7739 EncodeArgs net6.0 77.2μs 284ns 1.1μs 0 0 0 32.4 KB
#7739 EncodeArgs netcoreapp3.1 98.8μs 55.1ns 213ns 0 0 0 32.4 KB
#7739 EncodeArgs net472 110μs 52.5ns 203ns 4.95 0 0 32.51 KB
#7739 EncodeLegacyArgs net6.0 145μs 35.2ns 136ns 0 0 0 2.15 KB
#7739 EncodeLegacyArgs netcoreapp3.1 199μs 270ns 1.01μs 0 0 0 2.14 KB
#7739 EncodeLegacyArgs net472 271μs 95ns 368ns 0 0 0 2.16 KB
Benchmarks.Trace.Asm.AppSecWafBenchmark - Faster 🎉 Fewer allocations 🎉

Faster 🎉 in #7739

Benchmark base/diff Base Median (ns) Diff Median (ns) Modality
Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack‑netcoreapp3.1 2.458 737,372.41 299,938.84

Fewer allocations 🎉 in #7739

Benchmark Base Allocated Diff Allocated Change Change %
Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark‑netcoreapp3.1 4.6 KB 4.48 KB -121 B -2.63%

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master RunWafRealisticBenchmark net6.0 394μs 68.4ns 247ns 0 0 0 4.55 KB
master RunWafRealisticBenchmark netcoreapp3.1 862μs 2.38μs 8.6μs 0 0 0 4.6 KB
master RunWafRealisticBenchmark net472 428μs 58.7ns 227ns 0 0 0 4.66 KB
master RunWafRealisticBenchmarkWithAttack net6.0 285μs 67.6ns 253ns 0 0 0 2.24 KB
master RunWafRealisticBenchmarkWithAttack netcoreapp3.1 688μs 10.2μs 101μs 0 0 0 2.22 KB
master RunWafRealisticBenchmarkWithAttack net472 309μs 40.1ns 155ns 0 0 0 2.29 KB
#7739 RunWafRealisticBenchmark net6.0 391μs 43.1ns 149ns 0 0 0 4.55 KB
#7739 RunWafRealisticBenchmark netcoreapp3.1 819μs 14.5μs 145μs 0 0 0 4.48 KB
#7739 RunWafRealisticBenchmark net472 437μs 56.1ns 217ns 0 0 0 4.66 KB
#7739 RunWafRealisticBenchmarkWithAttack net6.0 285μs 49.2ns 191ns 0 0 0 2.24 KB
#7739 RunWafRealisticBenchmarkWithAttack netcoreapp3.1 300μs 41ns 142ns 0 0 0 2.22 KB
#7739 RunWafRealisticBenchmarkWithAttack net472 313μs 24.4ns 94.6ns 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.6μs 35.6ns 138ns 0 0 0 14.52 KB
master SendRequest netcoreapp3.1 71.5μs 68.4ns 237ns 0 0 0 17.42 KB
master SendRequest net472 0.00174ns 0.00119ns 0.00462ns 0 0 0 0 b
#7739 SendRequest net6.0 60.4μs 33.5ns 125ns 0 0 0 14.52 KB
#7739 SendRequest netcoreapp3.1 71.6μs 118ns 440ns 0 0 0 17.42 KB
#7739 SendRequest net472 0.0113ns 0.00326ns 0.0126ns 0 0 0 0 b
Benchmarks.Trace.CharSliceBenchmark - Same speed ✔️ More allocations ⚠️

More allocations ⚠️ in #7739

Benchmark Base Allocated Diff Allocated Change Change %
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net6.0 1 B 5 B 4 B 400.00%

Fewer allocations 🎉 in #7739

Benchmark Base Allocated Diff Allocated Change Change %
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑net472 73 B 0 b -73 B -100.00%
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net472 48 B 0 b -48 B -100.00%

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master OriginalCharSlice net6.0 1.99ms 1.51μs 5.66μs 0 0 0 640.01 KB
master OriginalCharSlice netcoreapp3.1 2.08ms 2.34μs 8.44μs 0 0 0 640 KB
master OriginalCharSlice net472 2.56ms 385ns 1.33μs 100 0 0 641.95 KB
master OptimizedCharSlice net6.0 1.35ms 422ns 1.58μs 0 0 0 4 B
master OptimizedCharSlice netcoreapp3.1 1.67ms 335ns 1.3μs 0 0 0 1 B
master OptimizedCharSlice net472 2.04ms 268ns 1.04μs 0 0 0 73 B
master OptimizedCharSliceWithPool net6.0 804μs 82.2ns 319ns 0 0 0 1 B
master OptimizedCharSliceWithPool netcoreapp3.1 833μs 97ns 376ns 0 0 0 0 b
master OptimizedCharSliceWithPool net472 1.16ms 103ns 386ns 0 0 0 48 B
#7739 OriginalCharSlice net6.0 1.9ms 582ns 2.26μs 0 0 0 640.01 KB
#7739 OriginalCharSlice netcoreapp3.1 2.12ms 9.37μs 36.3μs 0 0 0 640 KB
#7739 OriginalCharSlice net472 2.74ms 996ns 3.45μs 100 0 0 641.95 KB
#7739 OptimizedCharSlice net6.0 1.43ms 495ns 1.85μs 0 0 0 4 B
#7739 OptimizedCharSlice netcoreapp3.1 1.83ms 1.26μs 4.87μs 0 0 0 1 B
#7739 OptimizedCharSlice net472 1.96ms 352ns 1.32μs 0 0 0 0 b
#7739 OptimizedCharSliceWithPool net6.0 888μs 97.9ns 379ns 0 0 0 5 B
#7739 OptimizedCharSliceWithPool netcoreapp3.1 812μs 159ns 617ns 0 0 0 0 b
#7739 OptimizedCharSliceWithPool net472 1.18ms 65.2ns 244ns 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 685μs 691ns 2.59μs 0 0 0 41.65 KB
master WriteAndFlushEnrichedTraces netcoreapp3.1 788μs 4.27μs 24.5μs 0 0 0 41.96 KB
master WriteAndFlushEnrichedTraces net472 888μs 2.98μs 11.2μs 4.46 0 0 56.03 KB
#7739 WriteAndFlushEnrichedTraces net6.0 673μs 604ns 2.26μs 0 0 0 41.67 KB
#7739 WriteAndFlushEnrichedTraces netcoreapp3.1 769μs 4.35μs 30.7μs 0 0 0 41.94 KB
#7739 WriteAndFlushEnrichedTraces net472 854μs 4.23μs 18.9μs 4.81 0 0 55.88 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.91μs 8.24ns 29.7ns 0 0 0 1.02 KB
master ExecuteNonQuery netcoreapp3.1 2.64μs 5.83ns 22.6ns 0 0 0 1.02 KB
master ExecuteNonQuery net472 2.88μs 4.19ns 16.2ns 0.145 0.0145 0 987 B
#7739 ExecuteNonQuery net6.0 1.89μs 3.92ns 15.2ns 0 0 0 1.02 KB
#7739 ExecuteNonQuery netcoreapp3.1 2.63μs 12.4ns 46.3ns 0 0 0 1.02 KB
#7739 ExecuteNonQuery net472 2.82μs 1.79ns 6.68ns 0.156 0.0141 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.72μs 2.57ns 9.94ns 0 0 0 1.03 KB
master CallElasticsearch netcoreapp3.1 2.24μs 9.43ns 36.5ns 0 0 0 1.03 KB
master CallElasticsearch net472 3.72μs 4.5ns 17.4ns 0.149 0 0 1.04 KB
master CallElasticsearchAsync net6.0 1.88μs 4.26ns 16.5ns 0 0 0 1.01 KB
master CallElasticsearchAsync netcoreapp3.1 2.4μs 10.9ns 42.1ns 0 0 0 1.08 KB
master CallElasticsearchAsync net472 3.73μs 3.64ns 13.1ns 0.167 0 0 1.1 KB
#7739 CallElasticsearch net6.0 1.67μs 0.587ns 2.27ns 0 0 0 1.03 KB
#7739 CallElasticsearch netcoreapp3.1 2.25μs 11.4ns 51ns 0 0 0 1.03 KB
#7739 CallElasticsearch net472 3.66μs 2.93ns 11ns 0.148 0 0 1.04 KB
#7739 CallElasticsearchAsync net6.0 1.85μs 0.745ns 2.69ns 0 0 0 1.01 KB
#7739 CallElasticsearchAsync netcoreapp3.1 2.42μs 6.63ns 23.9ns 0 0 0 1.08 KB
#7739 CallElasticsearchAsync net472 3.7μs 8.22ns 31.8ns 0.172 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.94μs 3.89ns 15.1ns 0 0 0 952 B
master ExecuteAsync netcoreapp3.1 2.49μs 7.56ns 28.3ns 0 0 0 952 B
master ExecuteAsync net472 2.61μs 2.16ns 8.07ns 0.142 0 0 915 B
#7739 ExecuteAsync net6.0 1.85μs 7.2ns 27.9ns 0 0 0 952 B
#7739 ExecuteAsync netcoreapp3.1 2.44μs 7.96ns 30.8ns 0 0 0 952 B
#7739 ExecuteAsync net472 2.68μs 2.85ns 11ns 0.134 0 0 915 B
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master SendAsync net6.0 7.33μs 7.79ns 29.1ns 0 0 0 2.36 KB
master SendAsync netcoreapp3.1 8.77μs 16.5ns 63.9ns 0 0 0 2.9 KB
master SendAsync net472 12.2μs 13.5ns 52.2ns 0.489 0 0 3.18 KB
#7739 SendAsync net6.0 6.86μs 4.68ns 17.5ns 0 0 0 2.36 KB
#7739 SendAsync netcoreapp3.1 8.9μs 13.8ns 53.5ns 0 0 0 2.9 KB
#7739 SendAsync net472 12.3μs 11.6ns 43.4ns 0.489 0 0 3.18 KB
Benchmarks.Trace.Iast.StringAspectsBenchmark - Faster 🎉 More allocations ⚠️

Faster 🎉 in #7739

Benchmark base/diff Base Median (ns) Diff Median (ns) Modality
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1 1.148 568,100.00 494,900.00

More allocations ⚠️ in #7739

Benchmark Base Allocated Diff Allocated Change Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472 57.34 KB 65.54 KB 8.19 KB 14.29%

Fewer allocations 🎉 in #7739

Benchmark Base Allocated Diff Allocated Change Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net6.0 43.77 KB 43.1 KB -664 B -1.52%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0 275.39 KB 259.49 KB -15.9 KB -5.78%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑netcoreapp3.1 45.55 KB 42.68 KB -2.87 KB -6.30%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1 281.72 KB 246.72 KB -35 KB -12.42%

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master StringConcatBenchmark net6.0 43μs 234ns 1.28μs 0 0 0 43.77 KB
master StringConcatBenchmark netcoreapp3.1 57μs 1μs 9.98μs 0 0 0 45.55 KB
master StringConcatBenchmark net472 57.3μs 124ns 446ns 0 0 0 57.34 KB
master StringConcatAspectBenchmark net6.0 496μs 2.24μs 8.08μs 0 0 0 275.39 KB
master StringConcatAspectBenchmark netcoreapp3.1 572μs 2.49μs 8.96μs 0 0 0 281.72 KB
master StringConcatAspectBenchmark net472 409μs 2.34μs 16.5μs 0 0 0 278.53 KB
#7739 StringConcatBenchmark net6.0 42.3μs 233ns 1.68μs 0 0 0 43.1 KB
#7739 StringConcatBenchmark netcoreapp3.1 46.7μs 260ns 1.54μs 0 0 0 42.68 KB
#7739 StringConcatBenchmark net472 57.4μs 298ns 1.46μs 0 0 0 65.54 KB
#7739 StringConcatAspectBenchmark net6.0 445μs 1.48μs 5.12μs 0 0 0 259.49 KB
#7739 StringConcatAspectBenchmark netcoreapp3.1 496μs 2.15μs 8.06μs 0 0 0 246.72 KB
#7739 StringConcatAspectBenchmark net472 401μs 2.14μs 11.9μ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.64μs 13.2ns 60.5ns 0 0 0 1.7 KB
master EnrichedLog netcoreapp3.1 3.61μs 14.1ns 54.8ns 0 0 0 1.7 KB
master EnrichedLog net472 3.86μs 4.57ns 17.1ns 0.252 0 0 1.64 KB
#7739 EnrichedLog net6.0 2.65μs 12.6ns 50.3ns 0 0 0 1.7 KB
#7739 EnrichedLog netcoreapp3.1 3.63μs 17.7ns 66.1ns 0 0 0 1.7 KB
#7739 EnrichedLog net472 3.91μs 4.09ns 15.9ns 0.254 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 335ns 1.16μs 0 0 0 4.31 KB
master EnrichedLog netcoreapp3.1 131μs 617ns 2.47μs 0 0 0 4.31 KB
master EnrichedLog net472 169μs 208ns 806ns 0 0 0 4.52 KB
#7739 EnrichedLog net6.0 127μs 341ns 1.23μs 0 0 0 4.31 KB
#7739 EnrichedLog netcoreapp3.1 133μs 271ns 1.01μs 0 0 0 4.31 KB
#7739 EnrichedLog net472 172μs 395ns 1.53μs 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.09μs 16.2ns 62.9ns 0 0 0 2.26 KB
master EnrichedLog netcoreapp3.1 6.67μs 14ns 54.2ns 0 0 0 2.26 KB
master EnrichedLog net472 7.52μs 7.68ns 29.8ns 0.299 0 0 2.08 KB
#7739 EnrichedLog net6.0 4.88μs 12.2ns 45.7ns 0 0 0 2.26 KB
#7739 EnrichedLog netcoreapp3.1 6.79μs 19.2ns 74.3ns 0 0 0 2.26 KB
#7739 EnrichedLog net472 8.04μs 5.35ns 20.7ns 0.321 0 0 2.08 KB
Benchmarks.Trace.RedisBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master SendReceive net6.0 1.97μs 9.63ns 43.1ns 0 0 0 1.2 KB
master SendReceive netcoreapp3.1 2.65μs 12.6ns 51.8ns 0 0 0 1.2 KB
master SendReceive net472 3.05μs 1.05ns 3.78ns 0.185 0 0 1.2 KB
#7739 SendReceive net6.0 2.07μs 11.3ns 63.1ns 0 0 0 1.2 KB
#7739 SendReceive netcoreapp3.1 2.61μs 13.3ns 58ns 0 0 0 1.2 KB
#7739 SendReceive net472 3.13μs 2.39ns 9.25ns 0.188 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.36μs 16.6ns 64.4ns 0 0 0 1.58 KB
master EnrichedLog netcoreapp3.1 5.66μs 9.37ns 36.3ns 0 0 0 1.63 KB
master EnrichedLog net472 6.58μs 5.97ns 23.1ns 0.294 0 0 2.03 KB
#7739 EnrichedLog net6.0 4.32μs 8.9ns 33.3ns 0 0 0 1.58 KB
#7739 EnrichedLog netcoreapp3.1 5.74μs 14.8ns 57.3ns 0 0 0 1.63 KB
#7739 EnrichedLog net472 6.63μs 10.3ns 39.9ns 0.296 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 757ns 4.15ns 23.8ns 0 0 0 576 B
master StartFinishSpan netcoreapp3.1 959ns 4.17ns 15.6ns 0 0 0 576 B
master StartFinishSpan net472 953ns 0.0777ns 0.28ns 0.0911 0 0 578 B
master StartFinishScope net6.0 930ns 4.33ns 17.3ns 0 0 0 696 B
master StartFinishScope netcoreapp3.1 1.19μs 6.27ns 31.4ns 0 0 0 696 B
master StartFinishScope net472 1.14μs 0.408ns 1.58ns 0.103 0 0 658 B
#7739 StartFinishSpan net6.0 791ns 4.06ns 19.5ns 0 0 0 576 B
#7739 StartFinishSpan netcoreapp3.1 956ns 4.8ns 20.9ns 0 0 0 576 B
#7739 StartFinishSpan net472 949ns 0.156ns 0.562ns 0.0904 0 0 578 B
#7739 StartFinishScope net6.0 913ns 4.72ns 18.9ns 0 0 0 696 B
#7739 StartFinishScope netcoreapp3.1 1.19μs 5.66ns 21.9ns 0 0 0 696 B
#7739 StartFinishScope net472 1.16μs 1.19ns 4.61ns 0.104 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.06μs 5.65ns 29.9ns 0 0 0 696 B
master RunOnMethodBegin netcoreapp3.1 1.42μs 7.31ns 35.8ns 0 0 0 697 B
master RunOnMethodBegin net472 1.43μs 0.603ns 2.33ns 0.0998 0 0 658 B
#7739 RunOnMethodBegin net6.0 1.08μs 0.564ns 2.11ns 0 0 0 696 B
#7739 RunOnMethodBegin netcoreapp3.1 1.45μs 7.1ns 31ns 0 0 0 696 B
#7739 RunOnMethodBegin net472 1.41μs 0.904ns 3.5ns 0.0998 0 0 658 B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dependabot dependabot updates dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant