Can now use AdBlock lists for tracking matching

It's not very performant by itself, especially since pyre2 isn't
maintained nor really compilableinstallable anymore.

The performance seems to have decreased from 200 req/s to 0.2 req/s when
using 512 threads, and to 80 req/s using 64 req/s.
This might or might not be related,as the CPU doesn't seem to be the
bottleneck.

I will probably add support for host-based rules, matching the
subdomains of such hosts (as for now there doesn't seem to be any other
pattern for first-party trackers than subdomains, and this would be a
very broad performace / compatibility with existing lists improvement),
and convert the AdBlock lists to this format, only keeping domains-only
rules.
This commit is contained in:
Geoffrey Frogeye 2019-11-15 08:57:31 +01:00
parent 87bb24c511
commit 7d01d016a5
8 changed files with 108 additions and 49 deletions

1
temp/.gitignore vendored
View file

@ -1 +1,2 @@
*.list
*.txt