build(deps-dev): bump @types/node
[poolifier.git] / benchmarks / versus-external-pools / fixed-tinypool.mjs
index 07b3abe84a2cd258c26e2d4b3bc9f85bfd4f96ee..307ac3b53de2ef01355dd2c3ab80b800da95c40d 100644 (file)
@@ -1,6 +1,6 @@
-// IMPORT LIBRARIES
 import Tinypool from 'tinypool'
-// FINISH IMPORT LIBRARIES
+import { executeAsyncFn } from './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)