const tinypool = new Tinypool({
filename: './workers/tinypool/function-to-bench-worker.js',
minThreads: size,
+ maxThreads: size,
idleTimeout: 60000 // this is the same as poolifier default
})
-/**
- *
- */
async function run () {
const promises = []
for (let i = 0; i < iterations; i++) {