Open
Description
What is this about?
As a user, I want the MetaMask app to start up as fast as possible. During the application start-up it was identified that aspects of the TransactionElement/utils.js
is adding about 3 seconds to the app startup on Android devices.
Scenario
No response
Design
No response
Technical Details
import decodeTransaction
inTransactionNotification
,TransactionElement
, andTransactionDetails
- Commenting out the entire
TransactionElement/utils.js
resolves the slow down - @tomás Santos performed a quick test on only removing this, which seemed to reduce start up time by ~3 seconds
- Commenting out the entire
Threat Modeling Framework
No response
Acceptance Criteria
- Root cause the impact to start up time and shift the activity to after the user has logged into the application.
- Track app start time improvement
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)
- Security
- Legal
- Marketing
- Management (please specify)
- Other (please specify)
References
- https://www.notion.so/metamask-consensys/Performance-Game-Plan-83ec0133962a4b7682a64c66e65d566c?pvs=4#1eab5b670b244c4da2e27277a3472f1d
- Platform team is available for clarification or support
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
To be fixed