From: Jérôme Benoit Date: Fri, 14 Jul 2023 07:59:35 +0000 (+0200) Subject: docs: update benchmark vs. external pools X-Git-Tag: v2.6.17~20 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=844e618dfdec9f350ca01a779197df732bf42e1f;p=poolifier.git docs: update benchmark 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 1038d61a..36d5f0da 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.598 ± 0.250 | 13.228 | 14.386 | 1.01 ± 0.02 | -| `node fixed-poolifier.mjs` | 13.507 ± 0.167 | 13.353 | 14.094 | 1.00 | -| `node dynamic-piscina.mjs` | 16.785 ± 0.175 | 16.620 | 17.439 | 1.24 ± 0.02 | -| `node fixed-piscina.mjs` | 16.817 ± 0.257 | 16.649 | 17.784 | 1.25 ± 0.02 | -| `node fixed-tinypool.mjs` | 16.951 ± 0.155 | 16.810 | 17.491 | 1.25 ± 0.02 | -| `node dynamic-tinypool.mjs` | 16.970 ± 0.118 | 16.857 | 17.381 | 1.26 ± 0.02 | -| `node dynamic-workerpool.mjs` | 17.721 ± 0.207 | 17.556 | 18.398 | 1.31 ± 0.02 | -| `node fixed-workerpool.mjs` | 17.711 ± 0.187 | 17.526 | 18.370 | 1.31 ± 0.02 | -| `node dynamic-worker-nodes.js` | 17.073 ± 0.145 | 16.885 | 17.517 | 1.26 ± 0.02 | -| `node fixed-worker-nodes.js` | 17.096 ± 0.182 | 16.857 | 17.543 | 1.27 ± 0.02 | -| `node dynamic-node-worker-threads-pool.mjs` | 25.574 ± 0.285 | 25.301 | 26.402 | 1.89 ± 0.03 | -| `node static-node-worker-threads-pool.mjs` | 17.379 ± 0.121 | 17.266 | 17.853 | 1.29 ± 0.02 | -| `node fixed-nanothreads.mjs` | 15.955 ± 0.257 | 15.777 | 16.888 | 1.18 ± 0.02 | +| `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 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index f197d8d9..5c054fdc 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.15", + "poolifier": "2.6.16", "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 4093fe8a..6198f7e7 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.15 - version: 2.6.15 + specifier: 2.6.16 + version: 2.6.16 tinypool: specifier: 0.7.0 version: 0.7.0 @@ -122,8 +122,8 @@ packages: nice-napi: 1.0.2 dev: false - /poolifier@2.6.15: - resolution: {integrity: sha512-SwkU2Z/R+rFH5zqWr0zhndGTZNgHkwWK90jfl1h5mTxuKowcW5aWMtlC103IVWk7sgtcFvOQSqrlV3iDkrbkvA==} + /poolifier@2.6.16: + resolution: {integrity: sha512-SdUn/z7k4F2oVK1KNudrdZa/MuIXK5HBGsogBTB+1ekFCwSX+3KDaLMlhcvc08DKY9CWtmRZWpuM6MhlvY4Kxw==} engines: {node: '>=16.14.0', pnpm: '>=8.6.0'} requiresBuild: true dev: false