Merge dependabot/npm_and_yarn/examples/typescript/http-server-pool/fastify-hybrid...
[poolifier.git] / benchmarks / internal / bench.mjs
index adff36153241f7843f702547237280a509bb7326..88868af7c43c1c3e4e5cce039f2fac71a6b99946 100644 (file)
@@ -1,10 +1,11 @@
+import { exit } from 'node:process'
 import {
   PoolTypes,
   WorkerTypes,
   availableParallelism
 } from '../../lib/index.mjs'
-import { TaskFunctions } from '../benchmarks-types.js'
-import { runPoolifierPoolBenchmark } from '../benchmarks-utils.js'
+import { TaskFunctions } from '../benchmarks-types.cjs'
+import { runPoolifierPoolBenchmark } from '../benchmarks-utils.cjs'
 
 const poolSize = availableParallelism()
 const taskExecutions = 1
@@ -60,3 +61,5 @@ await runPoolifierPoolBenchmark(
     workerData
   }
 )
+
+exit()