[COMPASS-4682] Create a benchmark/test for how long it takes compass to launch and connect Created: 09/Mar/21  Updated: 10/Jan/24  Resolved: 22/Mar/22

Status: Closed
Project: Compass
Component/s: Testing
Affects Version/s: None
Fix Version/s: No version

Type: Task Priority: Major - P3
Reporter: Rhys Howell Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Documentation Changes: Not Needed

 Description   

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.



 Comments   
Comment by Rhys Howell [ 22/Mar/22 ]

This was done in part of the E2E test epic following the time to first query epic.

Generated at Wed Feb 07 22:37:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.