From 846560e9cf4437143fa8367d050167182054741e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 7 Sep 2023 12:14:36 +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 1e2c5106..d8bf840a 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.251 ± 0.277 | 12.974 | 14.065 | 1.00 ± 0.02 | -| `node fixed-poolifier.mjs` | 13.223 ± 0.149 | 13.010 | 13.616 | 1.00 | -| `node dynamic-piscina.mjs` | 16.147 ± 0.341 | 15.540 | 16.783 | 1.22 ± 0.03 | -| `node fixed-piscina.mjs` | 16.151 ± 0.226 | 15.810 | 16.664 | 1.22 ± 0.02 | -| `node dynamic-tinypool.mjs` | 16.250 ± 0.180 | 15.875 | 16.530 | 1.23 ± 0.02 | -| `node fixed-tinypool.mjs` | 16.280 ± 0.287 | 15.822 | 16.901 | 1.23 ± 0.03 | -| `node dynamic-workerpool.mjs` | 17.197 ± 0.195 | 16.900 | 17.698 | 1.30 ± 0.02 | -| `node fixed-workerpool.mjs` | 17.119 ± 0.259 | 16.678 | 18.052 | 1.29 ± 0.02 | -| `node dynamic-worker-nodes.js` | 16.349 ± 0.196 | 15.996 | 16.893 | 1.24 ± 0.02 | -| `node fixed-worker-nodes.js` | 16.382 ± 0.252 | 16.036 | 17.246 | 1.24 ± 0.02 | -| `node dynamic-node-worker-threads-pool.mjs` | 25.012 ± 0.452 | 24.297 | 26.244 | 1.89 ± 0.04 | -| `node static-node-worker-threads-pool.mjs` | 16.886 ± 0.173 | 16.463 | 17.200 | 1.28 ± 0.02 | -| `node fixed-nanothreads.mjs` | 13.540 ± 0.137 | 13.356 | 13.926 | 1.02 ± 0.02 | +| `node dynamic-poolifier.mjs` | 13.115 ± 0.201 | 12.915 | 13.771 | 1.00 | +| `node fixed-poolifier.mjs` | 13.137 ± 0.250 | 12.860 | 14.138 | 1.00 ± 0.02 | +| `node dynamic-piscina.mjs` | 15.991 ± 0.264 | 15.653 | 16.745 | 1.22 ± 0.03 | +| `node fixed-piscina.mjs` | 16.054 ± 0.248 | 15.429 | 16.504 | 1.22 ± 0.03 | +| `node dynamic-tinypool.mjs` | 16.246 ± 0.246 | 15.763 | 16.929 | 1.24 ± 0.03 | +| `node fixed-tinypool.mjs` | 16.349 ± 0.478 | 15.848 | 17.651 | 1.25 ± 0.04 | +| `node dynamic-workerpool.mjs` | 17.019 ± 0.192 | 16.771 | 17.627 | 1.30 ± 0.02 | +| `node fixed-workerpool.mjs` | 17.038 ± 0.215 | 16.581 | 17.466 | 1.30 ± 0.03 | +| `node dynamic-worker-nodes.js` | 16.330 ± 0.215 | 16.031 | 16.919 | 1.25 ± 0.03 | +| `node fixed-worker-nodes.js` | 16.254 ± 0.229 | 15.751 | 16.790 | 1.24 ± 0.03 | +| `node dynamic-node-worker-threads-pool.mjs` | 24.840 ± 0.288 | 24.311 | 25.702 | 1.89 ± 0.04 | +| `node static-node-worker-threads-pool.mjs` | 16.934 ± 0.224 | 16.616 | 17.387 | 1.29 ± 0.03 | +| `node fixed-nanothreads.mjs` | 13.471 ± 0.242 | 13.332 | 14.458 | 1.03 ± 0.02 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index c48dc364..a3e0c8c4 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.41", + "poolifier": "2.6.42", "tinypool": "0.8.0", "worker-nodes": "2.6.0", "workerpool": "6.4.2" diff --git a/benchmarks/versus-external-pools/pnpm-lock.yaml b/benchmarks/versus-external-pools/pnpm-lock.yaml index 9a67011b..cf7e512f 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.41 - version: 2.6.41 + specifier: 2.6.42 + version: 2.6.42 tinypool: specifier: 0.8.0 version: 0.8.0 @@ -124,8 +124,8 @@ packages: nice-napi: 1.0.2 dev: false - /poolifier@2.6.41: - resolution: {integrity: sha512-HBKsWwrPAObND5rl5zpROZNxg74nvCBOny4/ThA0S0Ez+vC/QOnPpS24qUXJsiyKGFPm+NcoxemLYbhb17uYyg==} + /poolifier@2.6.42: + resolution: {integrity: sha512-acssEu8LoFrTxppyatAVo8VpDguw1xNht6bRwl7/IPzr+PATER++ka/Fp7ClAxi0mNkUQhJwL8UUMZl0Q9wSRw==} engines: {node: '>=16.14.0', pnpm: '>=8.6.0'} requiresBuild: true dev: false -- 2.34.1