uBlock/src/js
Raymond Hill 5733439f62
Leverage whotracks.me's huge dataset of URLs for benchmark purpose
As seen at:
  https://whotracks.me/blog/adblockers_performance_study.html

The requests.json.gz file can be downloaded from:
  https://cdn.cliqz.com/adblocking/requests_top500.json.gz

Copy the file into ./tmp/requests.json.gz

If the file is present when you build uBO using `make-[target].sh` from
the shell, the resulting package will contain `./assets/requests.json`,
which will be looked-up by the method below to launch a benchmark
session.

From uBO's dev console, launch the benchmark:
  µBlock.staticNetFilteringEngine.benchmark();

The usual browser dev tools can be used to obtain useful profiling
data, i.e. start the profiler, call the benchmark method from the
console, then stop the profiler when it completes.

Keep in mind that the measurements at the blog post above where obtained
with ONLY EasyList. The CPU reportedly used was:
  https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i7-6600U+%40+2.60GHz&id=2608

Rename ./tmp/requests.json.gz to something else if you no longer want
./assets/requests.json in the build.
2019-02-15 16:18:03 -05:00
..
codemirror fix https://github.com/uBlockOrigin/uBlock-issues/issues/264 2018-10-15 14:15:00 -03:00
scriptlets Minor generic code review of changes since 1.18.2 2019-02-02 08:09:34 -05:00
wasm 3rd-gen hntrie, suitable for large set of hostnames 2018-12-04 13:02:09 -05:00
1p-filters.js Remember cursor position in "My filters" for next visit 2018-12-22 13:09:56 -05:00
3p-filters.js fix https://github.com/uBlockOrigin/uBlock-issues/issues/248 2018-10-24 20:02:15 -03:00
about.js this takes care of #1443 2016-03-08 16:35:06 -05:00
advanced-settings.js make use of CodeMirror in "Advanced settings" page 2018-08-13 10:21:42 -04:00
asset-viewer.js Grand refactoring of the logger 2019-01-12 16:36:20 -05:00
assets.js Refactor selfie generation into a more flexible persistence mechanism 2019-02-14 13:33:55 -05:00
background.js Refactor selfie generation into a more flexible persistence mechanism 2019-02-14 13:33:55 -05:00
cachestorage.js Refactor selfie generation into a more flexible persistence mechanism 2019-02-14 13:33:55 -05:00
cloud-ui.js improve ckoud widget for small screen devices 2018-04-10 11:21:56 -04:00
commands.js Grand refactoring of the logger 2019-01-12 16:36:20 -05:00
console.js Refactor selfie generation into a more flexible persistence mechanism 2019-02-14 13:33:55 -05:00
contentscript.js Harden content script's message Port against spurious disconnections 2019-01-27 17:07:40 -05:00
contextmenu.js fix https://github.com/uBlockOrigin/uBlock-issues/issues/283 2018-11-06 16:11:03 -02:00
cosmetic-filtering.js Grand refactoring of the logger 2019-01-12 16:36:20 -05:00
dashboard-common.js Ensure the text cursor in visible when a CodeMirror editor is resized 2018-12-22 13:35:46 -05:00
dashboard.js Remove (broken) benchmark pane 2018-12-21 12:01:24 -05:00
document-blocked.js fix #2859 2018-09-03 14:06:49 -04:00
dyna-rules.js Internationalize CodeMirror's hard-coded tooltips in the "My rules" pane 2018-12-22 11:55:13 -05:00
dynamic-net-filtering.js Grand refactoring of the logger 2019-01-12 16:36:20 -05:00
fa-icons.js Grand refactoring of the logger 2019-01-12 16:36:20 -05:00
filtering-context.js Fix partyness evaluation for cases of base domain-less hostnames 2019-01-29 10:34:58 -05:00
hnswitches.js fix #2859 2018-09-03 14:06:49 -04:00
hntrie.js Refactor selfie generation into a more flexible persistence mechanism 2019-02-14 13:33:55 -05:00
html-filtering.js Grand refactoring of the logger 2019-01-12 16:36:20 -05:00
i18n.js Grand refactoring of the logger 2019-01-12 16:36:20 -05:00
logger-ui-inspector.js Grand refactoring of the logger 2019-01-12 16:36:20 -05:00
logger-ui.js Fix partyness evaluation for cases of base domain-less hostnames 2019-01-29 10:34:58 -05:00
logger.js Grand refactoring of the logger 2019-01-12 16:36:20 -05:00
lz4.js Fix Promise chain of WASM module load operations 2019-02-01 08:20:43 -05:00
messaging.js Grand refactoring of the logger 2019-01-12 16:36:20 -05:00
pagestore.js Grand refactoring of the logger 2019-01-12 16:36:20 -05:00
popup.js Grand refactoring of the logger 2019-01-12 16:36:20 -05:00
redirect-engine.js Refactor selfie generation into a more flexible persistence mechanism 2019-02-14 13:33:55 -05:00
reverselookup-worker.js Add export-to-clipboard feature to logger 2019-01-14 14:57:31 -05:00
reverselookup.js fix #2763 2018-07-22 10:47:02 -04:00
scriptlet-filtering.js Fix https://github.com/gorhill/uBlock/issues/3654 2018-12-13 12:30:54 -05:00
settings.js fix #2477 2017-04-04 16:45:50 -04:00
shortcuts.js code review re. 8e9fe020b5 2018-07-22 08:14:50 -04:00
start.js Refactor selfie generation into a more flexible persistence mechanism 2019-02-14 13:33:55 -05:00
static-ext-filtering.js Refactor selfie generation into a more flexible persistence mechanism 2019-02-14 13:33:55 -05:00
static-net-filtering.js Leverage whotracks.me's huge dataset of URLs for benchmark purpose 2019-02-15 16:18:03 -05:00
storage.js Refactor selfie generation into a more flexible persistence mechanism 2019-02-14 13:33:55 -05:00
tab.js Grand refactoring of the logger 2019-01-12 16:36:20 -05:00
text-encode.js refactor some webRequest-related code (now that firefox legacy is out of the way) 2018-10-28 10:58:25 -03:00
traffic.js Use proper embedding context when evluating inline-script 2019-02-15 07:37:43 -05:00
ublock.js Inject inline-script logger scriptlet at document_end 2018-12-22 08:33:42 -05:00
udom.js Fix regression from 0edf53f508 (diff-a51c8c4aedf62ea9aec5e71f3b1427c3R624) 2019-01-15 08:18:45 -05:00
uritools.js Update publicSuffixLibrary to latest (WASM-able) version 2019-02-10 12:19:05 -05:00
url-net-filtering.js code review: reuse last decomposed hostname (hit rate = 75%) 2018-06-03 13:27:42 -04:00
utils.js Refactor selfie generation into a more flexible persistence mechanism 2019-02-14 13:33:55 -05:00
whitelist.js fix #3646 2018-03-27 19:10:31 -04:00