X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=benchmarks%2Fbench.js;h=2ad7f22c5e47ec7827366ed3c95b21a3402c06cf;hb=0e19141a4c860c96cde0eac21023cef79e6b22f5;hp=f8d933813a8b393692a124bbece9243aec244681;hpb=aad2595fd9c26bcb2f0d7a22d06edf56d5b08bdb;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()) })