[Spike] Reduce performance test Python environment noise

XMLWordPrintableJSON

    • Python Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      Our current performance tests experience significant variance due to inherent Python constraints such as garbage collection, event scheduling, and other environmental factors. We should explore options for reducing this variance. Some ideas:

      1. Explicit garbage collection after each test iteration or benchmark
      2. Running every N (maybe 10?) test iterations in a separate Python process
      3. More explicit warm-up iterations before measurement of each benchmark

      Definition of done

      A one-week timeboxed spike to investigate these and similar improvements to our performance testing suite. Success will be indicated by a significant decrease in performance variability.

      Pitfalls

      Manual garbage collection and process management in Python can be complex and have unintended consequences.

            Assignee:
            Unassigned
            Reporter:
            Noah Stapp
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: