From 84aa217ede2f137d1df8231ac838ef451f9bc857 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Fri, 23 Dec 2022 12:55:15 -0500 Subject: [PATCH] Fix selection of lists test/benchmark platform --- platform/dig/snfe.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/platform/dig/snfe.js b/platform/dig/snfe.js index fc79d7c7d..dc1a2cd04 100644 --- a/platform/dig/snfe.js +++ b/platform/dig/snfe.js @@ -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')