-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Performance - Notifications - Enabling Notifications takes a significant amount of time (>6 seconds) and disabling it also few seconds (2-3s) #25754
Comments
TY. Jira Ticket created here. Our team will investigate. |
This is a challenging one. Will investigate. Initial thoughts are that this is either our encryption key creation process, or API requests we are making. |
Some performance improvements are found in some PRs (cherry-picked into v12.0.0): However there does still seem to be a slowness in enabling/disabling notifications. Investigations point to the number of API calls required to setup notifications. Discussing with our team to see how we can alleviate these issues. |
OK so we've improved perfomance such that the actions above don't take any longer than 3 seconds. Other tickets have been created to further improve performance: I'll remove the |
This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions. |
This issue was closed because there has been no follow up activity in the last 45 days. If you feel this was closed in error, please reopen and provide evidence on the latest release of the extension. Thank you for your contributions. |
Describe the bug
Enabling Notifications takes a significant amount of time (>6 seconds) and disabling it also few seconds (2-3s). In both cases it takes long:
Expected behavior
This issue can be investigated under the improve performance goal, together with other slow flows that have already been identified
Screenshots/Recordings
perf-notifications-2.mp4
Steps to reproduce
Error messages or log output
No response
Version
12.0.0
Build type
None
Browser
Chrome
Operating system
Linux
Hardware wallet
No response
Additional context
No response
Severity
No response
The text was updated successfully, but these errors were encountered: