Add-ons consume CPU when disabled

Support and discussions for the Apple Mac OSX builds of Pale Moon

Moderator: satrow

Forum rules
Important note:
The Mac OSX version of Pale Moon is still very much in development. Your assistance in bringing this build to fruition is greatly appreciated, but you can expect there to be bugs and problems for a while yet!

Any specific bugs you find that don't have their own topic yet: please make a new topic; one bug per topic please to keep things organized.

Please also note that these builds are currently created by Sugis and Moonchild will likely not be able to provide insight or assistance due to lack of Mac hardware and OS/build knowledge for Mac.
PhilipLewis
Hobby Astronomer
Hobby Astronomer
Posts: 15
Joined: Mon, 07 Sep 2015, 20:18
Location: Copenhagen

Add-ons consume CPU when disabled

Unread postby PhilipLewis » Tue, 16 Jan 2018, 00:56

Model Identifier: MacBookAir7,1
Processor Name: Intel Core i7
Processor Speed: 2,2 GHz
System Version: macOS 10.13.2 (17C205)
Pale Moon: Version: 27.6.2 (64-bit)

I had a bit of time, so I started to investigate what is chewing my CPU.
I have added quite a few that I carried over from my Windows days. I have used PM compatible/forked versions where possible.

What I have discovered is that

a) If I disable ALL the addons and restart the browser, between 13-21% of the CPU is constantly being used.
b) If I restart the browser in safe mode with add-ons disabled, essentially 0% of CPU is used.

I was wondering

a) is this is expected or in any way reasonable? and
b) is this is specific to the OSX version?

It seems like the very existence of add-ons is enough to chomp large chunks of CPU

I guess others might test their versions and developers can have their say.
Attachments
Screen Shot 2018-01-16 at 01.36.25.png

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 22618
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Add-ons consume CPU when disabled

Unread postby Moonchild » Tue, 16 Jan 2018, 08:47

Please be aware that Safe Mode does more than just disabling add-ons (also the reason why it was re-labeled in 27.7).
If you see constant high CPU in normal operation mode, it may e.g. be a problem with video acceleration not working well (try disabling "Use hardware acceleration when available" in Preferences -> Advanced)
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

PhilipLewis
Hobby Astronomer
Hobby Astronomer
Posts: 15
Joined: Mon, 07 Sep 2015, 20:18
Location: Copenhagen

Re: Add-ons consume CPU when disabled

Unread postby PhilipLewis » Tue, 16 Jan 2018, 15:37

Already disabled.

Any other ideas?

I could delete everything and start from scratch I suppose, layering changes and see where it breaks, but that is a rather large pain in the butt.

User avatar
adesh
Astronaut
Astronaut
Posts: 576
Joined: Tue, 06 Jun 2017, 07:38

Re: Add-ons consume CPU when disabled

Unread postby adesh » Tue, 16 Jan 2018, 16:08

It might be because of your custom changes to browser preferences - safe mode resets preferences to default values. If you could paste a lit of modified preferences (in "hide" tags), someone might be able to see if there is a problem with those.This information can be found by using menu and navigating to Help -> Troubleshooting Information.

Goodydino
Lunatic
Lunatic
Posts: 393
Joined: Tue, 10 Oct 2017, 21:20

Re: Add-ons consume CPU when disabled

Unread postby Goodydino » Tue, 16 Jan 2018, 20:24

Safe Mode does not change preferences. This page explains:
http://kb.mozillazine.org/Safe_mode

User avatar
adesh
Astronaut
Astronaut
Posts: 576
Joined: Tue, 06 Jun 2017, 07:38

Re: Add-ons consume CPU when disabled

Unread postby adesh » Wed, 17 Jan 2018, 16:58

Off-topic:
Ah, yes. I don't know what I was thinking when I posted that. Overworked, I guess!

PhilipLewis
Hobby Astronomer
Hobby Astronomer
Posts: 15
Joined: Mon, 07 Sep 2015, 20:18
Location: Copenhagen

Re: Add-ons consume CPU when disabled

Unread postby PhilipLewis » Fri, 23 Nov 2018, 03:30

PhilipLewis wrote:Model Identifier: MacBookAir7,1

I had a bit of time, so I started to investigate what is chewing my CPU.
I have added quite a few that I carried over from my Windows days. I have used PM compatible/forked versions where possible.

What I have discovered is that

a) If I disable ALL the addons and restart the browser, between 13-21% of the CPU is constantly being used.
b) If I restart the browser in safe mode with add-ons disabled, essentially 0% of CPU is used.

I was wondering

a) is this is expected or in any way reasonable? and
b) is this is specific to the OSX version?

It seems like the very existence of add-ons is enough to chomp large chunks of CPU

I guess others might test their versions and developers can have their say.


I thought I'd reactivate this thread ... I upgraded my old MacBook Air 3,1 to Mojave (courtesy of http://dosdude1.com/mojave/)

Processor Name: Intel Core 2 Duo
Processor Speed: 1.4GHz
System Version: macOS 10.14.1 (18B75)
Pale Moon: Version: 28.2.0a1 (64-bit)

NewMoon still exhibits the behaviour of constant CPU usage with no pages open.

Screenshot 2018-11-23 at 10.12.27.png


Screenshot 2018-11-23 at 10.17.45.png


If I minimise NewMoon (orange button), it seems to settle down after a minute or two and NewMoon disappears from the activity list.

Screenshot 2018-11-23 at 10.28.38.png


As was the case previously, starting in safe mode with add-ons disabled causes the behaviour to disappear entirely.

Applications spinning constantly is death for a laptop :(

cheers

User avatar
therube
Astronaut
Astronaut
Posts: 738
Joined: Fri, 08 Jun 2018, 17:02

Re: Add-ons consume CPU when disabled

Unread postby therube » Fri, 23 Nov 2018, 16:46

with no pages open

Just what "page" does PM open up to?

PhilipLewis
Hobby Astronomer
Hobby Astronomer
Posts: 15
Joined: Mon, 07 Sep 2015, 20:18
Location: Copenhagen

Re: Add-ons consume CPU when disabled

Unread postby PhilipLewis » Sat, 24 Nov 2018, 01:17

therube wrote:
with no pages open

Just what "page" does PM open up to?


Screenshot 2018-11-24 at 08.13.45.png


Blank

The default at installation, http://start.palemoon.org/ is itself a CPU hog, which I noted at one point many moons ago


Return to “Pale Moon for Mac OSX”

Who is online

Users browsing this forum: No registered users and 2 guests