From 12a8645b5b7fdcb0f1f46403b90ebcc1a8aca505 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 17 Aug 2023 22:44:56 +0200 Subject: [PATCH] docs: update benchmarks vs. external pools MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .../versus-external-pools/BENCH-100000.md | 26 +++++++++---------- benchmarks/versus-external-pools/package.json | 6 ++--- .../versus-external-pools/pnpm-lock.yaml | 24 ++++++++--------- 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/benchmarks/versus-external-pools/BENCH-100000.md b/benchmarks/versus-external-pools/BENCH-100000.md index f726e745..80c2afcd 100644 --- a/benchmarks/versus-external-pools/BENCH-100000.md +++ b/benchmarks/versus-external-pools/BENCH-100000.md @@ -1,15 +1,15 @@ | Command | Mean [s] | Min [s] | Max [s] | Relative | | :------------------------------------------ | -------------: | ------: | ------: | ----------: | -| `node dynamic-poolifier.mjs` | 13.425 ± 0.439 | 12.922 | 14.805 | 1.01 ± 0.04 | -| `node fixed-poolifier.mjs` | 13.314 ± 0.319 | 12.906 | 14.008 | 1.00 | -| `node dynamic-piscina.mjs` | 16.024 ± 0.369 | 15.523 | 16.939 | 1.20 ± 0.04 | -| `node fixed-piscina.mjs` | 16.107 ± 0.391 | 15.388 | 16.780 | 1.21 ± 0.04 | -| `node dynamic-tinypool.mjs` | 16.402 ± 0.362 | 15.913 | 17.407 | 1.23 ± 0.04 | -| `node fixed-tinypool.mjs` | 16.285 ± 0.209 | 15.847 | 16.750 | 1.22 ± 0.03 | -| `node dynamic-workerpool.mjs` | 17.199 ± 0.393 | 16.747 | 18.028 | 1.29 ± 0.04 | -| `node fixed-workerpool.mjs` | 17.404 ± 0.396 | 16.925 | 18.536 | 1.31 ± 0.04 | -| `node dynamic-worker-nodes.js` | 16.448 ± 0.372 | 15.906 | 17.230 | 1.24 ± 0.04 | -| `node fixed-worker-nodes.js` | 16.341 ± 0.282 | 15.950 | 16.998 | 1.23 ± 0.04 | -| `node dynamic-node-worker-threads-pool.mjs` | 24.623 ± 0.402 | 24.088 | 25.593 | 1.85 ± 0.05 | -| `node static-node-worker-threads-pool.mjs` | 16.969 ± 0.392 | 16.407 | 17.694 | 1.27 ± 0.04 | -| `node fixed-nanothreads.mjs` | 13.734 ± 0.263 | 13.379 | 14.132 | 1.03 ± 0.03 | +| `node dynamic-poolifier.mjs` | 13.081 ± 0.309 | 12.556 | 13.850 | 1.01 ± 0.03 | +| `node fixed-poolifier.mjs` | 12.978 ± 0.185 | 12.755 | 13.500 | 1.00 | +| `node dynamic-piscina.mjs` | 15.752 ± 0.284 | 15.399 | 16.444 | 1.21 ± 0.03 | +| `node fixed-piscina.mjs` | 15.707 ± 0.185 | 15.375 | 16.221 | 1.21 ± 0.02 | +| `node dynamic-tinypool.mjs` | 15.807 ± 0.172 | 15.487 | 16.151 | 1.22 ± 0.02 | +| `node fixed-tinypool.mjs` | 15.880 ± 0.244 | 15.474 | 16.555 | 1.22 ± 0.03 | +| `node dynamic-workerpool.mjs` | 16.592 ± 0.266 | 16.009 | 17.387 | 1.28 ± 0.03 | +| `node fixed-workerpool.mjs` | 16.643 ± 0.215 | 16.310 | 17.324 | 1.28 ± 0.02 | +| `node dynamic-worker-nodes.js` | 15.952 ± 0.202 | 15.583 | 16.344 | 1.23 ± 0.02 | +| `node fixed-worker-nodes.js` | 15.883 ± 0.190 | 15.579 | 16.451 | 1.22 ± 0.02 | +| `node dynamic-node-worker-threads-pool.mjs` | 24.243 ± 0.338 | 23.814 | 25.380 | 1.87 ± 0.04 | +| `node static-node-worker-threads-pool.mjs` | 16.481 ± 0.173 | 16.129 | 16.962 | 1.27 ± 0.02 | +| `node fixed-nanothreads.mjs` | 13.130 ± 0.244 | 12.965 | 13.935 | 1.01 ± 0.02 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index 965cd16c..9ddbf59e 100644 --- a/benchmarks/versus-external-pools/package.json +++ b/benchmarks/versus-external-pools/package.json @@ -21,9 +21,9 @@ "nanothreads": "0.3.7", "node-worker-threads-pool": "1.5.1", "piscina": "4.1.0", - "poolifier": "2.6.25", - "tinypool": "0.7.0", + "poolifier": "2.6.28", + "tinypool": "0.8.0", "worker-nodes": "2.6.0", - "workerpool": "6.4.0" + "workerpool": "6.4.1" } } diff --git a/benchmarks/versus-external-pools/pnpm-lock.yaml b/benchmarks/versus-external-pools/pnpm-lock.yaml index 132f8d1a..6f84a9b7 100644 --- a/benchmarks/versus-external-pools/pnpm-lock.yaml +++ b/benchmarks/versus-external-pools/pnpm-lock.yaml @@ -15,17 +15,17 @@ dependencies: specifier: 4.1.0 version: 4.1.0 poolifier: - specifier: 2.6.25 - version: 2.6.25 + specifier: 2.6.28 + version: 2.6.28 tinypool: - specifier: 0.7.0 - version: 0.7.0 + specifier: 0.8.0 + version: 0.8.0 worker-nodes: specifier: 2.6.0 version: 2.6.0 workerpool: - specifier: 6.4.0 - version: 6.4.0 + specifier: 6.4.1 + version: 6.4.1 packages: @@ -124,14 +124,14 @@ packages: nice-napi: 1.0.2 dev: false - /poolifier@2.6.25: - resolution: {integrity: sha512-e8RNC8txuDO7x1ALNMDTUVWyrsMCod3krp/ZIhR+L9Q0KpoywwHekyWnRB4V2PYW/B1yxvXoPbQi1a2hZOfsNw==} + /poolifier@2.6.28: + resolution: {integrity: sha512-dm3N/BcJ6n1m9aDidXYx53mI7nQc1QvTGdIL0rA29hOjLsfWq6+7pz977vnxvfGxKG5+pCG+VIT7PcJENQSzng==} engines: {node: '>=16.14.0', pnpm: '>=8.6.0'} requiresBuild: true dev: false - /tinypool@0.7.0: - resolution: {integrity: sha512-zSYNUlYSMhJ6Zdou4cJwo/p7w5nmAH17GRfU/ui3ctvjXFErXXkruT4MWW6poDeXgCaIBlGLrfU6TbTXxyGMww==} + /tinypool@0.8.0: + resolution: {integrity: sha512-BkMhpw8M8y9+XBOEP57Wzbw/8IoJYtL1OvFjX+88IvwzAqVhwEV2TID0lZ1l4b5dPhjzSFQrhWdD2CLWt+oXRw==} engines: {node: '>=14.0.0'} dev: false @@ -142,6 +142,6 @@ packages: msgpack-lite: 0.1.26 dev: false - /workerpool@6.4.0: - resolution: {integrity: sha512-i3KR1mQMNwY2wx20ozq2EjISGtQWDIfV56We+yGJ5yDs8jTwQiLLaqHlkBHITlCuJnYlVRmXegxFxZg7gqI++A==} + /workerpool@6.4.1: + resolution: {integrity: sha512-zIK7qRgM1Mk+ySxOJl7ZpjX6SlKt5gugxzl8eXHPdbpXX8iDAaVIxYJz4Apn6JdDxP2buY/Ekqg0bOLNSf0u0g==} dev: false -- 2.34.1