From 0819631dfe372ae4930cb476a7a81fb2f2a86804 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 23 Jul 2023 19:11:07 +0200 Subject: [PATCH] refactor: cleanup benchmark code MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- benchmarks/internal/bench.mjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/benchmarks/internal/bench.mjs b/benchmarks/internal/bench.mjs index 1fbcc5aa..205940c3 100644 --- a/benchmarks/internal/bench.mjs +++ b/benchmarks/internal/bench.mjs @@ -39,12 +39,12 @@ for (const poolType of Object.values(PoolTypes)) { } } } + const taskExecutions = 1 const workerData = { function: WorkerFunctions.jsonIntegerSerialization, taskSize: 1000 } - const addPools = pools => pools.map(([name, pool]) => { return add(name, async () => { @@ -57,7 +57,6 @@ const addPools = pools => const resultsFile = 'poolifier' const resultsFolder = 'benchmarks/internal/results' - suite( 'Poolifier', ...addPools(pools), -- 2.34.1