-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update uBlock Origin to use npm package #2138
Conversation
@gorhill please take a look first. It seems to be blocking more requests now! Try to clone https://github.com/mjethani/adblocker and switch to the update-ubo-core branch. |
Weird, I will investigate. What was the previous version? On my side I used built-in benchmark to compare current master with 1.37.3b4 and I got same result. |
@@ -1 +1 @@
-Subproject commit 543e1a3aea0c775ee34b7f168388a9ebaef1b4c5
+Subproject commit d9adf5a6fb688d470e67204501fdee176f9b4d4a If it helps, I tried with |
This works until gorhill/uBlock@65f0909 |
By this I mean that it works in that commit too. It probably broke in the one that followed. Let me confirm this. |
Confirmed. It broke in gorhill/uBlock@7cd583a. In that commit it blocks 85,131 requests. It should block 82,388 requests. |
When I compare on my side using built-in benchmark which uses all default filter lists, I get 94,560 for both before and after that commit. This suggests the issue is in a code path not used by the extension. |
It's almost certainly in |
Looks like Right, it's empty, it's just |
|
075043b
to
a2e188a
Compare
a2e188a
to
4f372c2
Compare
@gorhill if you publish a new version to npm, I'll update this patch to use the npm version directly just as we do with adblock-rs and @adguard/tsurlfilter. |
|
4f372c2
to
60691ab
Compare
Using the new
StaticNetFilteringEngine
class from @gorhill/ubo-core.