'./benchmarks/internal/cluster/worker.js'
)
-const fixedPoolLessRecentlyUsed = new FixedClusterPool(
+const fixedPoolLessUsed = new FixedClusterPool(
size,
'./benchmarks/internal/cluster/worker.js',
{ workerChoiceStrategy: WorkerChoiceStrategies.LESS_USED }
return runPoolifierTest(fixedPool, { tasks, workerData })
}
-async function fixedClusterTestLessRecentlyUsed (
+async function fixedClusterTestLessUsed (
{ tasks, workerData } = { tasks: numberOfTasks, workerData: { proof: 'ok' } }
) {
- return runPoolifierTest(fixedPoolLessRecentlyUsed, { tasks, workerData })
+ return runPoolifierTest(fixedPoolLessUsed, { tasks, workerData })
}
async function fixedClusterTestWeightedRoundRobin (
module.exports = {
fixedClusterTest,
- fixedClusterTestLessRecentlyUsed,
+ fixedClusterTestLessUsed,
fixedClusterTestWeightedRoundRobin,
fixedClusterTestFairShare
}