From e41e326cd1517a7ce3e28d7d0e107adde50d0b6e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 28 Jun 2023 01:00:19 +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 | 24 +++++++++---------- benchmarks/versus-external-pools/package.json | 2 +- .../versus-external-pools/pnpm-lock.yaml | 8 +++---- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/benchmarks/versus-external-pools/BENCH-100000.md b/benchmarks/versus-external-pools/BENCH-100000.md index f26b3cfb..09339118 100644 --- a/benchmarks/versus-external-pools/BENCH-100000.md +++ b/benchmarks/versus-external-pools/BENCH-100000.md @@ -1,14 +1,14 @@ | Command | Mean [s] | Min [s] | Max [s] | Relative | | :------------------------------------------ | -------------: | ------: | ------: | ----------: | -| `node dynamic-poolifier.mjs` | 14.127 ± 0.180 | 13.900 | 14.758 | 1.01 ± 0.03 | -| `node fixed-poolifier.mjs` | 13.986 ± 0.343 | 13.724 | 14.917 | 1.00 | -| `node dynamic-piscina.mjs` | 14.985 ± 0.267 | 14.859 | 16.106 | 1.07 ± 0.03 | -| `node fixed-piscina.mjs` | 16.188 ± 0.257 | 16.001 | 17.030 | 1.16 ± 0.03 | -| `node fixed-tinypool.mjs` | 16.187 ± 0.220 | 16.044 | 17.086 | 1.16 ± 0.03 | -| `node dynamic-tinypool.mjs` | 15.063 ± 0.197 | 14.931 | 15.856 | 1.08 ± 0.03 | -| `node dynamic-workerpool.mjs` | 16.526 ± 0.151 | 16.359 | 16.964 | 1.18 ± 0.03 | -| `node fixed-workerpool.mjs` | 16.987 ± 0.173 | 16.846 | 17.676 | 1.21 ± 0.03 | -| `node dynamic-worker-nodes.js` | 15.652 ± 0.138 | 15.478 | 15.991 | 1.12 ± 0.03 | -| `node fixed-worker-nodes.js` | 16.330 ± 0.234 | 16.160 | 16.989 | 1.17 ± 0.03 | -| `node dynamic-node-worker-threads-pool.mjs` | 24.701 ± 0.352 | 24.459 | 25.842 | 1.77 ± 0.05 | -| `node static-node-worker-threads-pool.mjs` | 16.581 ± 0.159 | 16.475 | 17.217 | 1.19 ± 0.03 | +| `node dynamic-poolifier.mjs` | 13.897 ± 0.318 | 13.507 | 14.836 | 1.01 ± 0.03 | +| `node fixed-poolifier.mjs` | 13.729 ± 0.319 | 13.467 | 14.507 | 1.00 | +| `node dynamic-piscina.mjs` | 14.860 ± 0.402 | 14.538 | 15.779 | 1.08 ± 0.04 | +| `node fixed-piscina.mjs` | 15.846 ± 0.189 | 15.668 | 16.389 | 1.15 ± 0.03 | +| `node fixed-tinypool.mjs` | 15.743 ± 0.149 | 15.611 | 16.136 | 1.15 ± 0.03 | +| `node dynamic-tinypool.mjs` | 14.704 ± 0.198 | 14.479 | 15.240 | 1.07 ± 0.03 | +| `node dynamic-workerpool.mjs` | 16.182 ± 0.223 | 15.937 | 16.709 | 1.18 ± 0.03 | +| `node fixed-workerpool.mjs` | 16.739 ± 0.243 | 16.460 | 17.282 | 1.22 ± 0.03 | +| `node dynamic-worker-nodes.js` | 15.366 ± 0.298 | 15.112 | 16.362 | 1.12 ± 0.03 | +| `node fixed-worker-nodes.js` | 16.000 ± 0.231 | 15.718 | 16.664 | 1.17 ± 0.03 | +| `node dynamic-node-worker-threads-pool.mjs` | 24.244 ± 0.308 | 23.921 | 25.100 | 1.77 ± 0.05 | +| `node static-node-worker-threads-pool.mjs` | 16.258 ± 0.203 | 16.063 | 16.873 | 1.18 ± 0.03 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index 8478510e..5f47089c 100644 --- a/benchmarks/versus-external-pools/package.json +++ b/benchmarks/versus-external-pools/package.json @@ -19,7 +19,7 @@ "dependencies": { "node-worker-threads-pool": "1.5.1", "piscina": "4.0.0", - "poolifier": "2.6.3", + "poolifier": "2.6.5", "tinypool": "0.5.0", "worker-nodes": "2.6.0", "workerpool": "6.4.0" diff --git a/benchmarks/versus-external-pools/pnpm-lock.yaml b/benchmarks/versus-external-pools/pnpm-lock.yaml index 69c4154d..dbcaec65 100644 --- a/benchmarks/versus-external-pools/pnpm-lock.yaml +++ b/benchmarks/versus-external-pools/pnpm-lock.yaml @@ -12,8 +12,8 @@ dependencies: specifier: 4.0.0 version: 4.0.0 poolifier: - specifier: 2.6.3 - version: 2.6.3 + specifier: 2.6.5 + version: 2.6.5 tinypool: specifier: 0.5.0 version: 0.5.0 @@ -115,8 +115,8 @@ packages: nice-napi: 1.0.2 dev: false - /poolifier@2.6.3: - resolution: {integrity: sha512-5kQjBXqeW8dbzlmDxKRvlC6Vi2zBrpiviVb53rupdQWIsivB6waApeJT4ayhVVLqKGrvLVr9HAeBMHBJaNUDVA==} + /poolifier@2.6.5: + resolution: {integrity: sha512-lSyoqFAsaWcZAY4n40qyxnnsdGLD0XuWNM/l76tcbuwbmhRaZPQtzwmtRRgvrYE4NtTifdzGVbK56e8HajgWNA==} engines: {node: '>=16.14.0', pnpm: '>=8.6.0'} requiresBuild: true dev: false -- 2.34.1