Optimize BSON encoding/decoding performance

XMLWordPrintableJSON

    • Type: Epic
    • Resolution: Fixed
    • Priority: Unknown
    • 4.5
    • Affects Version/s: None
    • Component/s: BSON, Performance
    • None
    • Python BSON performance
    • None
    • Done
    • None
    • 0
    • 0
    • 0
    • 100
    • None
    • None

      Summary

      Optimize BSON encoding/decoding performance. PYTHON-3717 and PYTHON-3718 highlighted that we have a few glaring inefficiencies in BSON encoding/decoding in our C extension. Let's address some of these more thoroughly.

      Motivation

      Who is the affected end user?

      Improving BSON performance will speed up all apps using pymongo.

      How does this affect the end user?

      Higher CPU usage, lower throughput.

            Assignee:
            Iris Ho
            Reporter:
            Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None