From 1a5fb94cfa24327bda128d8accc0ea0d91f64057 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 13 Feb 2021 11:15:30 +0100 Subject: [PATCH] Benchmark: remove unneeded then at promise handling (#136) --- benchmarks/myBench.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/benchmarks/myBench.js b/benchmarks/myBench.js index 24ccba53..a69de002 100644 --- a/benchmarks/myBench.js +++ b/benchmarks/myBench.js @@ -110,10 +110,6 @@ async function workerpoolTest () { .exec('yourFunction', [workerData]) .then(res => { executions++ - return null - }) - .catch(err => console.error(err)) - .then(res => { if (tasks === executions) { return console.log( `workerpool take ${ -- 2.34.1