Performance issues after Noscript update

Ask for help about NoScript, no registration needed to post
Grux

Performance issues after Noscript update

Post by Grux » Sat Nov 02, 2019 1:42 am

Hello, I noticed after Noscript updated today that Firefox is jumping between 25-40% CPU usage constantly. Another windows 7 user mentioned the same sort of thing in the thread about Youtube (viewtopic.php?f=7&t=25776).

I've noticed that if I disable Noscript then the CPU usage drops down to pretty much nothing, and reenabling Noscript keeps the CPU usage at that level for the rest of the session - however if I reopen the browser, it'll spike back up instantly.

I'm using Firefox 70.0.1 and the installed version of Noscript is 11.0.6 if that helps.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0

User avatar
therube
Ambassador
Posts: 7455
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Performance issues after Noscript update

Post by therube » Sat Nov 02, 2019 12:57 pm

Cannot confirm, Win7, 72.0a1, 11.0.6rc3.


(But then given that 70.0.0 was busted, given that FF is busted, there can no longer be any expectation of... expectations :sad:.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5

Guest

Re: Performance issues after Noscript update

Post by Guest » Sat Nov 02, 2019 2:54 pm

The spike in cpu usage is confirmed and that's probably what's causing the sluggishness. This is an older computer so constant high cpu use will do that over time.
Mozilla/5.0 (Windows NT 6.1; rv:72.0) Gecko/20100101 Firefox/72.0

Grux

Re: Performance issues after Noscript update

Post by Grux » Sat Nov 02, 2019 4:37 pm

Hm, it's strange. I've experimented a bit more to try to work out what could be causing issues.

Starting straight after rebooting seems to put the CPU usage at close to 0 as expected. It's only after reopening Firefox after it has been closed that the CPU usage will spike to 25-40%, so maybe it's related to whatever Firefox uses for the quick startup stuff? I have no idea really.

As I said, disabling/reenabling NoScript stops the CPU spiking for me for that session as well, no matter how long I keep the browser open after that. It seems to be tied in with starting the browser back up (with the same profile) after closing it.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0

User avatar
Giorgio Maone
Site Admin
Posts: 8732
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Performance issues after Noscript update

Post by Giorgio Maone » Sat Nov 02, 2019 7:16 pm

Grux wrote:
Sat Nov 02, 2019 4:37 pm
As I said, disabling/reenabling NoScript stops the CPU spiking for me for that session as well, no matter how long I keep the browser open after that. It seems to be tied in with starting the browser back up (with the same profile) after closing it.
These hints are very useful for narrowing the investigation, thank you.
Mozilla/5.0 (Android 9; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0

mag
Posts: 16
Joined: Thu Mar 16, 2017 10:51 am

Re: Performance issues after Noscript update

Post by mag » Sat Nov 02, 2019 10:39 pm

I came here to report the same issue.
EDIT: No, the previously mentioned workaround didn't help, it took a bit longer but it's back anyway.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:70.0) Gecko/20100101 Firefox/70.0

Guest

Re: Performance issues after Noscript update

Post by Guest » Sat Nov 02, 2019 11:43 pm

FF 70.0.1 x64, NoScript 11.0.6, Win 7 x64
Confirm to report the same issue. Spiked CPU usage randomly over all FF threads.
And even worse - huge memory leak in one of them.
Disabling NoScript gives normal CPU usage and stops memory leaking.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0

hjm

Re: Performance issues after Noscript update

Post by hjm » Sun Nov 03, 2019 7:23 am

I have the same problem here. In my case I could narrow the problem to the following situation:

The spike in processor activity appears only when I load html-files that reside in the home directory on my own computer with NoScript enabled.

When I disable NoScript and load the file, there are no processor spikes.

Other html-files that I access on the web don't cause any adverse symptoms, especially no processor spikes.

It doesn't make a difference wether I configure the html-file in NoScript as "default", "trusted", "temp. trusted" or "untrusted".

Here are two screenshots with the "top"-utility, one with Noscript disabled and the other one with NoScript enabled. The html-file is configured as "trusted" in NoScript.

The file is only a basic html-file with header and footer. It is otherwise empty. Especially there are no scripts in it.

I merged the two screenshots into one image.

https://drive.google.com/file/d/1Eqx6xV ... QDQqTZ4JQ/

OS: Linux
Firefox version: 60.0.9esr (64bit)
NoScript version: 11.0.6
Other installed addons: Adblock plus, Vimium
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

nrtc

Re: Performance issues after Noscript update

Post by nrtc » Sun Nov 03, 2019 8:05 am

I also confirm CPU problems. In my case I noticed a firefox thread consuming 100% CPU. With about:performance I narrowed it down to FoxyProxy. However, FoxyProxy consumes so much CPU only because it is writing a flood of queries to its log (this is just a snapshot, mind the timestamps):

Code: Select all

https://sync-messages.invalid	Default	 		Use proxy for all URLs	08:56:53:545
https://sync-messages.invalid	Default	 		Use proxy for all URLs	08:56:53:551
https://sync-messages.invalid	Default	 		Use proxy for all URLs	08:56:53:558
https://sync-messages.invalid	Default	 		Use proxy for all URLs	08:56:53:564
https://sync-messages.invalid	Default	 		Use proxy for all URLs	08:56:53:569
https://sync-messages.invalid	Default	 		Use proxy for all URLs	08:56:53:577
These queries originate at NoScript. Reloading NoScript helps for a bit, but the problem comes back after a while.
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Guest

Re: Performance issues after Noscript update

Post by Guest » Sun Nov 03, 2019 4:26 pm

Been running 11.0.7rc1 and so far it seems to have resolved the issues. Everything is much faster now.
Mozilla/5.0 (Windows NT 6.1; rv:68.0) Gecko/20100101 Firefox/68.0

User avatar
NPow
Posts: 1
Joined: Sun Nov 03, 2019 4:27 pm

Re: Performance issues after Noscript update

Post by NPow » Sun Nov 03, 2019 5:58 pm

I can confirm that as well. Now, after updating from 11.0.6 to 11.0.7rc1, FF 70.0.1 x64 (on Win10 x64) runs quite normally without continuous load and pivots at about 4-11% at about 1-3%.

FF also starts definitely faster and loads all my tabs much faster. I also have a lot of them in 13 groups.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0

geonjay

Re: Performance issues after Noscript update

Post by geonjay » Sun Nov 03, 2019 7:56 pm

OSX High Sierra
FF 70.0.1
NoScript 11.0.6

FF process is consuming a LOT of CPU. Narrowed it down to NoScript. Installed 11.0.7RC1 and the issue disappeared.
Also Note - mDNSResponder also had high utilization when NoScript was high. Disabled NoScript 11.0.6 - CPU utilization for FF normalized, and mDNSResponder disappeared. Re-enabled NoScript and FF CPU utilization went high AND mDNSResponder popped back up with high utilization.

Thanks for NoScript and 11.0.7rc. Good luck.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:70.0) Gecko/20100101 Firefox/70.0

User avatar
Giorgio Maone
Site Admin
Posts: 8732
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Performance issues after Noscript update

Post by Giorgio Maone » Mon Nov 04, 2019 11:35 am

11.0.7rc1 should be much better, can you confirm?
If so, I'm gonna release 11.0.7 stable ASAP, thanks.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0

cys

Re: Performance issues after Noscript update

Post by cys » Mon Nov 04, 2019 4:17 pm

Question: If i manually update to this RC1 version what will be in the future? Will my NoScript be automatically updated to next production version afterwards? Or will it be automatically to all RC versions?
I would prefer to remain on production so maybe I just wait a day or two and this 11.0.7rc1 becomes 11.0.7 prod? Any ETA?
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0

User avatar
therube
Ambassador
Posts: 7455
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Performance issues after Noscript update

Post by therube » Mon Nov 04, 2019 4:44 pm

rc will remain rc, but you can simply install the release once it's out (which will put you back on release).
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 SeaMonkey/2.49.5

Post Reply