1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-01 02:02:29 +02:00

Updated Advanced settings (markdown)

Raymond Hill 2023-08-13 08:28:43 -04:00
parent d5d2884ede
commit c3cfd011d6

@ -147,14 +147,7 @@ _Dataset_ is the `requests_top500.json.gz` dataset of URLs released by "whotrack
It is recommended to download the dataset, decompress it, and use a local URL to refer to the resource so as to not abuse the bandwidth of the remote server. In a Chromium-based browser, you can use a `file:///`-based URL to the local copy. On Firefox you will have to [create a simple HTTP server](https://developer.mozilla.org/en-US/docs/Learn/Common_questions/set_up_a_local_testing_server#running_a_simple_local_http_server) and create a URL such as `http://localhost:8000/[...]` to the local copy.
_Benchmark_ is one of the internal uBO benchmarks:
- [`µBlock.staticNetFilteringEngine.benchmark();`](https://github.com/gorhill/uBlock/commit/5733439f629da948cfc3cae74afa519f6cff7b7f) (initial implementation, recording of the matches was added [later](https://github.com/gorhill/uBlock/commit/92c5f17b78e5056340f462b049c1871ae0467220) for comparison/debugging purposes)
- [`µBlock.sessionFirewall.benchmark();`](https://github.com/gorhill/uBlock/commit/928ab91ab8b72be1c962370b49a36fbe1e1ded94)
- [`µBlock.cosmeticFilteringEngine.benchmark();`](https://github.com/gorhill/uBlock/commit/1e40f50eb3c1347afea251dce603f432e2199606)
Benchmarks can be executed from Browser Console in extension background context.
~[`consoleLogLevel`](./Advanced-settings#consoleloglevel) must be set to `info` to actually print the results.~ Fixed in [1.25.1b7](https://github.com/gorhill/uBlock/commit/da71c3a499fc26acc34bb58b67b0de4494ddffcd)
To launch benchmark operations, go to _Support_ pane in the dashboard, then click the _More_ button. This will open a new tab with various developer tools, one of which is _SFNE: Benchmark_, which purpose is to benchmark the static network filtering engine using the data at the URL provided above, against the currently selected filter lists.
***