X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=benchmarks%2Fbenchmarks-utils.js;h=6eed668bd16b33d9f7f6598ed2a680285d884e36;hb=e7339cfd46bfe4600187ae2c6bd6c9e7f63e7052;hp=e6abe96d5b1e065c07b709bd83c37095e9996935;hpb=965415bb43f5c76329f0854ed680e22068e3affb;p=poolifier.git diff --git a/benchmarks/benchmarks-utils.js b/benchmarks/benchmarks-utils.js index e6abe96d..6eed668b 100644 --- a/benchmarks/benchmarks-utils.js +++ b/benchmarks/benchmarks-utils.js @@ -7,7 +7,7 @@ async function runPoolifierTest (pool, { tasks, workerData }) { pool .execute(workerData) .then(() => { - executions++ + ++executions if (executions === tasks) { return resolve({ ok: 1 }) }