mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-05 18:32:30 +01:00
5733439f62
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. |
||
---|---|---|
.. | ||
import-crowdin.sh | ||
import-war.py | ||
make-assets.sh | ||
make-chromium-meta.py | ||
make-chromium.sh | ||
make-clean.sh | ||
make-firefox-meta.py | ||
make-firefox.sh | ||
make-opera-meta.py | ||
make-opera.sh | ||
make-safari-meta.py | ||
make-safari.sh | ||
make-thunderbird.sh | ||
make-webext-meta.py | ||
make-webext.sh |