mirror of https://github.com/gorhill/uBlock.git
Fix selection of lists test/benchmark platform
This commit is contained in:
parent
b6981877ba
commit
84aa217ede
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue