From c5fbae0fb958c9fa7863b686877f560d20b1ae74 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Mon, 25 Aug 2014 08:16:22 -0700 Subject: [PATCH] =?UTF-8?q?Updated=20=C2=B5Block=20vs.=20ABP:=20efficiency?= =?UTF-8?q?=20compared=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- µBlock-vs.-ABP:-efficiency-compared.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/µBlock-vs.-ABP:-efficiency-compared.md b/µBlock-vs.-ABP:-efficiency-compared.md index 24598e5..59e37e6 100644 --- a/µBlock-vs.-ABP:-efficiency-compared.md +++ b/µBlock-vs.-ABP:-efficiency-compared.md @@ -1,8 +1,9 @@ Here is a quick illustrated comparison of efficiency using various angles. Each extension were tested alone, as the only extension present. Benchmarking was performed with Chromium on Linux Mint 64-bit. - [Own memory footprint](#own-memory-footprint) -- [Added overhead to each net request](#added-overhead-to-each-net-request) +- [Added CPU overhead to each net request](#added-cpu-overhead-to-each-net-request) - [Added memory footprint to web pages](#added-memory-footprint-to-web-pages) +- [Added CPU footprint to web pages](#added-cpu-overhead-to-web-pages) ### Own memory footprint @@ -16,7 +17,7 @@ These screenshots show the memory footprint of ABP and µBlock _after_ they have Both extensions had _EasyList_, _EasyPrivacy_, _Peter Lowe's Ad Server_ list, and malware protection (there are more filters in µBlock for this last one). -### Added overhead to each net request +### Added CPU overhead to each net request ABP and µBlock need to evaluate the URL of each net request against their dictionary of filters, and eventually tell the waiting browser whether the request should be cancelled or not. Since the browser is waiting for an answer, this is a time critical part and determining whether the request should be allowed or not must be done as fast as possible. @@ -81,6 +82,10 @@ The vertical axis represents MB. The horizontal axis is time in seconds, and the The blue area represents how much more ABP itself consumes more memory than µBlock. The orange area represents how much more ABP causes the web pages themselves to consume more memory. ABP systematically causes web pages to consume more memory, and often quite a lot, north of 100 MB for some sites. This kind of added short term memory overhead is not cheap, as it also means the CPU is working harder. +### Added CPU overhead to web pages + +[Coming] + ### Related wiki pages - [Net request filtering efficiency: HTTP Switchboard vs. Adblock Plus](https://github.com/gorhill/httpswitchboard/wiki/Net-request-filtering-efficiency:-HTTP-Switchboard-vs.-Adblock-Plus)