Using react-native-performance as a performance measurement tool, which will be implemented here - https://github.com/MetaMask/metamask-mobile/issues/10521, we want to utilize E2E world for measuring cold app start + JS bundle load time.
Scenario
No response
Design
No response
Technical Details
Add E2E test that measures app start time + JS bundle load time
Add JSON file with baseline performance measurements. The baseline numbers can be set from the app's current performance numbers without any changes
E2E test should check the performance numbers against the numbers in the JSON file
If the new performance numbers is higher than the threshold, fail the test and vice versa
Threat Modeling Framework
No response
Acceptance Criteria
E2E test should include performance test, work with QA to identify where these tests should live in the E2E workflows
If the new performance numbers is higher than the threshold, fail the test and vice versa
Stakeholder review needed before the work gets merged
[ ] Engineering (needed in most cases)
[ ] Design
[ ] Product
[ ] QA (automation tests are required to pass before merging PRs but not all changes are covered by automation tests - please review if QA is needed beyond automation tests)
What is this about?
Using
react-native-performance
as a performance measurement tool, which will be implemented here - https://github.com/MetaMask/metamask-mobile/issues/10521, we want to utilize E2E world for measuring cold app start + JS bundle load time.Scenario
No response
Design
No response
Technical Details
Threat Modeling Framework
No response
Acceptance Criteria
Stakeholder review needed before the work gets merged
References
No response