Tests enhancement (#172)
[poolifier.git] / benchmarks / bench.js
index f8d933813a8b393692a124bbece9243aec244681..2ad7f22c5e47ec7827366ed3c95b21a3402c06cf 100644 (file)
@@ -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())
     })