refactor: convert to ESM benchmarks code
[poolifier.git] / benchmarks / internal / bench.mjs
index 6fad24c76a85f1878a95c843eadcefc1fbcc8977..fe34a220bd2e5165909502ab146e24e4eb007348 100644 (file)
@@ -1,7 +1,11 @@
 import Benchmark from 'benny'
 import { WorkerChoiceStrategies } from '../../lib/index.mjs'
-import { PoolTypes, WorkerFunctions, WorkerTypes } from '../benchmarks-types.js'
-import { buildPool, runTest } from '../benchmarks-utils.js'
+import {
+  PoolTypes,
+  WorkerFunctions,
+  WorkerTypes
+} from '../benchmarks-types.mjs'
+import { buildPool, runTest } from '../benchmarks-utils.mjs'
 
 const poolSize = 30
 const taskExecutions = 1