Earlier quoted context omitted.
Thanks for the replay. Disclaimer, I worked on this study. > There's a few issues with the conclusion here. First, they article measures and discusses only the time required to block a single request. Modern web pages are issuing many, many more requests than that, like the 35 that this page issues. At median timings, that would put the DuckDuckGo blocker at almost 300ms, well within what humans can notice. That is t…
> On the other hand, the manifest v3 will not prevent extensions from being slow, or doing bad things. Extensions will still be able to use content-scripts, inject arbitrary content in pages or send any private data home. WebRequest listeners will also still be accessible (only not in blocking mode) which can allow any data collection. I can choose to not install extensions that do these things, while using ones that…
Adblockers Performance Study
31–40 of 126 posts
Re: Adblockers Performance Study
#32Earlier quoted context omitted.
On contrary, I do not want to use any website that breaks because of ads.
Yes, that's another way to look at it. But it is not necessarily true for all the users.
Btw. DNS based filtering works for non tech-savvy users like my parents who would certainly fall for malicious ads which are frequent even on Google. And guess how ransom-wares spread.
https://www.zdnet.com/article/skype-served-up-malware-throug...
Re: Adblockers Performance Study
#33Earlier quoted context omitted.
- As pointed out in the previous comment, with DNS based blocking users often have to choose between convenience and privacy. As an example: Blocking ads on Youtube with DNS blocking is very hard, unless you block youtube* itself. - It does not give you fine grained permission: Like, if you only want to allow a particular third-party on a specific site. While DNS based blocking is fast but at the same time it is also…
Youtube is an interesting example, I use it less and less because of ads but can you block ads in it with anything? The problem for me is that I have several devices that do not run JS (like TV box) and do not use a browser for watching content. For this reason it is probably the only solution to block bad content on the DNS level. I like to pay for what I get (Netflix) and I reject the entire ad based surveillance c…
With the increasing adoption of DoH it will be interesting to see how DNS based blocking happens for TV Box etc.
I have not checked but was mentioned that YouTube does not show ads while watching videos via chromecast. It will be interesting to check how that happens.
Re: Adblockers Performance Study
#34Earlier quoted context omitted.
> congrats on being faster than uBlock Origin I'd like to see a comparison against the WebAssembly build of uBlock Origin though. uBlock Origin uses WebAssembly in Firefox to speed up some functions. I'm not sure if Chrome allows add-ons to use WebAssembly yet.
Ah, that's an interesting point, did not know that it could not use WebAssembly in Chrome yet ( https://github.com/WebAssembly/content-security-policy/issue... ). Would it be interesting to measure indeed, although the amount of wasm code there seems to be minimal so far.
1. Matching the $domain option using an optimized Trie data-structure
2. Parsing domains using the public suffix list, also based on a Trie data-structure
I would love someone well-acquainted with the uBlock Origin code-base to update the benchmark so that we can compare.
Edit: All the code to create the dataset (as well as the dataset used for the study itself) and to run the benchmark and analyze the results (create the plots, etc.) is available on the repository and should be reasonably easy to run locally.
Re: Adblockers Performance Study
#35Earlier quoted context omitted.
> congrats on being faster than uBlock Origin I'd like to see a comparison against the WebAssembly build of uBlock Origin though. uBlock Origin uses WebAssembly in Firefox to speed up some functions. I'm not sure if Chrome allows add-ons to use WebAssembly yet.
Ah, that's an interesting point, did not know that it could not use WebAssembly in Chrome yet ( https://github.com/WebAssembly/content-security-policy/issue... ). Would it be interesting to measure indeed, although the amount of wasm code there seems to be minimal so far.
Re: Adblockers Performance Study
#36Earlier quoted context omitted.
Yes, that's another way to look at it. But it is not necessarily true for all the users.
I understand, I never implied that it is for all users, I was just mentioning that there are other options than JS ad filtering. Btw. DNS based filtering works for non tech-savvy users like my parents who would certainly fall for malicious ads which are frequent even on Google. And guess how ransom-wares spread. https://www.zdnet.com/article/skype-served-up-malware-throug...
Re: Adblockers Performance Study
#37Perfect way of showing that Google's performance argument is bullshit: just measure. And congrats on being faster than uBlock Origin, not an easy feat.
I want to repeat here that this _does not_ show that the performance argument is bullshit. What we can say that it shows is that existing content blockers whose functionality the community is concerned about losing are largely performant enough that performance isn't a concern for that subset of extensions.
We can in turn conclude that there may be other ways of solving the general performance concern that the existing API poses by other clever means, such as limiting execution time and disabling extensions that violate those deadlines, or UX changes that allow the user to more readily distinguish which extensions are causing performance issues.
Continuing to push the narrative that the performance concerns are bullshit and a pretext for disabling ad-blockers is hurting the cause of allowing the existing APIs to continue to exist.
Re: Adblockers Performance Study
#38Was there anything else?
Re: Adblockers Performance Study
#39Earlier quoted context omitted.
Ah, that's an interesting point, did not know that it could not use WebAssembly in Chrome yet ( https://github.com/WebAssembly/content-security-policy/issue... ). Would it be interesting to measure indeed, although the amount of wasm code there seems to be minimal so far.
As far as I know WebAssembly in uBlock Origin is currently used for two things: 1. Matching the $domain option using an optimized Trie data-structure 2. Parsing domains using the public suffix list, also based on a Trie data-structure I would love someone well-acquainted with the uBlock Origin code-base to update the benchmark so that we can compare. Edit: All the code to create the dataset (as well as the dataset us…
Re: Adblockers Performance Study
#40So, an ad for Ghostery? Was there anything else?