Skip to content

App Performance Start-Up: Transaction Element Optimizations #10610

Open
@sethkfman

Description

@sethkfman

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 in TransactionNotification, TransactionElement, and TransactionDetails
    • 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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-performanceIssues relating to slowness of app, cpu usage, and/or blank screens.team-confirmationsPush issues to confirmations teamteam-tigerTiger team (for tech debt reduction + performance improvements)

    Type

    No type

    Projects

    Status

    To be fixed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions