uBlock/tools
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
..
import-crowdin.sh
import-war.py
make-assets.sh Leverage whotracks.me's huge dataset of URLs for benchmark purpose 2019-02-15 16:18:03 -05:00
make-chromium-meta.py
make-chromium.sh Use version number in the filename of packages 2018-12-23 10:16:08 -05:00
make-clean.sh
make-firefox-meta.py
make-firefox.sh Attempt to fix build script for Firefox 2018-12-23 18:19:16 -05:00
make-opera-meta.py
make-opera.sh Fix Promise chain of WASM module load operations 2019-02-01 08:20:43 -05:00
make-safari-meta.py
make-safari.sh
make-thunderbird.sh Experimental Thunderbird 65+ support: experimental 2019-01-20 12:22:40 -05:00
make-webext-meta.py
make-webext.sh Reuse both flavors of webRequest wrapper in webext package 2019-01-28 16:12:26 -05:00