From: Jérôme Benoit Date: Thu, 29 Jun 2023 18:35:11 +0000 (+0200) Subject: docs: update benchmarks vs. external pools X-Git-Tag: v2.6.6~13 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=25f5b5de1c522d29f7a16597245a2f7c9434b124;p=poolifier.git docs: update benchmarks vs. external pools Signed-off-by: Jérôme Benoit --- diff --git a/benchmarks/versus-external-pools/BENCH-100000.md b/benchmarks/versus-external-pools/BENCH-100000.md index 09339118..9a97e6f9 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` | 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 | +| `node dynamic-poolifier.mjs` | 13.715 ± 0.223 | 13.469 | 14.484 | 1.01 ± 0.03 | +| `node fixed-poolifier.mjs` | 13.571 ± 0.294 | 13.312 | 14.406 | 1.00 | +| `node dynamic-piscina.mjs` | 14.699 ± 0.186 | 14.539 | 15.320 | 1.08 ± 0.03 | +| `node fixed-piscina.mjs` | 15.779 ± 0.201 | 15.630 | 16.501 | 1.16 ± 0.03 | +| `node fixed-tinypool.mjs` | 16.002 ± 0.149 | 15.843 | 16.526 | 1.18 ± 0.03 | +| `node dynamic-tinypool.mjs` | 14.940 ± 0.213 | 14.806 | 15.812 | 1.10 ± 0.03 | +| `node dynamic-workerpool.mjs` | 16.167 ± 0.235 | 15.947 | 16.847 | 1.19 ± 0.03 | +| `node fixed-workerpool.mjs` | 16.621 ± 0.177 | 16.477 | 17.303 | 1.22 ± 0.03 | +| `node dynamic-worker-nodes.js` | 15.428 ± 0.266 | 15.234 | 16.350 | 1.14 ± 0.03 | +| `node fixed-worker-nodes.js` | 15.918 ± 0.132 | 15.784 | 16.319 | 1.17 ± 0.03 | +| `node dynamic-node-worker-threads-pool.mjs` | 24.262 ± 0.197 | 24.049 | 24.923 | 1.79 ± 0.04 | +| `node static-node-worker-threads-pool.mjs` | 16.235 ± 0.114 | 16.107 | 16.540 | 1.20 ± 0.03 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index 5f47089c..14fc7200 100644 --- a/benchmarks/versus-external-pools/package.json +++ b/benchmarks/versus-external-pools/package.json @@ -20,7 +20,7 @@ "node-worker-threads-pool": "1.5.1", "piscina": "4.0.0", "poolifier": "2.6.5", - "tinypool": "0.5.0", + "tinypool": "0.6.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 dbcaec65..6e233e54 100644 --- a/benchmarks/versus-external-pools/pnpm-lock.yaml +++ b/benchmarks/versus-external-pools/pnpm-lock.yaml @@ -15,8 +15,8 @@ dependencies: specifier: 2.6.5 version: 2.6.5 tinypool: - specifier: 0.5.0 - version: 0.5.0 + specifier: 0.6.0 + version: 0.6.0 worker-nodes: specifier: 2.6.0 version: 2.6.0 @@ -121,8 +121,8 @@ packages: requiresBuild: true dev: false - /tinypool@0.5.0: - resolution: {integrity: sha512-paHQtnrlS1QZYKF/GnLoOM/DN9fqaGOFbCbxzAhwniySnzl9Ebk8w73/dd34DAhe/obUbPAOldTyYXQZxnPBPQ==} + /tinypool@0.6.0: + resolution: {integrity: sha512-FdswUUo5SxRizcBc6b1GSuLpLjisa8N8qMyYoP3rl+bym+QauhtJP5bvZY1ytt8krKGmMLYIRl36HBZfeAoqhQ==} engines: {node: '>=14.0.0'} dev: false