News for hackers. Stuff that matters.
Re:How the most popular Chrome extensions affect browser per... by the_duke on Tuesday June 16, 2020 @07:21AM (#23537829)
This is a worthy research topic.

On mobile, with slower networks and much worse CPUs, uBlock often completely changes the experience. (thanks Mozilla!)

I would note though that only example.com was examined (and apple.com in one test).

I also did not see information if tests were repeated, as no variance/stddev is given. I'd expect it to be pretty high.

Re:How the most popular Chrome extensions affect browser per... by mostlystatic on Tuesday June 16, 2020 @07:49AM (#23538025)
I ran the tests 7 times and then took the median. I'll look into quantifying variance more, but for now here's a boxplot for total on-page CPU time. https://gist.github.com/mattzeunert/de3c8aedd2936a34eeb88b62...

I ran tests on example.com, apple.com, and a WCPO news article (for the ad blocker tests).

The biggest performance issue is that extensions just dump large scripts into pages indiscriminately. Most of the time extensions don't do anything differently based on the content of the page.

I also tested a WCPO news article to see the impact of ad blockers. I picked a local news website specifically because they contain a lot of ads. If a page doesn't have any ads the performance impact of an ad blocker will be slightly negative.

What my tests don't pick up is extensions that only run a certain domains. For example, if you run Honey on a shop they support I expect the CPU consumption to increase a lot more.

I wrote a similar article last year, which tests a few other pages as well: https://www.debugbear.com/blog/measuring-the-performance-imp...

Re:How the most popular Chrome extensions affect browser per... by the_duke on Tuesday June 16, 2020 @08:15AM (#23538197)
Thanks for the info (and the research in general).

The boxplot looks encouraging (as in, the variance doesn't seem too relevant for drawing conclusions)

I hope to use this as another source whenever marketing wants to add yet another tracker.

Re:How the most popular Chrome extensions affect browser per... by darkport on Tuesday June 16, 2020 @08:15AM (#23538198)
How are you installing Firefox extensions in mobile? Is it Android only?
Re:How the most popular Chrome extensions affect browser per... by panpanna on Tuesday June 16, 2020 @08:22AM (#23538264)
Firefox for Android is (at least for my usage) pretty much desktop Firefox with a touch-friendly UI.

Firefox for iOS is not really Firefox.

Re:How the most popular Chrome extensions affect browser per... by WrtCdEvrydy on Tuesday June 16, 2020 @11:47AM (#23540547)
All webbrowsers on iOS are basically safari reskinned.
Re:How the most popular Chrome extensions affect browser per... by fluential on Wednesday June 17, 2020 @01:14AM (#23548064)
Worth a read “Explanation of the state of uBlock Origin (and other blockers) for Safari” — https://github.com/el1t/uBlock-Safari/issues/158
Re:How the most popular Chrome extensions affect browser per... by the_duke on Tuesday June 16, 2020 @08:18AM (#23538232)
Correct. Firefox Mobile supports extensions, but only on Android.

Some Chromium based Android browsers do as well.

Re:How the most popular Chrome extensions affect browser per... by PetahNZ on Tuesday June 16, 2020 @08:19AM (#23538235)
I use Kiwi Browser on Android, which is Chrome based, and supports extensions.