Add benchmark for quick select algorithm evaluation. (#255)
[poolifier.git] / benchmarks / internal / cluster / fixed.js
index 60a5b938f8a5a6f46fc474a1e0e115152dba05e0..62c19aabf87fad362973abff99f2f390a8015712 100644 (file)
@@ -1,5 +1,5 @@
 const { FixedClusterPool } = require('../../../lib/index')
-const { runTest } = require('../benchmark-utils')
+const { runPoolifierTest } = require('../benchmark-utils')
 
 const size = 30
 
@@ -11,7 +11,7 @@ const fixedPool = new FixedClusterPool(
 async function fixedClusterTest (
   { tasks, workerData } = { tasks: 1, workerData: { proof: 'ok' } }
 ) {
-  return runTest(fixedPool, { tasks, workerData })
+  return runPoolifierTest(fixedPool, { tasks, workerData })
 }
 
 module.exports = { fixedClusterTest }