-
Notifications
You must be signed in to change notification settings - Fork 81
Who cares about efficiency, I have 8 GB RAM and|or a quad core CPU
Doing more with less is a virtue in software. For users of uBlock Origin (uBO), this means:
- Less CPU churn when loading a web page may translate into a noticeable faster page load.
- Higher memory consumption correlates with higher CPU-cycle consumption. Any extra memory used is the same that needs to get allocated/written to/read from (at least once)/garbage collected.
- Free to use more filter lists:
- For instance, ABP warns against using too many filter lists: "It is important to note that you should not add too many filter lists to Adblock Plus"
- Longer battery life. Each time unit, however small, that the CPU is idle rather than churning translates into extended battery life.
- Free to use a blocker on less powerful devices
- For instance: Reddit: "ABP was a significant burden on my CPU"
- Free to add more functional features
- Free to use more extensions
Memory and CPU cycles are finite resources. A sure way for a developer to not get hired when being interviewed is to dismiss efficiency work because "memory is plentiful" or "CPU nowadays are fast enough".
"Come on people, we are buying our hardware precisely for this - to be used" [source]
Wasting is not using.
Not convinced yet? Try using a stopwatch to compare how fast web pages load when using one blocker compared to another.
If you have a multi-core CPU with plenty of spare CPU cycles, you may not notice a difference in page load. Other popular blockers will use any available CPU cycles (see below) to perform the same job as uBO.
CPU overhead
Memory footprint
- Wiki home
- About the Wiki documentation
- Permissions
- Privacy policy
- Info:
- The toolbar icon
- The popup user interface
- The context menu
-
Dashboard
- Settings pane
- Filter lists pane
- My filters pane
- My rules pane
- Trusted sites pane
- Keyboard shortcuts
- The logger
- Element picker
- Element zapper
-
Blocking mode
- Very easy mode
- Easy mode (default)
- Medium mode (optimal for advanced users)
- Hard mode
- Nightmare mode
- Strict blocking
- Few words about re-design of uBO's user interface
- Reference answers to various topics seen in the wild
- Overview of uBlock's network filtering engine
- uBlock's blocking and protection effectiveness:
- uBlock's resource usage and efficiency:
- Memory footprint: what happens inside uBlock after installation
- uBlock vs. ABP: efficiency compared
- Counterpoint: Who cares about efficiency, I have 8 GB RAM and|or a quad core CPU
- Debunking "uBlock Origin is less efficient than Adguard" claims
- Myth: uBlock consumes over 80MB
- Myth: uBlock is just slightly less resource intensive than Adblock Plus
- Myth: uBlock consumes several or several dozen GB of RAM
- Various videos showing side by side comparison of the load speed of complex sites
- Own memory usage: benchmarks over time
- Contributed memory usage: benchmarks over time
- Can uBO crash a browser?
- Tools, tests
- Deploying uBlock Origin
- Proposal for integration/unit testing
- uBlock Origin Core (Node.js):
- Troubleshooting:
- Good external guides:
- Scientific papers