ExportXMLWordPrintableJSON

    • None
    • 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

      PYTHON-6084 changed how CI selects the Python interpreter, but the selection doesn't carry over to the test step: perf tasks run on the toolchain Python instead of the uv-managed build. This caused a ~15–30% regression on CPU-bound benchmarks (BSON/JSON, see perf run), because we did not choose uv's optimized python binaries. Driver code did not change.

      Definition of done

      # Interpreter selection persists to all steps that invoke uv (e.g. by re-sourcing setup-uv-python.sh in run-tests.sh).

      # A perf run confirms the intended interpreter, and the perf dashboard is rebaselined so the delta isn't triaged as a driver regression.

      Pitfalls

      * Pinning UV_PYTHON in perf task vars won't restore old numbers — uv reuses the existing venv and the setup script prefers the toolchain interpreter. Restoring the managed build needs an explicit choice.

      * Don't break steps that intentionally use a fallback interpreter (see install-dependencies.sh).

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

              Created:
              Updated:
              Resolved: