build(deps-dev): bump expect from 29.6.4 to 29.7.0
[poolifier.git] / benchmarks / versus-external-pools / fixed-piscina.mjs
index 5fe01b62aa4816e7a5a1e14bc6348d1facd5acfd..97150f5e07132b4f99388ad56d7ee87f8af0acf6 100644 (file)
@@ -1,6 +1,6 @@
-// IMPORT LIBRARIES
 import Piscina from 'piscina'
-// FINISH IMPORT LIBRARIES
+import { executeAsyncFn } from '../benchmarks-utils.mjs'
+
 const size = parseInt(process.env.POOL_SIZE)
 const iterations = parseInt(process.env.NUM_ITERATIONS)
 const data = {
@@ -26,4 +26,4 @@ async function run () {
   process.exit()
 }
 
-await run()
+await executeAsyncFn(run)