Switch internal benchmarking code to benny.
[poolifier.git] / benchmarks / benchmarks-utils.js
index 30af25c927c38edc190ae2c5538a9c22e4569788..62613c7e877308195871675021cc23cbba700a06 100644 (file)
@@ -9,7 +9,7 @@ async function runPoolifierTest (pool, { tasks, workerData }) {
         .then(() => {
           executions++
           if (executions === tasks) {
-            return resolve('FINISH')
+            return resolve({ ok: 1 })
           }
           return null
         })
@@ -77,13 +77,7 @@ function executeWorkerFunction (data) {
   }
 }
 
-const LIST_FORMATTER = new Intl.ListFormat('en-US', {
-  style: 'long',
-  type: 'conjunction'
-})
-
 module.exports = {
-  LIST_FORMATTER,
   WorkerFunctions,
   executeWorkerFunction,
   generateRandomInteger,