We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

JavaScript Performance Issues

  • 4 个回答
  • 2 人有此问题
  • 10 次查看
  • 最后回复者为 DudeMan101

more options

I am having extreme JavaScript performance issues. The one website that I routinely visit takes roughly 30s to load. During this time Firefox hangs and you can't use any other tab. The site in question loads instantly in Chrome while not affecting other tabs. The tab related issue would be do to Chrome loading tabs in separate processes, but the JavaScript issue is not tab related.

I have another site I visit often that loads and performs extremely poorly, but not as bad as 30s load time. I am running stable, not nightly. The site(s) in question are adult related, so I don't want to post the URL's without permission as I'm not sure I would be allowed to post the URL's.

This issue alone forces me to use Chrome as I can't be waiting 30s for a website to load.

Some other key notes: - While loading the site in question, Firefox uses 25% CPU (maximizing 1 core) - While loading the site in question, Firefox uses > 1.3 GB in RAM... drops to 300 MB after site has loaded - I have created a fresh profile and a fresh Firefox installation and the problem still persists

I am having extreme JavaScript performance issues. The one website that I routinely visit takes roughly 30s to load. During this time Firefox hangs and you can't use any other tab. The site in question loads instantly in Chrome while not affecting other tabs. The tab related issue would be do to Chrome loading tabs in separate processes, but the JavaScript issue is not tab related. I have another site I visit often that loads and performs extremely poorly, but not as bad as 30s load time. I am running stable, not nightly. The site(s) in question are adult related, so I don't want to post the URL's without permission as I'm not sure I would be allowed to post the URL's. This issue alone forces me to use Chrome as I can't be waiting 30s for a website to load. Some other key notes: - While loading the site in question, Firefox uses 25% CPU (maximizing 1 core) - While loading the site in question, Firefox uses > 1.3 GB in RAM... drops to 300 MB after site has loaded - I have created a fresh profile and a fresh Firefox installation and the problem still persists

所有回复 (4)

more options

A website taking a long time to load doesn't necessarily mean that you are having JS issues.

Let's get some of the basic groundwork out of the way:

If this helps, please let us know. If not, again, please let us know and we can continue to chase this down

more options

Sorry, I should have mentioned in the first post they are JavaScript heavy websites. While not necessarily meaning it's a JS issue, the odds are quite high it is.

As for the groundwork:

  • I'm currently running 32.0.3, running on the latest version of stable. I have tried a fresh install of 32.0.3 as well, completely uninstalling and removing my profile. Currently back to running my old profile.
  • No malware, I have my system protected and also have scans daily.
  • Currently using the latest drivers for my graphics card. I already had hardware acceleration and WebGL turned on in Firefox, but I tried disabling and got the same results. The page still took roughly 30s to load, so I went back and enabled both those options again.
more options

You can try these steps in case of issues with web pages:

You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.

  • Hold down the Shift key and left-click the Reload button
  • Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
  • Press "Command + Shift + R" (Mac)

Clear the cache and remove cookies only from websites that cause problems.

"Clear the Cache":

  • Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"

"Remove Cookies" from sites causing problems:

  • Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.

  • Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
  • Do NOT click the Reset button on the Safe Mode start window
more options

The cache was already cleared. I already have done a complete fresh install, which means there was nothing in the cache to begin with. Suffice to say, after doing a clear cache just now, it did not work.

Same deal with Safe Mode. The fresh install means there were no extensions, add-ons, etc. Using Safe Mode just now did not work.