X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=benchmarks%2Fbench.js;h=2ad7f22c5e47ec7827366ed3c95b21a3402c06cf;hb=e0d233a8e0c7e22275b29c36367a3b6cbc2e39d4;hp=f8d933813a8b393692a124bbece9243aec244681;hpb=080e48141768333137fb0227a2e93a3f6638912d;p=poolifier.git diff --git a/benchmarks/bench.js b/benchmarks/bench.js index f8d93381..2ad7f22c 100644 --- a/benchmarks/bench.js +++ b/benchmarks/bench.js @@ -11,13 +11,13 @@ const LIST_FORMATTER = new Intl.ListFormat('en-US', { type: 'conjunction' }) -// wait some seconds before start, my pools need to load threads !!! +// Wait some seconds before start, pools need to load threads !!! setTimeout(async () => { test() }, 3000) async function test () { - // add tests + // Add tests suite .add('Pioardi:Static:ThreadPool', async function () { await fixedThreadTest() @@ -31,7 +31,7 @@ async function test () { .add('Pioardi:Dynamic:ClusterPool', async function () { await dynamicClusterTest() }) - // add listeners + // Add listeners .on('cycle', function (event) { console.log(event.target.toString()) })