docs: refine README.md
[poolifier.git] / benchmarks / internal / bench.mjs
index 480998b72c935900681627839091162befbd6a23..41cf62e61a04b155562b63390fea470b352d01e4 100644 (file)
@@ -1,4 +1,5 @@
 import { exit } from 'node:process'
+// eslint-disable-next-line n/no-unsupported-features/node-builtins
 import { parseArgs } from 'node:util'
 
 import {
@@ -9,7 +10,7 @@ import {
 import { TaskFunctions } from '../benchmarks-types.cjs'
 import {
   runPoolifierBenchmarkBenchmarkJsSuite,
-  runPoolifierBenchmarkMitata
+  runPoolifierBenchmarkTatamiNg
 } from '../benchmarks-utils.mjs'
 
 const poolSize = availableParallelism()
@@ -32,8 +33,8 @@ switch (
     allowPositionals: true
   }).values.type
 ) {
-  case 'mitata':
-    await runPoolifierBenchmarkMitata(
+  case 'tatami-ng':
+    await runPoolifierBenchmarkTatamiNg(
       'FixedThreadPool',
       WorkerTypes.thread,
       PoolTypes.fixed,
@@ -43,7 +44,7 @@ switch (
         workerData
       }
     )
-    await runPoolifierBenchmarkMitata(
+    await runPoolifierBenchmarkTatamiNg(
       'DynamicThreadPool',
       WorkerTypes.thread,
       PoolTypes.dynamic,
@@ -53,7 +54,7 @@ switch (
         workerData
       }
     )
-    await runPoolifierBenchmarkMitata(
+    await runPoolifierBenchmarkTatamiNg(
       'FixedClusterPool',
       WorkerTypes.cluster,
       PoolTypes.fixed,
@@ -63,7 +64,7 @@ switch (
         workerData
       }
     )
-    await runPoolifierBenchmarkMitata(
+    await runPoolifierBenchmarkTatamiNg(
       'DynamicClusterPool',
       WorkerTypes.cluster,
       PoolTypes.dynamic,