flagCookies icon indicating copy to clipboard operation
flagCookies copied to clipboard

Slowin Down (Google) Sites

Open luziusalbin opened this issue 4 months ago • 22 comments

had to deactivate the plugin, after it was causing very heavy slowdowns in google photos and youtube. any chance to get that working soon?

luziusalbin avatar Feb 28 '24 06:02 luziusalbin

Hello @luziusalbin - there are, unfortunately, a lot of reviews/reports of slowdowns in the Chrome extension store of FlagCookies . I suppose you use Chrome as browser?

In Firefox I, at present, cannot reproduce this issue of slowdowns or high CPU usage at other websites, all seems to be okay as is, also after recent updates to the addon/extension.

Do you experience slowdowns only at this particular websites, or also at other websites? And, do these websites set/add a lot of cookies or cookie data?

I gladly would like to nail this down..

jrie avatar Feb 28 '24 20:02 jrie

Hi there!

Yes i use the newest version of chrome and it's slowing down google-services. i use google photos a lot and it's not usable anymore with this extension. loading is slowing down the whole browser until it's completely stuck. as well as youtube is loading at very low speed and the videos are alwas in minimum quality shown...

i cannot find any extreme CPU usage, it's just "blocking" something...

thank you!

luziusalbin avatar Feb 28 '24 20:02 luziusalbin

It's the same for me; Chrome is unusable with Flag Cookies and any Google Sites.

MrMxyzptlk avatar Mar 05 '24 12:03 MrMxyzptlk

Chrome was super slow, sometimes completely unresponsive for me. Especially on Google Maps. I had to deactivate Flag Cookies.

The "Utility: Network Service" was hogging CPU and Memory in the Chrome Task Manager when these slow-downs happen. I hope that helps to get it sorted quickly :)

zwometer avatar Mar 09 '24 22:03 zwometer

Same issue for me using Chrome on macOS. I mostly experienced the slowdown with Gmail and Google Calendar. Patiently waiting for a fix! 🥲

cheehieu avatar Mar 11 '24 18:03 cheehieu

I currently do not have much available to spend time working on a possible solution because of personal matters. But I appreciate your feedback in this matter. Because there seem to be a quite amount of people affected by this.

If you have some spare time, please take an eye on in case this behavior occurs at other websites too - which are not related to Google. For example pages with lots of cookie information which might change frequently. Which I presume make the largest noises in regards of "cookie data changes" and might produce some heavier loading times.

Anyhow, thank you all for your insights! :)

jrie avatar Mar 12 '24 15:03 jrie

A commit 81e3fd1a2e4e15de082e65de782bf31e3ce3f5c7 , which might improve the situation is added. I could not exactly clarify if this was the culprit - but this fixes some error(s) thrown in Chrome.

Can someone of you guys retest with the current Github version of the addon? If you need some assistance on how to test, please let me know. Bare in mind, the manifest file manifest_v3_chrome_browsers.json has to be renamed to manifest.json (rename or delete the existing manifest.json file which is created for Firefox).

jrie avatar Mar 20 '24 06:03 jrie

@jrie I tested the latest version from master in my Chrome and unfortunately it still tanked the browser speed (notably Maps and YouTube) as much as before until I disabled it.

ColinFarL avatar Mar 24 '24 17:03 ColinFarL

I use Brave Browser (Chromium-based). For me it's slowing down Outlook, making it unusable; and also a few other sites, like Shopee, AliExpress and others I can't record at the moment.

KonoVitoDa avatar Apr 01 '24 23:04 KonoVitoDa

I wondered why my Brave browser had been acting up over the last couple of months and had just found out it was because of this extension. Curious its not happening on Firefox, wonder if it has something to do with Google's DRM war

tom12011 avatar Apr 03 '24 04:04 tom12011

I can confirm the slowdowns and they're not only happening on MS/Google websites but on any so the title of this ticket may be changed. OS: Win 10 Chrome: Version 123.0.6312.86 (Offizieller Build) (64-Bit)

Here, it was slowing down Chrome to a point where it was nearly unusable.

farOverNinethousand avatar Apr 03 '24 12:04 farOverNinethousand

I am not happy about this issue, and I tried to figure out on how to troubleshoot this in (Googles) or other Chrome based browsers and I did not come far trying to debug this at present.

One main issue in my case, I am using a slower mobile connection because of (temporary) provider reasons. And for me, the pages open basically "equally" quick or slow and I do not see a difference if the addon is active or not. Also I do not see harsh CPU usages, what also was reported in some case, so it is kinda hard to reproduce.

One more question: Does this performance impact also occur if only a very few tabs are open/active, or even if only one tab is opened?

jrie avatar Apr 03 '24 15:04 jrie

I checked once more using Opera - on Google Maps there is indeed a very heavy load and the page is rendered slowly. But I do not see how the addon is interfering.

jrie avatar Apr 03 '24 18:04 jrie

I just uninstalled FlagCookies and tried to reproduce this issue which I was able to do:

  1. I had about 10 tabs open.
  2. With outlook.live.com (logged-in), I was able to perfectly reproduce the problem. I loaded the page first, then re-installed FlagCookies and the problem happened immediately. Without FlagCookies the website still looks to be a heavy one but it loads quite fast and there is no "lag.

With FlagCookies: Website is nearly unresponsive, loading icon never disappears, tab itself nearly frozen. Uninstall FlagCookies and the issue will go away immediately in the still open tab. I can't reproduce it with the Microsoft website when I'm not logged in so if you got a test Microsoft account it's worth trying otherwise I'd be open to send you one.

farOverNinethousand avatar Apr 03 '24 19:04 farOverNinethousand

One more question: Does this performance impact also occur if only a very few tabs are open/active, or even if only one tab is opened?

Yes, it does. Opening Outlook as the only one tab still shows the same behavior.

KonoVitoDa avatar Apr 06 '24 17:04 KonoVitoDa

Some changes have been done. One big routine is not triggering anymore on "loading" state and is commented out. This might possible reduce a lot of overhead. Can anyone test and confirm?

There were also other changes, but this was not really related to the loading of a tab or other resources. More guards and other fixes related to the UI, UI update and others.

jrie avatar Apr 09 '24 17:04 jrie

I just tried it (v3.6.0) but the slowdown on Outlook still persists.

KonoVitoDa avatar Apr 09 '24 17:04 KonoVitoDa

@KonoVitoDa : I guess you did so, but did you use the version of the repository by loading as temporary extensions (with the correct manifest.json) and disabling the browser installed version when testing?

jrie avatar Apr 09 '24 18:04 jrie

@KonoVitoDa : I guess you did so, but did you use the version of the repository by loading as temporary extensions (with the correct manifest.json) and disabling the browser installed version when testing?

I didn't. I don't know how to install it this way. :(

KonoVitoDa avatar Apr 10 '24 03:04 KonoVitoDa

Oh, my bad, I just found how to do it: I downloaded the repository and loaded the folder `through the Extensions Manager (Load unpacked). The slowdown on Outlook and Shopee seems to be gone on my quick test.

KonoVitoDa avatar Apr 10 '24 03:04 KonoVitoDa

@KonoVitoDa - that is good to know. Did you ensure you use the correct manifest file? The default when downloaded is used for Firefox and the browser might show an error when loading the addon.

In Brave you have to use manifest_v3_chrome_browsers.json, delete (or rename) the existing manifest.json and rename the manifest_v3_chrome_browsers.json to manifest.json - and load the extension once more.

jrie avatar Apr 10 '24 05:04 jrie

Oh, sorry, I had just used the default manifest.json. Doing it the right way the bug appears to be back. Sorry for giving you false hopes. :(

KonoVitoDa avatar Apr 10 '24 05:04 KonoVitoDa