From 59d8d6701fbdd08e90d95b38c5d8ecbe14a18864 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 21 Aug 2023 12:37:10 +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 | 2 +- .../versus-external-pools/pnpm-lock.yaml | 8 +++--- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/benchmarks/versus-external-pools/BENCH-100000.md b/benchmarks/versus-external-pools/BENCH-100000.md index 80c2afcd..15010d79 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.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 | +| `node dynamic-poolifier.mjs` | 13.219 ± 0.203 | 12.937 | 13.715 | 1.00 | +| `node fixed-poolifier.mjs` | 13.274 ± 0.191 | 13.089 | 13.987 | 1.00 ± 0.02 | +| `node dynamic-piscina.mjs` | 15.909 ± 0.374 | 15.431 | 16.792 | 1.20 ± 0.03 | +| `node fixed-piscina.mjs` | 15.845 ± 0.362 | 15.409 | 17.045 | 1.20 ± 0.03 | +| `node dynamic-tinypool.mjs` | 16.061 ± 0.343 | 15.590 | 16.850 | 1.22 ± 0.03 | +| `node fixed-tinypool.mjs` | 16.279 ± 0.344 | 15.783 | 17.012 | 1.23 ± 0.03 | +| `node dynamic-workerpool.mjs` | 16.880 ± 0.362 | 16.310 | 17.880 | 1.28 ± 0.03 | +| `node fixed-workerpool.mjs` | 16.996 ± 0.339 | 16.448 | 17.650 | 1.29 ± 0.03 | +| `node dynamic-worker-nodes.js` | 16.145 ± 0.313 | 15.680 | 16.936 | 1.22 ± 0.03 | +| `node fixed-worker-nodes.js` | 16.022 ± 0.310 | 15.598 | 16.741 | 1.21 ± 0.03 | +| `node dynamic-node-worker-threads-pool.mjs` | 24.820 ± 0.306 | 24.382 | 25.424 | 1.88 ± 0.04 | +| `node static-node-worker-threads-pool.mjs` | 16.817 ± 0.404 | 16.171 | 17.618 | 1.27 ± 0.04 | +| `node fixed-nanothreads.mjs` | 13.482 ± 0.260 | 13.289 | 14.371 | 1.02 ± 0.03 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index 9ddbf59e..a8053fe7 100644 --- a/benchmarks/versus-external-pools/package.json +++ b/benchmarks/versus-external-pools/package.json @@ -21,7 +21,7 @@ "nanothreads": "0.3.7", "node-worker-threads-pool": "1.5.1", "piscina": "4.1.0", - "poolifier": "2.6.28", + "poolifier": "2.6.31", "tinypool": "0.8.0", "worker-nodes": "2.6.0", "workerpool": "6.4.1" diff --git a/benchmarks/versus-external-pools/pnpm-lock.yaml b/benchmarks/versus-external-pools/pnpm-lock.yaml index 6f84a9b7..c4ebd06e 100644 --- a/benchmarks/versus-external-pools/pnpm-lock.yaml +++ b/benchmarks/versus-external-pools/pnpm-lock.yaml @@ -15,8 +15,8 @@ dependencies: specifier: 4.1.0 version: 4.1.0 poolifier: - specifier: 2.6.28 - version: 2.6.28 + specifier: 2.6.31 + version: 2.6.31 tinypool: specifier: 0.8.0 version: 0.8.0 @@ -124,8 +124,8 @@ packages: nice-napi: 1.0.2 dev: false - /poolifier@2.6.28: - resolution: {integrity: sha512-dm3N/BcJ6n1m9aDidXYx53mI7nQc1QvTGdIL0rA29hOjLsfWq6+7pz977vnxvfGxKG5+pCG+VIT7PcJENQSzng==} + /poolifier@2.6.31: + resolution: {integrity: sha512-cLk0Dp8UF81iG8oUo9NcM9a5sBugX38D01aY/Kn+lC+LRkrJlLuHyRskx0KQaSW7SKQmM4Z0ac2XC0ZMvcF1FQ==} engines: {node: '>=16.14.0', pnpm: '>=8.6.0'} requiresBuild: true dev: false -- 2.34.1