From: Jérôme Benoit Date: Mon, 4 Sep 2023 20:34:44 +0000 (+0200) Subject: docs: update benchmarks vs. external pools X-Git-Tag: v2.6.42~11 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=92caf8ecd4619f449f9496c4aef40f9deeab4fe5;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 f8b84b28..1e2c5106 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` | 12.906 ± 0.191 | 12.717 | 13.619 | 1.00 | -| `node fixed-poolifier.mjs` | 13.016 ± 0.272 | 12.722 | 13.886 | 1.01 ± 0.03 | -| `node dynamic-piscina.mjs` | 15.668 ± 0.236 | 15.169 | 16.210 | 1.21 ± 0.03 | -| `node fixed-piscina.mjs` | 15.677 ± 0.286 | 15.154 | 16.267 | 1.21 ± 0.03 | -| `node dynamic-tinypool.mjs` | 15.885 ± 0.295 | 15.393 | 16.613 | 1.23 ± 0.03 | -| `node fixed-tinypool.mjs` | 15.990 ± 0.304 | 15.529 | 16.905 | 1.24 ± 0.03 | -| `node dynamic-workerpool.mjs` | 16.674 ± 0.290 | 16.235 | 17.461 | 1.29 ± 0.03 | -| `node fixed-workerpool.mjs` | 16.686 ± 0.149 | 16.374 | 17.002 | 1.29 ± 0.02 | -| `node dynamic-worker-nodes.js` | 15.956 ± 0.208 | 15.541 | 16.569 | 1.24 ± 0.02 | -| `node fixed-worker-nodes.js` | 15.933 ± 0.217 | 15.507 | 16.349 | 1.23 ± 0.02 | -| `node dynamic-node-worker-threads-pool.mjs` | 24.516 ± 0.364 | 24.049 | 25.405 | 1.90 ± 0.04 | -| `node static-node-worker-threads-pool.mjs` | 16.555 ± 0.247 | 16.108 | 17.316 | 1.28 ± 0.03 | -| `node fixed-nanothreads.mjs` | 13.188 ± 0.193 | 13.080 | 13.983 | 1.02 ± 0.02 | +| `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 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index e9921274..55c4cafe 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.40", + "poolifier": "2.6.41", "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 419e5085..9a67011b 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.40 - version: 2.6.40 + specifier: 2.6.41 + version: 2.6.41 tinypool: specifier: 0.8.0 version: 0.8.0 @@ -124,8 +124,8 @@ packages: nice-napi: 1.0.2 dev: false - /poolifier@2.6.40: - resolution: {integrity: sha512-x7A7XMMehRFgh7TNy5kAwMyZRF7bB97A1JxZZGbEXnjT8FEObXlZ80DrYkKfdMh3J4GAHh3tl/jT/KciDxC9PA==} + /poolifier@2.6.41: + resolution: {integrity: sha512-HBKsWwrPAObND5rl5zpROZNxg74nvCBOny4/ThA0S0Ez+vC/QOnPpS24qUXJsiyKGFPm+NcoxemLYbhb17uYyg==} engines: {node: '>=16.14.0', pnpm: '>=8.6.0'} requiresBuild: true dev: false