Fix selection of lists test/benchmark platform

This commit is contained in:
Raymond Hill 2022-12-23 12:55:15 -05:00
parent b6981877ba
commit 84aa217ede
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 6 additions and 2 deletions

View File

@ -343,16 +343,20 @@ async function bench() {
let start = process.hrtime.bigint();
await engine.useLists([
read('assets/ublock/badware.txt')
.then(raw => ({ name: 'badware', raw })),
read('assets/ublock/filters.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')
.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')