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