From c5bde3a17c9719820b136c202d4eeca0fb43cad9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 14 Aug 2023 01:39:31 +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 674fc673..f726e745 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.233 ± 0.364 | 12.806 | 14.057 | 1.00 | -| `node fixed-poolifier.mjs` | 13.297 ± 0.351 | 12.814 | 13.911 | 1.00 ± 0.04 | -| `node dynamic-piscina.mjs` | 15.913 ± 0.481 | 15.189 | 17.310 | 1.20 ± 0.05 | -| `node fixed-piscina.mjs` | 16.043 ± 0.331 | 15.608 | 16.603 | 1.21 ± 0.04 | -| `node dynamic-tinypool.mjs` | 16.169 ± 0.376 | 15.666 | 17.091 | 1.22 ± 0.04 | -| `node fixed-tinypool.mjs` | 16.089 ± 0.335 | 15.366 | 16.643 | 1.22 ± 0.04 | -| `node dynamic-workerpool.mjs` | 17.063 ± 0.368 | 16.381 | 17.712 | 1.29 ± 0.05 | -| `node fixed-workerpool.mjs` | 17.190 ± 0.494 | 16.588 | 18.583 | 1.30 ± 0.05 | -| `node dynamic-worker-nodes.js` | 16.273 ± 0.416 | 15.740 | 17.196 | 1.23 ± 0.05 | -| `node fixed-worker-nodes.js` | 16.217 ± 0.257 | 15.853 | 16.901 | 1.23 ± 0.04 | -| `node dynamic-node-worker-threads-pool.mjs` | 24.740 ± 0.451 | 24.090 | 25.704 | 1.87 ± 0.06 | -| `node static-node-worker-threads-pool.mjs` | 16.811 ± 0.305 | 16.473 | 17.440 | 1.27 ± 0.04 | -| `node fixed-nanothreads.mjs` | 13.542 ± 0.438 | 13.199 | 14.946 | 1.02 ± 0.04 | +| `node dynamic-poolifier.mjs` | 13.425 ± 0.439 | 12.922 | 14.805 | 1.01 ± 0.04 | +| `node fixed-poolifier.mjs` | 13.314 ± 0.319 | 12.906 | 14.008 | 1.00 | +| `node dynamic-piscina.mjs` | 16.024 ± 0.369 | 15.523 | 16.939 | 1.20 ± 0.04 | +| `node fixed-piscina.mjs` | 16.107 ± 0.391 | 15.388 | 16.780 | 1.21 ± 0.04 | +| `node dynamic-tinypool.mjs` | 16.402 ± 0.362 | 15.913 | 17.407 | 1.23 ± 0.04 | +| `node fixed-tinypool.mjs` | 16.285 ± 0.209 | 15.847 | 16.750 | 1.22 ± 0.03 | +| `node dynamic-workerpool.mjs` | 17.199 ± 0.393 | 16.747 | 18.028 | 1.29 ± 0.04 | +| `node fixed-workerpool.mjs` | 17.404 ± 0.396 | 16.925 | 18.536 | 1.31 ± 0.04 | +| `node dynamic-worker-nodes.js` | 16.448 ± 0.372 | 15.906 | 17.230 | 1.24 ± 0.04 | +| `node fixed-worker-nodes.js` | 16.341 ± 0.282 | 15.950 | 16.998 | 1.23 ± 0.04 | +| `node dynamic-node-worker-threads-pool.mjs` | 24.623 ± 0.402 | 24.088 | 25.593 | 1.85 ± 0.05 | +| `node static-node-worker-threads-pool.mjs` | 16.969 ± 0.392 | 16.407 | 17.694 | 1.27 ± 0.04 | +| `node fixed-nanothreads.mjs` | 13.734 ± 0.263 | 13.379 | 14.132 | 1.03 ± 0.03 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index b7559825..965cd16c 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.21", + "poolifier": "2.6.25", "tinypool": "0.7.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 fd8cf919..132f8d1a 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.21 - version: 2.6.21 + specifier: 2.6.25 + version: 2.6.25 tinypool: specifier: 0.7.0 version: 0.7.0 @@ -124,8 +124,8 @@ packages: nice-napi: 1.0.2 dev: false - /poolifier@2.6.21: - resolution: {integrity: sha512-TOTocb/Ek8UfZBvoJNWlEWSQJUv6In0GCGwMyI8W+WHfaS2ukkxwfYJE+AcVA9ezPfZTDso+AsqLVrs1acTWDA==} + /poolifier@2.6.25: + resolution: {integrity: sha512-e8RNC8txuDO7x1ALNMDTUVWyrsMCod3krp/ZIhR+L9Q0KpoywwHekyWnRB4V2PYW/B1yxvXoPbQi1a2hZOfsNw==} engines: {node: '>=16.14.0', pnpm: '>=8.6.0'} requiresBuild: true dev: false -- 2.34.1