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