From: Jérôme Benoit Date: Tue, 11 Jul 2023 20:24:14 +0000 (+0200) Subject: docs: update benchmarks vs. external pools X-Git-Tag: v2.6.16~9 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=72e63b83e3a8fb20fbbfaa8b9997e78e11ac39d5;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 cbce7fdc..1038d61a 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.571 ± 0.265 | 13.257 | 14.516 | 1.00 | -| `node fixed-poolifier.mjs` | 13.585 ± 0.343 | 13.296 | 14.740 | 1.00 ± 0.03 | -| `node dynamic-piscina.mjs` | 16.759 ± 0.182 | 16.596 | 17.504 | 1.23 ± 0.03 | -| `node fixed-piscina.mjs` | 16.865 ± 0.244 | 16.697 | 17.738 | 1.24 ± 0.03 | -| `node fixed-tinypool.mjs` | 16.993 ± 0.227 | 16.816 | 17.762 | 1.25 ± 0.03 | -| `node dynamic-tinypool.mjs` | 16.958 ± 0.166 | 16.847 | 17.621 | 1.25 ± 0.03 | -| `node dynamic-workerpool.mjs` | 17.709 ± 0.148 | 17.558 | 18.161 | 1.30 ± 0.03 | -| `node fixed-workerpool.mjs` | 17.728 ± 0.259 | 17.518 | 18.572 | 1.31 ± 0.03 | -| `node dynamic-worker-nodes.js` | 17.271 ± 0.209 | 16.948 | 17.615 | 1.27 ± 0.03 | -| `node fixed-worker-nodes.js` | 17.340 ± 0.170 | 17.130 | 17.914 | 1.28 ± 0.03 | -| `node dynamic-node-worker-threads-pool.mjs` | 25.861 ± 0.336 | 25.589 | 26.826 | 1.91 ± 0.04 | -| `node static-node-worker-threads-pool.mjs` | 17.689 ± 0.222 | 17.551 | 18.601 | 1.30 ± 0.03 | -| `node fixed-nanothreads.mjs` | 16.089 ± 0.130 | 15.949 | 16.495 | 1.19 ± 0.03 | +| `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 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index 097151ca..f197d8d9 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.10", + "poolifier": "2.6.15", "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 7859ec5b..4093fe8a 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.10 - version: 2.6.10 + specifier: 2.6.15 + version: 2.6.15 tinypool: specifier: 0.7.0 version: 0.7.0 @@ -122,8 +122,8 @@ packages: nice-napi: 1.0.2 dev: false - /poolifier@2.6.10: - resolution: {integrity: sha512-FYi3n9wRRbFZ4V4I2WNN4QlXXNoJdosoeiS3t8EVFfwYlt4bLRdmWhjihuP4fTwfV0zKt1+qkM+D4dyqWqDnVA==} + /poolifier@2.6.15: + resolution: {integrity: sha512-SwkU2Z/R+rFH5zqWr0zhndGTZNgHkwWK90jfl1h5mTxuKowcW5aWMtlC103IVWk7sgtcFvOQSqrlV3iDkrbkvA==} engines: {node: '>=16.14.0', pnpm: '>=8.6.0'} requiresBuild: true dev: false