Improve benchmarks: add IO intensive task workload, add task size option, integrate...
[poolifier.git] / benchmarks / versus-external-pools / pool-threadwork.js
index 5e5e04e33fe8fbc73905134eb16b596f58e1e28f..36baad1f4ea2414b39ca13e04a332e4e5966ad90 100644 (file)
@@ -6,4 +6,4 @@ const functionToBench = require('./functions/function-to-bench')
 // FINISH IMPORT FUNCTION TO BENCH
 const size = Number(process.env.POOL_SIZE)
 
-module.exports = new ThreadPool({ task: functionToBench, size: size })
+module.exports = new ThreadPool({ task: functionToBench, size })