// IMPORT LIBRARIES
-const { FixedThreadPool, DynamicThreadPool } = require('poolifier')
+const { DynamicThreadPool } = require('poolifier')
// FINISH IMPORT LIBRARIES
const size = process.env.POOL_SIZE
const iterations = process.env.NUM_ITERATIONS
}
const dynamicPool = new DynamicThreadPool(
- size,
+ Number(size),
size * 3,
'./workers/poolifier/function-to-bench-worker.js'
)