62c19aabf87fad362973abff99f2f390a8015712
1 const { FixedClusterPool
} = require('../../../lib/index')
2 const { runPoolifierTest
} = require('../benchmark-utils')
6 const fixedPool
= new FixedClusterPool(
8 './benchmarks/internal/cluster/worker.js'
11 async
function fixedClusterTest (
12 { tasks
, workerData
} = { tasks
: 1, workerData
: { proof
: 'ok' } }
14 return runPoolifierTest(fixedPool
, { tasks
, workerData
})
17 module
.exports
= { fixedClusterTest
}