From 679b3d2271d9a544f0b7a1fbf22a798c47a03cea Mon Sep 17 00:00:00 2001 From: gorhill Date: Sat, 20 Dec 2014 21:40:29 -0800 Subject: [PATCH] =?UTF-8?q?Created=20Memory=20footprint:=20what=20happens?= =?UTF-8?q?=20inside=20=C2=B5Block=20after=20installation=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...at-happens-inside-µBlock-after-installation.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Memory-footprint:-what-happens-inside-µBlock-after-installation.md diff --git a/Memory-footprint:-what-happens-inside-µBlock-after-installation.md b/Memory-footprint:-what-happens-inside-µBlock-after-installation.md new file mode 100644 index 0000000..9206d5e --- /dev/null +++ b/Memory-footprint:-what-happens-inside-µBlock-after-installation.md @@ -0,0 +1,15 @@ +1. µBlock will load the default selection of filter lists: + - This causes short-term memory churning, which short-term memory will be garbage-collected eventually + - All this short term memory churning causes µBlock's baseline memory footprint to grow further +1. After five minutes, µBlock will look whether one or more filter list need to be updated +1. If an update is needed, µBlock will flush from memory all filters and reload with the latest version + - This will causes another round of short-term memory churning, which short-term memory will be garbage-collected eventually + - Again, all this short term memory churning causes µBlock's baseline memory footprint to grow further +1. After seven minutes, assuming no change in selection of filter lists, or change in the content of selected filter lists, µBlock will snap a selfie + - Generating the selfie also causes short-term memory churning, which short-term memory will be garbage-collected eventually + - Again, this short term memory churning causes µBlock's baseline memory footprint to grow further + - Any change in the selection of filter lists, or change in the content of selected filter lists will invalidate µBlock's selfie +1. Even after the growth in memory baseline, µBlock's own memory footprint is still quite smaller than that of Adblock Plus. +1. µBlock's much smaller contributed memory footprint to web pages is much smaller than that of ABP + - Though this measure is less visible, it's where you get the biggest bang for the buck with µBlock relative to ABP. +