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
Metamask extension causing startup delay/slow on Firefox #13163
Comments
Thanks for the report! Could you share more information about the computer you're experiencing this problem on? In particular, which processor are you using, and how much RAM do you have installed? Also, when did you notice this slowdown started? There was a change introduced in v10.7.0 that we expected to slow down startup, but we did not anticipate that it would freeze the entire browser. Could you try v10.7.0 and v10.6.4 to see whether that's when the problem started? You can check this by disabling your current MetaMask installation, downloading the release .zip from the GitHub Releases page for this repository, and taking these steps to install it. For each version you'd want to get it into roughly the same state (i.e. import your accounts), then try restarting the browser to see if the same startup delay occurs. Once you're finished testing an older version, I'd strongly recommend deleting it and going back to the official MetaMask installation so that you continue to receive security updates. If you don't have time to test older versions, that's OK. It can be time consuming. But it would help with the investigation, so any help you can offer would be appreciated. One more thing that might help is sending our support team your state logs. Those will include more information and could help us reproduce this problem. You can contact support here: https://metamask.zendesk.com/hc/en-us/requests/new |
Intel core i5-7300HQ with 16GB RAM. I think this happened 1-2 weeks ago, I don't remember the exact time or which version. |
Since in Firefox all extensions execute in the same process, the performance issue here is causing perceived performance issue in other extensions, see https://www.reddit.com/r/uBlockOrigin/comments/ryiqst/slow_load_after_firefox_startup/. I launched Firefox profiler then I enabled the Metamask extension, and this is the result: https://share.firefox.dev/3JPSYZV. The expensive code appears to unconditionally execute when the Metamask JS resource ( |
I decided to look into this problem today and also found that MetaMask was causing a 5s+ startup delay in Firefox. |
Same behavior here, but I'm on Linux Mint 20.3 Una
The ~5 seconds delay is evident also upon re-enabling the MetaMask switch from |
noticed same issue here, 5+ second delay loading any site when metamask enabled and another extension that parses pages (e.g. tampermonkey). Metamask without any parsing extensions is fine, Parsing extensions without Metamask is also fine. Windows 10 20H2, AMD Phenom II 945 |
Same behavior here on Windows 10, +/- 5 seconds delay whenever I open Firefox or enable the MetaMask add-on in the settings (after having disabled it to test if it was the issue) Windows 10 version 20H2, OS Build 19042.1620 |
I noticed the issue several month ago, but found the root cause today. Metamask addon enabled on Firefox browser slows down first page loading.
There is no delay when I disable metamask addon. Metamask 10.12.4 |
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
There's a startup delay in Firefox (+- 5 seconds in my device). During this time, all the extensions cannot be used and even when I try to open/browse website, it won't load until this 'startup delay' is finished. After enabling & disabling each extension, I've found that current Metamask extension is causing this.
Steps to reproduce (REQUIRED)
Steps to reproduce the behavior, libraries used with version number, and/or any setup information to easily reproduce:
Expected behavior
There's no delay after startup, Firefox & it's extension should be quickly available in startup.
Browser details (please complete the following information):
The text was updated successfully, but these errors were encountered: