Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-4682

Create a benchmark/test for how long it takes compass to launch and connect

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: Testing
    • Labels:
      None
    • Not Needed

      The base use of Compass is to start it, connect to a database, and view documents. In order to make this flow as quick as possible and to ensure we don't accidentally introduce something which significantly slow this process we can have a benchmark for the launch, connect, and initial data load times for Compass.
      This benchmark can also serve as a tool to help us diagnose how we can improve the startup speed of Compass.
      The implantation for this probably requires a bit more research, but maybe we can use spectron to drive the test. In the past we have had some tests in Compass using spectron: https://github.com/mongodb-js/compass/tree/v1.15.0/test/functional but I believe they were removed for their flakyness, fragility, and maintainability costs.

            Assignee:
            Unassigned Unassigned
            Reporter:
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: