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

Run Go driver microbenchmarks and post comparison in PR comment

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Context

      We've had issues with changes creating unintended performance regressions, either in CPU time or memory usage or both. We have benchmarks that can detect performance regressions in many of the cases, but we don't run them regularly or automatically. We should create something similar to the "API Change Report" that runs some or all of the Go driver microbenchmarks and posts a comment with the before/after diff of the PR.

      Definition of done

      • Create an automation that runs some or all of the Go driver microbenchmarks before and after the PR change, then uses benchstat to compare the results, and posts the results as a comment on the PR.

      Pitfalls

      • Could make the PR build take longer, depending on how many benchmarks we decide to run.

            Assignee:
            Unassigned Unassigned
            Reporter:
            matt.dale@mongodb.com Matt Dale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: