36baad1f4ea2414b39ca13e04a332e4e5966ad90
2 const { ThreadPool
} = require('threadwork')
3 // FINISH IMPORT LIBRARIES
4 // IMPORT FUNCTION TO BENCH
5 const functionToBench
= require('./functions/function-to-bench')
6 // FINISH IMPORT FUNCTION TO BENCH
7 const size
= Number(process
.env
.POOL_SIZE
)
9 module
.exports
= new ThreadPool({ task
: functionToBench
, size
})