X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=benchmarks%2Fversus-external-pools%2Ffixed-tinypool.mjs;h=9889a75667547dc4395ff274e6f574ad6d6b98d3;hb=2e76f5c5f2985437cb83f4bd3fd255b95cf24996;hp=0875e3f4d513b1a737a908da80bf44d5d46548e9;hpb=c9577f2d11abedb767d52bc4fbbb7531089800a6;p=poolifier.git diff --git a/benchmarks/versus-external-pools/fixed-tinypool.mjs b/benchmarks/versus-external-pools/fixed-tinypool.mjs index 0875e3f4..9889a756 100644 --- a/benchmarks/versus-external-pools/fixed-tinypool.mjs +++ b/benchmarks/versus-external-pools/fixed-tinypool.mjs @@ -10,7 +10,7 @@ const data = { } const tinypool = new Tinypool({ - filename: './workers/tinypool/function-to-bench-worker.js', + filename: './workers/tinypool/function-to-bench-worker.mjs', minThreads: size, maxThreads: size, idleTimeout: 60000 // this is the same as poolifier default @@ -26,4 +26,4 @@ async function run () { process.exit() } -run() +await run()