From cdf3d38ffa453b28c4f76faae11a33f7cbc10aaa Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 29 Aug 2023 01:54:52 +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 97d7b3c5..2bf876dd 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.232 ± 0.281 | 12.797 | 14.015 | 1.00 | -| `node fixed-poolifier.mjs` | 13.271 ± 0.284 | 13.017 | 14.304 | 1.00 ± 0.03 | -| `node dynamic-piscina.mjs` | 15.914 ± 0.295 | 15.416 | 16.477 | 1.20 ± 0.03 | -| `node fixed-piscina.mjs` | 16.013 ± 0.270 | 15.439 | 16.432 | 1.21 ± 0.03 | -| `node dynamic-tinypool.mjs` | 16.197 ± 0.336 | 15.692 | 16.976 | 1.22 ± 0.04 | -| `node fixed-tinypool.mjs` | 16.291 ± 0.320 | 15.841 | 17.038 | 1.23 ± 0.04 | -| `node dynamic-workerpool.mjs` | 17.093 ± 0.287 | 16.682 | 17.575 | 1.29 ± 0.03 | -| `node fixed-workerpool.mjs` | 17.026 ± 0.285 | 16.692 | 17.779 | 1.29 ± 0.03 | -| `node dynamic-worker-nodes.js` | 16.267 ± 0.281 | 15.908 | 17.096 | 1.23 ± 0.03 | -| `node fixed-worker-nodes.js` | 16.354 ± 0.431 | 15.687 | 17.830 | 1.24 ± 0.04 | -| `node dynamic-node-worker-threads-pool.mjs` | 24.879 ± 0.313 | 24.439 | 25.786 | 1.88 ± 0.05 | -| `node static-node-worker-threads-pool.mjs` | 17.016 ± 0.254 | 16.475 | 17.801 | 1.29 ± 0.03 | -| `node fixed-nanothreads.mjs` | 13.646 ± 0.232 | 13.368 | 14.272 | 1.03 ± 0.03 | +| `node dynamic-poolifier.mjs` | 13.107 ± 0.267 | 12.802 | 13.942 | 1.00 | +| `node fixed-poolifier.mjs` | 13.121 ± 0.119 | 12.936 | 13.431 | 1.00 ± 0.02 | +| `node dynamic-piscina.mjs` | 15.682 ± 0.231 | 15.321 | 16.072 | 1.20 ± 0.03 | +| `node fixed-piscina.mjs` | 15.585 ± 0.278 | 15.193 | 16.278 | 1.19 ± 0.03 | +| `node dynamic-tinypool.mjs` | 15.924 ± 0.315 | 15.498 | 16.918 | 1.21 ± 0.03 | +| `node fixed-tinypool.mjs` | 15.918 ± 0.307 | 15.363 | 16.479 | 1.21 ± 0.03 | +| `node dynamic-workerpool.mjs` | 16.740 ± 0.387 | 16.116 | 17.648 | 1.28 ± 0.04 | +| `node fixed-workerpool.mjs` | 16.727 ± 0.255 | 16.251 | 17.119 | 1.28 ± 0.03 | +| `node dynamic-worker-nodes.js` | 15.903 ± 0.349 | 15.385 | 16.726 | 1.21 ± 0.04 | +| `node fixed-worker-nodes.js` | 16.021 ± 0.240 | 15.360 | 16.523 | 1.22 ± 0.03 | +| `node dynamic-node-worker-threads-pool.mjs` | 24.299 ± 0.267 | 23.848 | 25.116 | 1.85 ± 0.04 | +| `node static-node-worker-threads-pool.mjs` | 16.554 ± 0.305 | 16.089 | 17.189 | 1.26 ± 0.03 | +| `node fixed-nanothreads.mjs` | 13.304 ± 0.258 | 13.134 | 14.213 | 1.01 ± 0.03 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index ce0f5057..acef9e5a 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.36", + "poolifier": "2.6.37", "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 f2db5e99..665be7f6 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.36 - version: 2.6.36 + specifier: 2.6.37 + version: 2.6.37 tinypool: specifier: 0.8.0 version: 0.8.0 @@ -124,8 +124,8 @@ packages: nice-napi: 1.0.2 dev: false - /poolifier@2.6.36: - resolution: {integrity: sha512-tSLLHNk92F54steFNRMuqpYRX03Xty8O5TTzwLvCyzhhoeW3Qe9YGRQaqClRdfAgFuSZR0wStoeZh100+/Sa8w==} + /poolifier@2.6.37: + resolution: {integrity: sha512-f2LQTGfDxIWFLyXa/Rn/DTJToR0uRrfKNpCEIyPstK2T7OJSXLQ/5LzMBW4CJbiO1th/y/0ePiFdD+EcfGKe1A==} engines: {node: '>=16.14.0', pnpm: '>=8.6.0'} requiresBuild: true dev: false -- 2.34.1