panorama-tab-groups icon indicating copy to clipboard operation
panorama-tab-groups copied to clipboard

High CPU usage

Open physkets opened this issue 5 years ago • 6 comments

I've been using this add-on for a while now, and every once in a while (~once a week?), my laptop's begins guzzling CPU for no reason, and it has always been Firefox, and when I look at about:performance, it is always PanoramaTabGroups.

Is there some way I can help identify why this is happening?

physkets avatar Feb 05 '19 15:02 physkets

Hi, thank you for reporting the issue. Could you share with us some more details about your setup?

  • Operation System
  • Firefox Version
  • PTG Version
  • Amount of tabs and tab-groups
  • some more details about the CPU usage
  • Anything which might be related to the CPU peek, like usage behaviour of PTG (f.e. a lot of switching between groups).

vaxul avatar Feb 05 '19 18:02 vaxul

Sorry it's been a pretty hectic time around here (my house is getting a dog :O) so I can't help immediately. I would say that unless you have an idea where it would be, it'll be pretty hard to track it down (and I wouldn't be sure where to start looking considering there aren't really intensive background processes that I know of that run as infrequently as once a weekish).

However, something that I've been meaning to do that might help with this, is to have PTG log important actions and errors somewhere. Research needs to be done on where logs can be stored and what qualifies as spammy or not (we don't want to fill up any cache space with logs such as "opened view" if it's a permanent log)

Logs such as that can help us figure out what process is starting when you notice the spike.

projectdelphai avatar Feb 05 '19 23:02 projectdelphai

@vaxul These are the details:

  • Linux (Archlinux)
  • Firefox v65.0 (release)
  • PTG v0.8.7
  • 112 Tabs in 5 Groups
  • One core of the CPU is 100% occupied continuously, and I notice only when the laptop's fan hits 3000rpm
  • I actually don't switch too much. I have one primary group, and the others act as repositories. In this particular instance, I hadn't switched tab groups at all after starting firefox.

@projectdelphai Yes! Some logging would be nice. Then I would have something to accompany this issue. You could make it a setting that is off by default, and people who want to get logs can enable it.

physkets avatar Feb 06 '19 04:02 physkets

I have a similar issue, if I open a lot of tabs at once it will eat CPU and can also sometimes reduce network requests to a crawl. If I kill FireFoxCP Webcontent everything recovers instantly but the tab group icon no longer does anything.

This started happening a few FF versions ago and is still happening for v68. :(

RobeeeJay avatar Jul 16 '19 21:07 RobeeeJay

I have the same issue, with only around 20 tabs in 2 groups, most of them discarded by the "Auto Tab Discard" extension. I actually only actually switch between groups a couple of times every month, I use it as a place to store tabs for later.

anghelos avatar Nov 11 '19 20:11 anghelos

I know this is very old issue, but it is still there.. when extension is active then CPU usage goes very high.. while without it my fans are 0%, with running extension it goes 100% in several minutes.. after disabling the extension I'm back with silent notebook.

quoing avatar Feb 06 '24 09:02 quoing