From 3474e5d3a5305a3fe249d64d98759986864b51da Mon Sep 17 00:00:00 2001 From: aardizio Date: Mon, 1 Mar 2021 18:32:28 +0100 Subject: [PATCH] bench versions update --- benchmarks/versus-external-pools/dynamic-poolifier.js | 2 +- benchmarks/versus-external-pools/fixed-poolifier.js | 2 +- benchmarks/versus-external-pools/package-lock.json | 6 +++--- benchmarks/versus-external-pools/package.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/benchmarks/versus-external-pools/dynamic-poolifier.js b/benchmarks/versus-external-pools/dynamic-poolifier.js index 42c06e62..3c51ac4c 100644 --- a/benchmarks/versus-external-pools/dynamic-poolifier.js +++ b/benchmarks/versus-external-pools/dynamic-poolifier.js @@ -9,7 +9,7 @@ const data = { } const dynamicPool = new DynamicThreadPool( - size, + Number(size), size * 3, './workers/poolifier/function-to-bench-worker.js' ) diff --git a/benchmarks/versus-external-pools/fixed-poolifier.js b/benchmarks/versus-external-pools/fixed-poolifier.js index 345fd806..e32a1166 100644 --- a/benchmarks/versus-external-pools/fixed-poolifier.js +++ b/benchmarks/versus-external-pools/fixed-poolifier.js @@ -9,7 +9,7 @@ const data = { } const fixedPool = new FixedThreadPool( - size, + Number(size), './workers/poolifier/function-to-bench-worker.js' ) diff --git a/benchmarks/versus-external-pools/package-lock.json b/benchmarks/versus-external-pools/package-lock.json index e52cd5d1..e3ba4c98 100644 --- a/benchmarks/versus-external-pools/package-lock.json +++ b/benchmarks/versus-external-pools/package-lock.json @@ -155,9 +155,9 @@ "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", diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index 06d0ba05..8e4eb770 100644 --- a/benchmarks/versus-external-pools/package.json +++ b/benchmarks/versus-external-pools/package.json @@ -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" -- 2.34.1