[Perf] RunCommand is 14 percent slower after base connection changes

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Unknown
    • 4.15.1
    • Affects Version/s: None
    • Component/s: Performance
    • None
    • 🔵 Done
    • Python Drivers
    • Not Needed
    • 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?
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      In PYTHON-5215 we refactored the connection layer to accommodate the new KMS protocol. In doing so, we unintentionally caused a 14 percent regression in the RunCommand8Threads perf test.

      https://spruce.mongodb.com/task/mongo_python_driver_performance_benchmarks_perf_8.0_standalone_7580309e993fdda26dc4ea38ccfd0178e78c99e7_25_09_08_21_01_12/trend-charts

      Definition of done

      Investigate and mitigate the performance loss.

      Pitfalls

      We may have to revert the change from PYTHON-5215 if the loss is unrecoverable.

            Assignee:
            Steve Silvester
            Reporter:
            Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: