Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2692

Performance: Reduce byte buffer allocations during deserialization

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 2.12.0
    • 2.8.1, 2.9.0
    • Performance, Serialization
    • None

    Description

      The profiler says:

      The Utf8Encoding type provides and overload for the GetBytes method which can be leveraged to avoid those not needed allocations,

      Attachments

        1. image-2019-08-15-09-26-18-570.png
          image-2019-08-15-09-26-18-570.png
          31 kB
        2. mem1.JPG
          mem1.JPG
          167 kB

        Activity

          People

            boris.dogadov@mongodb.com Boris Dogadov
            daniel.hegener@gmx.net Daniel Hegener
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: