From: Jérôme Benoit Date: Sat, 8 Jul 2023 23:48:20 +0000 (+0200) Subject: docs: update benchmark vs. external pools X-Git-Tag: v2.6.12~1^2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=89b4a607757d89fcc25f7b8a47d7b949638798d6;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 db3c73c7..cbce7fdc 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.386 ± 0.253 | 13.097 | 14.189 | 1.00 | -| `node fixed-poolifier.mjs` | 13.433 ± 0.146 | 13.221 | 13.842 | 1.00 ± 0.02 | -| `node dynamic-piscina.mjs` | 16.610 ± 0.236 | 16.439 | 17.296 | 1.24 ± 0.03 | -| `node fixed-piscina.mjs` | 16.612 ± 0.223 | 16.449 | 17.312 | 1.24 ± 0.03 | -| `node fixed-tinypool.mjs` | 16.784 ± 0.238 | 16.590 | 17.345 | 1.25 ± 0.03 | -| `node dynamic-tinypool.mjs` | 16.765 ± 0.222 | 16.621 | 17.469 | 1.25 ± 0.03 | -| `node dynamic-workerpool.mjs` | 17.521 ± 0.224 | 17.309 | 18.277 | 1.31 ± 0.03 | -| `node fixed-workerpool.mjs` | 17.451 ± 0.148 | 17.329 | 17.993 | 1.30 ± 0.03 | -| `node dynamic-worker-nodes.js` | 16.871 ± 0.300 | 16.651 | 17.929 | 1.26 ± 0.03 | -| `node fixed-worker-nodes.js` | 16.920 ± 0.272 | 16.649 | 17.514 | 1.26 ± 0.03 | -| `node dynamic-node-worker-threads-pool.mjs` | 25.355 ± 0.269 | 24.975 | 25.947 | 1.89 ± 0.04 | -| `node static-node-worker-threads-pool.mjs` | 17.161 ± 0.229 | 16.988 | 17.979 | 1.28 ± 0.03 | -| `node fixed-nanothreads.mjs` | 15.633 ± 0.211 | 15.505 | 16.506 | 1.17 ± 0.03 | +| `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 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index 6d3a9926..adcb291f 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.8", + "poolifier": "2.6.10", "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 3224f6ff..7859ec5b 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.8 - version: 2.6.8 + specifier: 2.6.10 + version: 2.6.10 tinypool: specifier: 0.7.0 version: 0.7.0 @@ -122,8 +122,8 @@ packages: nice-napi: 1.0.2 dev: false - /poolifier@2.6.8: - resolution: {integrity: sha512-3mBZcAlKIc6jDjrQD9KsMBVF0tpZj9SpqhumMk8giKVsNh0l6qKGp30xvQg1W6AQT9j84XHK8haNUtpHim/6Tw==} + /poolifier@2.6.10: + resolution: {integrity: sha512-FYi3n9wRRbFZ4V4I2WNN4QlXXNoJdosoeiS3t8EVFfwYlt4bLRdmWhjihuP4fTwfV0zKt1+qkM+D4dyqWqDnVA==} engines: {node: '>=16.14.0', pnpm: '>=8.6.0'} requiresBuild: true dev: false