repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps-dev): bump rollup
[poolifier.git]
/
benchmarks
/
benchmarks-utils.js
diff --git
a/benchmarks/benchmarks-utils.js
b/benchmarks/benchmarks-utils.js
index aaf7521ff3044807e02078c2cde0f45c584586b1..48311a3f04b773c0d6f540eaf659b2b00f3e08d7 100644
(file)
--- a/
benchmarks/benchmarks-utils.js
+++ b/
benchmarks/benchmarks-utils.js
@@
-64,7
+64,7
@@
const runPoolifierPool = async (pool, { taskExecutions, workerData }) => {
if (executions === taskExecutions) {
resolve({ ok: 1 })
}
if (executions === taskExecutions) {
resolve({ ok: 1 })
}
- return
null
+ return
undefined
})
.catch(err => {
console.error(err)
})
.catch(err => {
console.error(err)
@@
-151,6
+151,7
@@
const runPoolifierPoolBenchmark = async (
LIST_FORMATTER.format(this.filter('fastest').map('name'))
)
await pool.destroy()
LIST_FORMATTER.format(this.filter('fastest').map('name'))
)
await pool.destroy()
+ pool = undefined
resolve()
})
.run({ async: true })
resolve()
})
.run({ async: true })