-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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 load + freezes on money.yandex.ru #3645
Comments
I ask developer of ruadlist about it and he says that he can't fix it in filter list because it's uBlock issue, uBlock is trying to apply rules to shadow-root.:
|
Is there a way to reproduce without having to create an account? |
Yes you can check it on https://money.yandex.ru/catalogue w/o account. |
I can't reproduce anything like you said at that URL. I have selected most filter lists in your picture which have cosmetic filters in them. I also can't make sense of "apply the rules in respect of shadow-root", uBO makes no use of shadow root. |
You must scrolling up and down fast, and at the same time see at CPU load. And even w/o scrolling fast - scrolling become "laggy". |
I see 53 custom filters on your side. Unselect your filter list and see if this makes a difference. |
I'm already do it and problem only in RUS: RU AdList, but developer of this list said that what i write above. |
Ok I profiled using the browser tools, and I do see a performance drop with cosmetic filtering. The curious thing is that uBO is not doing anything with regard to that performance drop. The hot spot is spent in the page's own code. I suspect the added CSS rules are causing the page's own code ( |
Alright, dismiss what RU AdList dev told you: there is also a similar performance drop when using ABP with RU AdList. I will still try to figure which specific styles if any are causing this. |
Here is what I have so far: the issue is with one of the generic cosmetic filter in RU AdList. If you disable generic cosmetic filtering OR disable RU AdList, the performance drop disappears:
Again, ABP suffers the same issue, I don't know why he told you differently: the problem is that some generic styles from RU AdList injected on the page by either uBO or ABP are causing js code run by the page itself to become expensive. |
Yep, with |
Tested ABP now, and I have problems too. But in "developer tools" in ABP tab nothing is blocked by RuAdList, but at the same time disabling RuAdList is solves problem (or adding @@||yandex.ru^$generichide). Idk why is that happening. |
Those two filters in RU AdList are causing the issue:
Disable them with:
These filters are bad because they mean that all descendants of
So issue is with RU AdList. |
Please report to them, if they do not want to remove them I will add the exception filters to uBO -- they are bad filters which should not be suffered by users of uBO. |
Yes, the filters are still injected unconditionally because they are generic cosmetic filters. As soon as these CSS rules are present -- even if there is no match in the DOM, they cause the performance drop. |
These filters were added for a reason: https://hg.adblockplus.org/ruadlist/rev/388682973a18#l1.12 |
The filter |
If this were so, I would not add it. |
I cannot reproduce what you have in your screenshot after I add
|
uBlock Origin 1.15.18 |
For me issue is fixed by:
Too. UPD.: And now all is fine. |
Perhaps the changes have not yet entered into force. Try to update again. |
Describe the issue
When I enter in my account on money.yandex.ru and start scrolling I got 100% CPU load + freezes
One or more specific URLs where the issue occurs
https://money.yandex.ru/actions
https://money.yandex.ru/catalogue
Screenshot in which the issue can be seen
Steps for anyone to reproduce the issue
Your settings
Your filter lists
With uBlock disabled all is fine. I also tested it with only one uBlock extension enabled.
After enabling "ignore general cosmetic filters" CPU load is down to 30-50% when scrolling.
Here is screenshot of blocked requests from uBo-logger:
The text was updated successfully, but these errors were encountered: