docs: switch all issue templates to yaml
[poolifier.git] / benchmarks / benchmarks-utils.mjs
index c88ada12fa61eda4c474b4142bbd81dbb59ae06d..48c8fc3e7cb7dacd019a4ca3ac8fa28749c61db5 100644 (file)
@@ -1,12 +1,14 @@
-import crypto from 'crypto'
-import fs from 'fs'
+import crypto from 'node:crypto'
+import fs from 'node:fs'
 import {
   DynamicClusterPool,
   DynamicThreadPool,
   FixedClusterPool,
-  FixedThreadPool
+  FixedThreadPool,
+  PoolTypes,
+  WorkerTypes
 } from '../lib/index.mjs'
-import { PoolTypes, WorkerFunctions, WorkerTypes } from './benchmarks-types.mjs'
+import { WorkerFunctions } from './benchmarks-types.mjs'
 
 export const runTest = async (pool, { taskExecutions, workerData }) => {
   return new Promise((resolve, reject) => {