MetaMask / MetaMask/metamask-extension

unlocking is very slow >25 seconds

Open
#13,243 0 comments 2 reactions 0 assignees View on GitHub
area-performance
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

I have 48 HD accounts and 5 imported accounts.
It takes ages to unlock my metamask.

I profiled unlocking and there is a screenshot how it looks like

![image](https://user-images.githubusercontent.com/11136265/148533817-8db5efd3-24a8-446b-91db-cf03076095c8.png)

each account calls publicKeyCreate which execution takes ~250 ms on my machine (very powerful machine)

Contributor guide

Open the contributing guide

Research direction

Start with the MetaMask unlocking flow and trace the repeated publicKeyCreate calls described in the report. Reproduce with 48 HD accounts and 5 imported accounts, profile the unlock operation, and verify that account unlocking no longer takes over 25 seconds.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.