[CSHARP-2683] Reduce allocations during deserialization Created: 12/Aug/19  Updated: 28/Oct/23  Resolved: 16/Dec/20

Status: Closed
Project: C# Driver
Component/s: Performance, Serialization
Affects Version/s: 2.8.1, 2.9.0
Fix Version/s: 2.12.0

Type: Improvement Priority: Major - P3
Reporter: Daniel Hegener Assignee: Boris Dogadov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2019-08-12-21-33-15-507.png    
Backwards Compatibility: Fully Compatible

 Description   

Memory profiling of our application shows some amazing number of allocated instances and bytes which can easily be reduced.



 Comments   
Comment by Githook User [ 15/Dec/20 ]

Author:

{'name': 'Boris', 'email': 'boris.dogadov@mongodb.com', 'username': 'BorisDog'}

Message: CSHARP-2683: Unittests minor styling change
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/2bf906adae24767c1ac0a3174cf3c2abee73d40d

Comment by Githook User [ 15/Dec/20 ]

Author:

{'name': 'Daniel Hegener', 'email': 'Daniel.Hegener@fisglobal.com'}

Message: CSHARP-2683: Reduced number of created TrieNameDecoder instances.
CSHARP-2683: Extended TrieNameDecoderTests to test the "Found" and "Value" properties as well as the reusability of a single instance
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/0f3bff509e48af146989fd256c52c5bccf6637d9

Generated at Wed Feb 07 21:43:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.