-
Notifications
You must be signed in to change notification settings - Fork 5.5k
[Bug]: Clicking the Accounts list has a serious delay in response. #23913
Copy link
Copy link
Closed
Labels
Sev2-normalNormal severity; minor loss of service or inconvenience.Normal severity; minor loss of service or inconvenience.external-contributorregression-prod-11.13.1Regression bug that was found in production in release 11.13.1Regression bug that was found in production in release 11.13.1release-11.16.0Issue or pull request that will be included in release 11.16.0Issue or pull request that will be included in release 11.16.0team-core-extension-uxCore Extension UX teamCore Extension UX teamtype-bugSomething isn't workingSomething isn't working
Description
Describe the bug
When I click Accounts at the top, it takes a long time for the Accounts List to appear. I have 28 accounts, which is not too many.
I used Chrome's performance analysis and found the following problems:
Expected behavior
No response
Screenshots/Recordings
Steps to reproduce
- Own some Accounts and add some Networks
- Click Metamask and the home page will appear.
- Click the Accounts toggle button at the top
Error messages or log output
Based on the performance analysis above, I guess the problem lies in the getAddressConnectedSubjectMap function which is very time consuming and can be analyzed using this function as the entry point.
After tracing it, I found that the root cause seemed to be the unstable_runWithPriority function.
But I am not familiar with the Metamask code, and further debugging is difficult. I hope to get your help.
Thanks
Version
11.13.1
Build type
None
Browser
Chrome
Operating system
MacOS
Hardware wallet
No response
Additional context
No response
Severity
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Sev2-normalNormal severity; minor loss of service or inconvenience.Normal severity; minor loss of service or inconvenience.external-contributorregression-prod-11.13.1Regression bug that was found in production in release 11.13.1Regression bug that was found in production in release 11.13.1release-11.16.0Issue or pull request that will be included in release 11.16.0Issue or pull request that will be included in release 11.16.0team-core-extension-uxCore Extension UX teamCore Extension UX teamtype-bugSomething isn't workingSomething isn't working
