Fix filter list paths

This commit is contained in:
Raymond Hill 2023-05-07 09:19:01 -04:00
parent e94a84d6fb
commit ad8b7b2f12
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 2 additions and 10 deletions

View File

@ -343,22 +343,14 @@ async function bench() {
let start = process.hrtime.bigint();
await engine.useLists([
read('assets/ublock/filters.txt')
read('assets/ublock/filters.min.txt')
.then(raw => ({ name: 'filters', raw })),
read('assets/ublock/filters-2020.txt')
.then(raw => ({ name: 'filters-2020', raw })),
read('assets/ublock/filters-2021.txt')
.then(raw => ({ name: 'filters-2021', raw })),
read('assets/ublock/filters-2022.txt')
.then(raw => ({ name: 'filters-2022', raw })),
read('assets/ublock/badware.txt')
.then(raw => ({ name: 'badware', raw })),
read('assets/ublock/privacy.txt')
read('assets/ublock/privacy.min.txt')
.then(raw => ({ name: 'privacy', raw })),
read('assets/ublock/quick-fixes.txt')
.then(raw => ({ name: 'quick-fixes.txt', raw })),
read('assets/ublock/resource-abuse.txt')
.then(raw => ({ name: 'resource-abuse', raw })),
read('assets/ublock/unbreak.txt')
.then(raw => ({ name: 'unbreak.txt', raw })),
read('assets/thirdparties/easylist/easylist.txt')