bench versions update
authoraardizio <alessandroardizio94@gmail.com>
Mon, 1 Mar 2021 17:32:28 +0000 (18:32 +0100)
committeraardizio <alessandroardizio94@gmail.com>
Mon, 1 Mar 2021 17:32:28 +0000 (18:32 +0100)
benchmarks/versus-external-pools/dynamic-poolifier.js
benchmarks/versus-external-pools/fixed-poolifier.js
benchmarks/versus-external-pools/package-lock.json
benchmarks/versus-external-pools/package.json

index 42c06e62aaa15b363ca8120f3db463f8a95be185..3c51ac4cde7ce323f739849e17b4757bece8dbb4 100644 (file)
@@ -9,7 +9,7 @@ const data = {
 }
 
 const dynamicPool = new DynamicThreadPool(
-  size,
+  Number(size),
   size * 3,
   './workers/poolifier/function-to-bench-worker.js'
 )
index 345fd80672ca6faa4289c7da2eb4f97088199c78..e32a1166f63847a45933209fa3bd71d3a1c43e00 100644 (file)
@@ -9,7 +9,7 @@ const data = {
 }
 
 const fixedPool = new FixedThreadPool(
-  size,
+  Number(size),
   './workers/poolifier/function-to-bench-worker.js'
 )
 
index e52cd5d1415de6c2fae7adc8b05822c20eec8424..e3ba4c98f7ccd53226e6a1d0597af5950cb91999 100644 (file)
       "integrity": "sha512-fnWVljUchTro6RiCFvCXBbNhJc2NijN7oIQxbwsyL0buWJPG85v81ehlHI9fXrJsMNgTofEoWIQeClKpgxFLrg=="
     },
     "poolifier": {
-      "version": "2.0.0-beta.7",
-      "resolved": "https://registry.npmjs.org/poolifier/-/poolifier-2.0.0-beta.7.tgz",
-      "integrity": "sha512-ZGrwPJdCRlQu3oIIAZBZQgrjOPzLUU+GNpPP4KpvVplL+XeDYHzIqtiss9M/3rYgmFuus6DiUd5JFWqnb5dtLg=="
+      "version": "2.0.0",
+      "resolved": "https://registry.npmjs.org/poolifier/-/poolifier-2.0.0.tgz",
+      "integrity": "sha512-17gRE5OJJvTusOdLzykjrNkFoZFUu2GLKXFrqMqx2EhKmIRS1XzVej+LdhUJn+sdsAap/RQDXVW2u0GcSMSuQQ=="
     },
     "symbol-observable": {
       "version": "1.2.0",
index 06d0ba052335aeb53433a2e5fb10377145a8446e..8e4eb770092edbb4ae087ebe39d35748c21efc18 100644 (file)
@@ -13,7 +13,7 @@
     "microjob": "0.7.0",
     "node-worker-threads-pool": "1.4.3",
     "piscina": "2.2.0",
-    "poolifier": "2.0.0-beta.7",
+    "poolifier": "2.0.0",
     "threads": "1.6.3",
     "worker-threads-pool": "2.0.0",
     "workerpool": "6.1.0"