Skip to content
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

High cpu occupation under firefox 57 and mac os X #1535

Closed
yingfeng opened this issue Nov 15, 2017 · 6 comments
Closed

High cpu occupation under firefox 57 and mac os X #1535

yingfeng opened this issue Nov 15, 2017 · 6 comments

Comments

@yingfeng
Copy link

Short description

In my macbook pro, the tree style tab under firefox 57 will trigger a higher cpu usage constantly even if all tabs have been closed.

Reproduction

There's only one addon installed(tree style tab). I frequently opened a series of web page tabs randomly. Then CPU will grow up to 100%. After I stopped opening new tabs, the CPU will decrease, but still maintain around 35%. Even if I closed all tabs with a single blank tab left, the CPU of firefox keeps that high constantly except that I disable tree style tab, then the CPU will be reduced to near zero, while after I re-enable the tree style tab, everything is fine. As a result, whenever I've met the CPU occupation issue of firefox 57, I have to disable and re-enable the tree style tab addon manually.

Environment

  • Platform (OS): Mac OS X 10.12.6
  • Version of Firefox: 57
  • Version (or revision) of Tree Style Tab: 2.2.3
@yingfeng yingfeng changed the title High cpu occupation under firefox 57 and max os X High cpu occupation under firefox 57 and mac os X Nov 15, 2017
@Omen-of-Peace
Copy link

While perhaps not as bad as what you describe, I've also noticed increased CPU usage when using TST vs not using it.

MacOS 10.13.1
Firefox 57 betas
TST 2.2.3 to 2.2.8

I'm now on Firefox 58 and it seems slightly better (CPU usage decreases faster once the tabs are open).

@piroor
Copy link
Owner

piroor commented Nov 17, 2017

@Lej77
Copy link
Contributor

Lej77 commented Nov 18, 2017

I have noticed that sometimes firefox will have about 30% CPU usage while not doing anything. Closing the Tree Style Tab sidebar and reopening it fixes it for me though.

@Lej77
Copy link
Contributor

Lej77 commented Nov 19, 2017

I think I know what causes this now. I was testing infinite loading tabs for Issue 1384 and I found that closing a tab before it has finished loading causes the sidebar to bug and use about 30% CPU until it is restarted (closed and reopened).

Steps to reproduce

  1. Start Firefox with clean profile.
  2. Install TST.
  3. Open some new tabs (performance issue is worsened by more tabs) (I did about 80).
  4. Wait for them to load.
    4alt. Go into settings and change firefox to start with last session's tabs. Then restart firefox.
  5. Open a web page (so that tab loading animation starts) and close it immediately (before loading animation completes). Keyboard shortcut: ctrl+w is useful to quickly close the tab.
  6. Observe higher than normal CPU usage. The more open tabs the higher.
  7. Close and reopen TST sidebar.
  8. Obeserve normal CPU usage.

Environment

  • Platform (OS): Windows 10
  • Version of Firefox: 57
  • Version (or revision) of Tree Style Tab: 2.2.11

@yingfeng
Copy link
Author

yingfeng commented Dec 1, 2017

This issue disappeared with treestyletab 2.30.0 and firefox 57.01

@yingfeng yingfeng closed this as completed Dec 1, 2017
@aurelg
Copy link

aurelg commented Dec 26, 2017

It's still a problem here w/ Tree Style Tab 2.4.3 and Firefox Quantum Developer Edition 58.0b12 (64-bits) on Archlinux. When Tree Style Tab is hidden, the load is normal (i.e. a few CPU %). When Tree Style Tab is shown, the load raises to ~30% CPU (Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants