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 add import of Azerbaijani, Thai 2018-07-22 15:49:44 -04:00
import-war.py add ampproject.org/v0.js as a web-accessible-resources 2018-09-09 18:11:44 -04:00
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 fix dd92337a4a (commitcomment-29051501) 2018-05-20 07:45:39 -04:00
make-chromium.sh Use version number in the filename of packages 2018-12-23 10:16:08 -05:00
make-clean.sh allow scripts to run with bash in other locations 2016-01-31 12:17:04 -05:00
make-firefox-meta.py use plain version string: uBO will render itself to b/rc if needed 2018-06-01 08:12:44 -04:00
make-firefox.sh Attempt to fix build script for Firefox 2018-12-23 18:19:16 -05:00
make-opera-meta.py changes needed for releasing uBO/opera 1.15.24 2018-04-09 10:04:32 -04:00
make-opera.sh Fix Promise chain of WASM module load operations 2019-02-01 08:20:43 -05:00
make-safari-meta.py Safari: fix meta script permission 2015-02-16 21:15:47 -07:00
make-safari.sh allow scripts to run with bash in other locations 2016-01-31 12:17:04 -05:00
make-thunderbird.sh Experimental Thunderbird 65+ support: experimental 2019-01-20 12:22:40 -05:00
make-webext-meta.py fix https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909626 2018-09-26 07:20:54 -04:00
make-webext.sh Reuse both flavors of webRequest wrapper in webext package 2019-01-28 16:12:26 -05:00