TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ad Blocking Extensions Tested for Performance

282 pointsby rayshanover 9 years ago

18 comments

emn13over 9 years ago
The methodology is questionable on several fronts:<p>- you can&#x27;t use the load event to compare advert-heavy vs. advert-free load times. The load event does <i>not</i> fire when the page is usable by the viewer, it fires when every last request is done, in particular even requests fired from various advert iframes. However, those requests may not impact page usability. The load event may even never fire - any offscreen 1px spacer gif that times out will cause that! I don&#x27;t think there is a built-in event for &quot;done-enough&quot;, but the load event is certainly misleading.<p>- opening the developer tools causes various side-effects; those can cause the page to load more slowly than usual. You shouldn&#x27;t benchmark with developer tools open (unless you&#x27;re explicitly targeting usage with devtools open...)<p>- comparing load times across browsers as reported by the browsers themselves <i>may</i> be valid, but it&#x27;s not obvious. You definitely want to check that carefully.<p>- Measuring &quot;peak&quot; CPU usage is almost meaningless without considering how long the CPU is used.<p>- Measuring the chrome extension process CPU usage and memory usage isn&#x27;t very helpful, because running this kind of extension causes CPU usage and memory usage in every content tab. Both of these statistics for chrome in this use-case are meaningless. You&#x27;d need to measure the memory usage and CPU-time of the entire chrome process tree to get meaningful results. Even in Firefox without e10s it&#x27;s not valid to measure just the main process CPU and memory usage because plugins are in separate processes (and things like flash or h264 decoding can definitely use CPU and memory).<p>The only thing this page really makes a decent case for is that Chrome loads pages faster than Firefox - but even there, it&#x27;s not clear we&#x27;re dealing with an apples-to-apples comparison.
评论 #10128712 未加载
评论 #10129432 未加载
评论 #10129985 未加载
评论 #10130416 未加载
评论 #10128772 未加载
评论 #10134455 未加载
rockdoeover 9 years ago
They didn&#x27;t seem to know about e10s in Firefox Nightly which would have solved their &quot;no separate process&quot; thing.<p>Measuring peak CPU is very, very stupid. The best Ad Blocker should have near 100% CPU but for an extremely short amount of time. Using 100% CPU is making the most efficient use of the hardware, not being inefficient. Now, I think due to the way they&#x27;re measuring, it&#x27;s actually closer to being average CPU because task manager samples over a period.<p>Also: &quot;Firefox didn’t like this page at all and we couldn’t get consistent readings to run tests, on every refresh the browser would simply not respond or crash.&quot;<p>Huh? I think somethings wrong there. Firefox obviously renders tmz.com. A bug in the thing they used to monitor page load times? Did they check the performance impact of it?
评论 #10128561 未加载
评论 #10129042 未加载
评论 #10128222 未加载
评论 #10130456 未加载
评论 #10128550 未加载
评论 #10132717 未加载
aidosover 9 years ago
So it looks like about 1&#x2F;4 of the time spent loading a page these days is spent on the page and the remaining 3&#x2F;4 are waiting for ad networks. There&#x27;s got to be an opportunity there.<p>I previously worked at a digital agency and one of my final projects was building the website for a large TV channel. At one point I had to have a meeting with the ad network to go through the integration.<p>The technical people involved didn&#x27;t know anything about how their products worked or the implications of integrating them. No idea if they were blocking or async.<p>At one point I was trying to understand what, if any, changes I might need to make to handle their ads that did full background take overs. &quot;No no no, it&#x27;s an <i>expanding mpu</i>&quot; - sure, fine, what does that even mean!?<p>(Don&#x27;t get me started on having to swap using js for switching images in the gallery for using individual pages because the onmiture page tracking numbers were the metric that everything was measured by for selling ad space)<p>&#x2F;rant<p>You&#x27;d think with all the smart people that have put their minds to ads on the internet, there would be lightning fast, targeted ads that actually worked by now.
评论 #10128307 未加载
评论 #10128522 未加载
评论 #10128419 未加载
Fiahilover 9 years ago
Sure it&#x27;s a nice test, and gives a keen idea of how much performance you can grab by using uBlock Origin.<p>However, what about pages _without_ ads? Am I going to experience a significant performance hit when running an adblocker on genuine websites? This is important. Because, assuming the advertising industry is going to self-destruct tomorrow morning, am I going to experience a slower web if I let my add-on activated, and thus letting an opportunity for the ads to reappear later?
评论 #10128621 未加载
mnw21camover 9 years ago
Would be interesting to have tested using a hosts file (like from <a href="http:&#x2F;&#x2F;someonewhocares.org&#x2F;hosts&#x2F;" rel="nofollow">http:&#x2F;&#x2F;someonewhocares.org&#x2F;hosts&#x2F;</a> ) instead of an ad blocker. Seems to work very well for me, and it doesn&#x27;t cause the browser to use loads of RAM.
评论 #10129573 未加载
malchowover 9 years ago
In reality, people want a page that becomes <i>usable</i> as quickly as possible. Specifically, people use hovers and scrolling to test that a given page is &#x27;ready.&#x27;<p>That is very different from a page that fires DOMContentLoaded as quickly as possible. That metric is pretty much irrelevant to real people.<p>Which is part of why ads aren&#x27;t quite as nasty as a lot of tech industry people make out.
评论 #10130628 未加载
评论 #10131458 未加载
jmnicolasover 9 years ago
I heard about µblock origin on HN and blindly trusted the positive comments. Glad to see my trust was well deserved, thank you all.
taspeotisover 9 years ago
I&#x27;ve found uBlock Origin increases memory usage heavily on <a href="https:&#x2F;&#x2F;vimcolorschemetest.googlecode.com&#x2F;svn&#x2F;html&#x2F;index-c.html" rel="nofollow">https:&#x2F;&#x2F;vimcolorschemetest.googlecode.com&#x2F;svn&#x2F;html&#x2F;index-c.h...</a>
评论 #10128587 未加载
评论 #10129292 未加载
rocky1138over 9 years ago
I would have really liked to have seen an ad-reduced hosts file compared to these in-browser blockers.<p><a href="http:&#x2F;&#x2F;winhelp2002.mvps.org&#x2F;hosts.txt" rel="nofollow">http:&#x2F;&#x2F;winhelp2002.mvps.org&#x2F;hosts.txt</a>
jackgaviganover 9 years ago
At the end of last year, I spent a while working with an adtech firm, helping them figure out their product strategy. They all use Ghostery and I started using it too. Subjectively, my web-browsing experience improved massively, particularly page load times. It&#x27;s nice to see that experience borne out by objective testing.<p>I often think that companies like Ghostery are missing a trick by not advertising themselves as a method of speeding up your internet connection because that&#x27;s really what it does.
评论 #10128569 未加载
评论 #10131930 未加载
jakeoghover 9 years ago
Lowest overhead: Disable JS (add it to a hotkey) and use DNS level filtering: <a href="https:&#x2F;&#x2F;github.com&#x2F;jakeogh&#x2F;dnsmasq-blacklist" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jakeogh&#x2F;dnsmasq-blacklist</a><p>With surf+tabbed, each tab is it&#x27;s own process, so you can enable and disable JS and or plugins per page.
tim333over 9 years ago
Next we need to find the best blocker cocktail. I use uBlock Origin, Ghostery and Flashcontrol on Chrome. Bit over the top possibly - can take a bit of trial an error to see what&#x27;s blocking the thing if something you want doesn&#x27;t load.
评论 #10130963 未加载
评论 #10129225 未加载
teaneedzover 9 years ago
Why is uBlock somewhat frowned upon here on HN? From what I&#x27;ve seen published it&#x27;s still a good solution - works well for me. I thought the original developer gave up the project and was being rather difficult about the whole thing.
评论 #10130118 未加载
sandworm101over 9 years ago
Forgetting the accuracy of the OP, I cannot be the only one who doesn&#x27;t care in the least that adblockers slow load times. Between my ISP&#x27;s shoddy service, the popups and distracting animations adblockers stop, the net effect is a faster overall experience. A few seconds on page load is a fair price to pay for the increased privacy and security.
ameliusover 9 years ago
Are there any ad-blockers out there that also block Google ads (inline in websites, and also on top of search results)?
评论 #10128591 未加载
andorover 9 years ago
A much overlooked alternative to installing sketchy addons is to simply disable Javascript by default.
评论 #10128417 未加载
评论 #10131638 未加载
评论 #10130564 未加载
scrollawayover 9 years ago
blogspam, stop upvoting this please.
评论 #10128082 未加载
评论 #10128088 未加载
the-dudeover 9 years ago
One of my pet projects is &#x27;wijVrij&#x27;, a cheap TP-Link router with OpenWRT and a bootup-script which installs the winhelp2002 hosts file.<p>Works wonders on all your devices. <a href="https:&#x2F;&#x2F;wijvrij.nl" rel="nofollow">https:&#x2F;&#x2F;wijvrij.nl</a> ( dutch )