refactor(benchmark): finish migration to tatami-ng
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 7 Apr 2024 16:36:16 +0000 (18:36 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 7 Apr 2024 16:36:16 +0000 (18:36 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
.vscode/launch.json
benchmarks/benchmarks-utils.mjs
benchmarks/internal/bench.mjs

index a80e9417bbba3d45b50a3b2596f3a5249bad6dc8..f3ee906a97792bd1633cb675a79483f0bb2ba636 100644 (file)
@@ -27,7 +27,7 @@
     {
       "type": "node",
       "request": "launch",
-      "name": "Launch Mitata Benchmark Debug",
+      "name": "Launch Tatami NG Benchmark Debug",
       "cwd": "${workspaceFolder}",
       "runtimeExecutable": "pnpm",
       "runtimeArgs": ["run", "benchmark:tatami-ng:debug"],
index 85bc57fc4e39b0c3ec5a4dc2288f431846554eb9..35c335c45877748ec332e45cd10fda5e5d4b69df 100644 (file)
@@ -249,7 +249,7 @@ export const runPoolifierBenchmarkBenchmarkJsSuite = async (
   })
 }
 
-export const runPoolifierBenchmarkMitata = async (
+export const runPoolifierBenchmarkTatamiNg = async (
   name,
   workerType,
   poolType,
index 125500f2b1391a11e0cf98f340d46e8ca1161418..9eb70526dbded89565714dcf940b1a4b971cbb17 100644 (file)
@@ -9,7 +9,7 @@ import {
 import { TaskFunctions } from '../benchmarks-types.cjs'
 import {
   runPoolifierBenchmarkBenchmarkJsSuite,
-  runPoolifierBenchmarkMitata
+  runPoolifierBenchmarkTatamiNg
 } from '../benchmarks-utils.mjs'
 
 const poolSize = availableParallelism()
@@ -33,7 +33,7 @@ switch (
   }).values.type
 ) {
   case 'tatami-ng':
-    await runPoolifierBenchmarkMitata(
+    await runPoolifierBenchmarkTatamiNg(
       'FixedThreadPool',
       WorkerTypes.thread,
       PoolTypes.fixed,
@@ -43,7 +43,7 @@ switch (
         workerData
       }
     )
-    await runPoolifierBenchmarkMitata(
+    await runPoolifierBenchmarkTatamiNg(
       'DynamicThreadPool',
       WorkerTypes.thread,
       PoolTypes.dynamic,
@@ -53,7 +53,7 @@ switch (
         workerData
       }
     )
-    await runPoolifierBenchmarkMitata(
+    await runPoolifierBenchmarkTatamiNg(
       'FixedClusterPool',
       WorkerTypes.cluster,
       PoolTypes.fixed,
@@ -63,7 +63,7 @@ switch (
         workerData
       }
     )
-    await runPoolifierBenchmarkMitata(
+    await runPoolifierBenchmarkTatamiNg(
       'DynamicClusterPool',
       WorkerTypes.cluster,
       PoolTypes.dynamic,