X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=benchmarks%2FmyBench.js;fp=benchmarks%2FmyBench.js;h=a69de002aab4c6840e03601b34546e3b54c29056;hb=1a5fb94cfa24327bda128d8accc0ea0d91f64057;hp=24ccba53aee46614ed6128efe74b8637f9e010af;hpb=d066251a8773e68298b40f3dc018b998d7a92d79;p=poolifier.git 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 ${