From 5638c7017358a21cfa338aaadbaa230e2df2446a Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 17 Jul 2023 00:23:44 +0200 Subject: [PATCH] docs: update benchmark 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 36d5f0da..4b8a8677 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.698 ± 0.439 | 13.335 | 15.332 | 1.00 | -| `node fixed-poolifier.mjs` | 13.737 ± 0.348 | 13.442 | 14.654 | 1.00 ± 0.04 | -| `node dynamic-piscina.mjs` | 16.939 ± 0.237 | 16.729 | 17.799 | 1.24 ± 0.04 | -| `node fixed-piscina.mjs` | 17.335 ± 0.547 | 16.765 | 18.645 | 1.27 ± 0.06 | -| `node fixed-tinypool.mjs` | 17.227 ± 0.307 | 16.989 | 18.097 | 1.26 ± 0.05 | -| `node dynamic-tinypool.mjs` | 17.222 ± 0.305 | 16.958 | 18.126 | 1.26 ± 0.05 | -| `node dynamic-workerpool.mjs` | 17.853 ± 0.176 | 17.696 | 18.332 | 1.30 ± 0.04 | -| `node fixed-workerpool.mjs` | 17.833 ± 0.186 | 17.667 | 18.475 | 1.30 ± 0.04 | -| `node dynamic-worker-nodes.js` | 17.226 ± 0.226 | 17.032 | 17.955 | 1.26 ± 0.04 | -| `node fixed-worker-nodes.js` | 17.232 ± 0.309 | 17.012 | 18.436 | 1.26 ± 0.05 | -| `node dynamic-node-worker-threads-pool.mjs` | 25.746 ± 0.335 | 25.409 | 26.637 | 1.88 ± 0.07 | -| `node static-node-worker-threads-pool.mjs` | 17.591 ± 0.246 | 17.344 | 18.305 | 1.28 ± 0.04 | -| `node fixed-nanothreads.mjs` | 16.006 ± 0.212 | 15.842 | 16.584 | 1.17 ± 0.04 | +| `node dynamic-poolifier.mjs` | 13.148 ± 0.232 | 12.872 | 13.725 | 1.01 ± 0.03 | +| `node fixed-poolifier.mjs` | 12.978 ± 0.276 | 12.750 | 13.960 | 1.00 | +| `node dynamic-piscina.mjs` | 15.765 ± 0.233 | 15.458 | 16.478 | 1.21 ± 0.03 | +| `node fixed-piscina.mjs` | 15.764 ± 0.184 | 15.434 | 16.152 | 1.21 ± 0.03 | +| `node dynamic-tinypool.mjs` | 15.926 ± 0.283 | 15.458 | 16.849 | 1.23 ± 0.03 | +| `node fixed-tinypool.mjs` | 15.894 ± 0.234 | 15.545 | 16.488 | 1.22 ± 0.03 | +| `node dynamic-workerpool.mjs` | 16.787 ± 0.155 | 16.524 | 17.122 | 1.29 ± 0.03 | +| `node fixed-workerpool.mjs` | 16.851 ± 0.181 | 16.572 | 17.300 | 1.30 ± 0.03 | +| `node dynamic-worker-nodes.js` | 16.044 ± 0.170 | 15.826 | 16.430 | 1.24 ± 0.03 | +| `node fixed-worker-nodes.js` | 16.017 ± 0.199 | 15.732 | 16.549 | 1.23 ± 0.03 | +| `node dynamic-node-worker-threads-pool.mjs` | 24.096 ± 0.256 | 23.735 | 24.824 | 1.86 ± 0.04 | +| `node static-node-worker-threads-pool.mjs` | 16.586 ± 0.159 | 16.156 | 16.884 | 1.28 ± 0.03 | +| `node fixed-nanothreads.mjs` | 13.223 ± 0.228 | 13.084 | 14.178 | 1.02 ± 0.03 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index 5c054fdc..fe868fbe 100644 --- a/benchmarks/versus-external-pools/package.json +++ b/benchmarks/versus-external-pools/package.json @@ -20,7 +20,7 @@ "nanothreads": "0.3.7", "node-worker-threads-pool": "1.5.1", "piscina": "4.0.0", - "poolifier": "2.6.16", + "poolifier": "2.6.17", "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 6198f7e7..fca4cf89 100644 --- a/benchmarks/versus-external-pools/pnpm-lock.yaml +++ b/benchmarks/versus-external-pools/pnpm-lock.yaml @@ -15,8 +15,8 @@ dependencies: specifier: 4.0.0 version: 4.0.0 poolifier: - specifier: 2.6.16 - version: 2.6.16 + specifier: 2.6.17 + version: 2.6.17 tinypool: specifier: 0.7.0 version: 0.7.0 @@ -122,8 +122,8 @@ packages: nice-napi: 1.0.2 dev: false - /poolifier@2.6.16: - resolution: {integrity: sha512-SdUn/z7k4F2oVK1KNudrdZa/MuIXK5HBGsogBTB+1ekFCwSX+3KDaLMlhcvc08DKY9CWtmRZWpuM6MhlvY4Kxw==} + /poolifier@2.6.17: + resolution: {integrity: sha512-inFx7imhKy34H9irFyJ3eOmaoueM8/nkQDf3jeJ99jyKVqd7BZdAufABCQtvHok9zievuaEOUx5WqPsk38Utcg==} engines: {node: '>=16.14.0', pnpm: '>=8.6.0'} requiresBuild: true dev: false -- 2.34.1