fix: properly size the pools in benchmarking code
[poolifier.git] / benchmarks / versus-external-pools / static-node-worker-threads-pool.mjs
index b943be5d4a60e1531371ce5151af359cde815674..b8a90ea321ccae3cf912b010ce8d4d21b30a7a53 100644 (file)
@@ -2,7 +2,7 @@
 import { StaticPool } from 'node-worker-threads-pool'
 // FINISH IMPORT LIBRARIES
 // IMPORT FUNCTION TO BENCH
-import functionToBench from './functions/function-to-bench.mjs'
+import functionToBench from './functions/function-to-bench.js'
 // FINISH IMPORT FUNCTION TO BENCH
 const size = parseInt(process.env.POOL_SIZE)
 const iterations = parseInt(process.env.NUM_ITERATIONS)