From: Jérôme Benoit Date: Mon, 3 Jul 2023 10:04:25 +0000 (+0200) Subject: docs: update benchmarks vs. external pools X-Git-Tag: v2.6.7~10 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=2e76f5c5f2985437cb83f4bd3fd255b95cf24996;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 9a97e6f9..257cd544 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.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 | +| `node dynamic-poolifier.mjs` | 13.740 ± 0.174 | 13.533 | 14.312 | 1.01 ± 0.02 | +| `node fixed-poolifier.mjs` | 13.563 ± 0.138 | 13.399 | 13.952 | 1.00 | +| `node dynamic-piscina.mjs` | 14.683 ± 0.235 | 14.502 | 15.579 | 1.08 ± 0.02 | +| `node fixed-piscina.mjs` | 15.818 ± 0.230 | 15.665 | 16.515 | 1.17 ± 0.02 | +| `node fixed-tinypool.mjs` | 16.044 ± 0.137 | 15.894 | 16.528 | 1.18 ± 0.02 | +| `node dynamic-tinypool.mjs` | 15.053 ± 0.305 | 14.850 | 15.937 | 1.11 ± 0.03 | +| `node dynamic-workerpool.mjs` | 16.219 ± 0.227 | 16.064 | 17.127 | 1.20 ± 0.02 | +| `node fixed-workerpool.mjs` | 16.684 ± 0.225 | 16.541 | 17.607 | 1.23 ± 0.02 | +| `node dynamic-worker-nodes.js` | 15.464 ± 0.330 | 15.208 | 16.594 | 1.14 ± 0.03 | +| `node fixed-worker-nodes.js` | 16.031 ± 0.229 | 15.870 | 16.653 | 1.18 ± 0.02 | +| `node dynamic-node-worker-threads-pool.mjs` | 24.256 ± 0.150 | 24.093 | 24.678 | 1.79 ± 0.02 | +| `node static-node-worker-threads-pool.mjs` | 16.333 ± 0.198 | 16.199 | 17.118 | 1.20 ± 0.02 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index 14fc7200..5dbf87a0 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.5", + "poolifier": "2.6.6", "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 6e233e54..02484fcd 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.5 - version: 2.6.5 + specifier: 2.6.6 + version: 2.6.6 tinypool: specifier: 0.6.0 version: 0.6.0 @@ -115,8 +115,8 @@ packages: nice-napi: 1.0.2 dev: false - /poolifier@2.6.5: - resolution: {integrity: sha512-lSyoqFAsaWcZAY4n40qyxnnsdGLD0XuWNM/l76tcbuwbmhRaZPQtzwmtRRgvrYE4NtTifdzGVbK56e8HajgWNA==} + /poolifier@2.6.6: + resolution: {integrity: sha512-u6GbjmxQp1sI9p94ucgE6gXfepxL8ZFsStrr5FSrxcMBU36RY3B0HzUck6TEQV0uhd09f4xMult0wb0F+JMxTw==} engines: {node: '>=16.14.0', pnpm: '>=8.6.0'} requiresBuild: true dev: false