Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-3455

Improve BSON encode/decode performance

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Performance
    • None
    • Go Drivers
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      With the release of 2.0, we have the possibility of significantly improving BSON encode/decode performance in many cases. Some internal teams use this ReflectionFreeDCodec that reduces BSON encode/decode time by about 50% for supported types. With the simplifications to the codec system in 2.0, we can borrow some of the logic from the ReflectionFreeDCodec to get similar performance in the default BSON library. That's a performance benefit for everyone, and means nobody needs to maintain the ReflectionFreeDCodec anymore.

            Assignee:
            preston.vasquez@mongodb.com Preston Vasquez
            Reporter:
            julia.tazin@mongodb.com Julia Tazin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 3 weeks
                3w
                Logged:
                Time Spent - Not Specified
                Not Specified