From: Jérôme Benoit Date: Fri, 25 Aug 2023 22:10:25 +0000 (+0200) Subject: docs: update benchmarks vs. external pools X-Git-Tag: v2.6.36~21^2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=2fb233ea3f8d44a2b8d234dbfccedfe33ab9e5db;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 5ea1ecb2..e6bd15d3 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.283 ± 0.189 | 12.994 | 13.717 | 1.00 | -| `node fixed-poolifier.mjs` | 13.314 ± 0.276 | 13.095 | 14.314 | 1.00 ± 0.03 | -| `node dynamic-piscina.mjs` | 15.989 ± 0.374 | 15.437 | 16.984 | 1.20 ± 0.03 | -| `node fixed-piscina.mjs` | 16.079 ± 0.296 | 15.479 | 16.903 | 1.21 ± 0.03 | -| `node dynamic-tinypool.mjs` | 16.156 ± 0.449 | 15.632 | 17.336 | 1.22 ± 0.04 | -| `node fixed-tinypool.mjs` | 16.163 ± 0.284 | 15.635 | 16.678 | 1.22 ± 0.03 | -| `node dynamic-workerpool.mjs` | 17.078 ± 0.307 | 16.604 | 17.855 | 1.29 ± 0.03 | -| `node fixed-workerpool.mjs` | 16.960 ± 0.310 | 16.398 | 17.521 | 1.28 ± 0.03 | -| `node dynamic-worker-nodes.js` | 16.303 ± 0.279 | 15.732 | 16.915 | 1.23 ± 0.03 | -| `node fixed-worker-nodes.js` | 16.341 ± 0.289 | 15.733 | 17.014 | 1.23 ± 0.03 | -| `node dynamic-node-worker-threads-pool.mjs` | 24.852 ± 0.253 | 24.444 | 25.500 | 1.87 ± 0.03 | -| `node static-node-worker-threads-pool.mjs` | 16.855 ± 0.344 | 16.285 | 17.741 | 1.27 ± 0.03 | -| `node fixed-nanothreads.mjs` | 13.514 ± 0.267 | 13.318 | 14.213 | 1.02 ± 0.02 | +| `node dynamic-poolifier.mjs` | 13.366 ± 0.247 | 13.044 | 14.262 | 1.00 | +| `node fixed-poolifier.mjs` | 13.391 ± 0.171 | 13.181 | 13.989 | 1.00 ± 0.02 | +| `node dynamic-piscina.mjs` | 16.270 ± 0.202 | 15.916 | 16.584 | 1.22 ± 0.03 | +| `node fixed-piscina.mjs` | 16.203 ± 0.337 | 15.679 | 16.717 | 1.21 ± 0.03 | +| `node dynamic-tinypool.mjs` | 16.478 ± 0.344 | 15.956 | 17.483 | 1.23 ± 0.03 | +| `node fixed-tinypool.mjs` | 16.623 ± 0.161 | 16.238 | 16.876 | 1.24 ± 0.03 | +| `node dynamic-workerpool.mjs` | 17.451 ± 0.255 | 17.155 | 18.124 | 1.31 ± 0.03 | +| `node fixed-workerpool.mjs` | 17.437 ± 0.215 | 16.968 | 17.939 | 1.30 ± 0.03 | +| `node dynamic-worker-nodes.js` | 16.625 ± 0.253 | 16.184 | 17.176 | 1.24 ± 0.03 | +| `node fixed-worker-nodes.js` | 16.683 ± 0.268 | 16.042 | 17.229 | 1.25 ± 0.03 | +| `node dynamic-node-worker-threads-pool.mjs` | 25.417 ± 0.446 | 24.999 | 26.877 | 1.90 ± 0.05 | +| `node static-node-worker-threads-pool.mjs` | 17.167 ± 0.338 | 16.544 | 17.781 | 1.28 ± 0.03 | +| `node fixed-nanothreads.mjs` | 13.746 ± 0.210 | 13.594 | 14.567 | 1.03 ± 0.02 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index 74299ed6..1a36a869 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.31", + "poolifier": "2.6.35", "tinypool": "0.8.0", "worker-nodes": "2.6.0", "workerpool": "6.4.2" diff --git a/benchmarks/versus-external-pools/pnpm-lock.yaml b/benchmarks/versus-external-pools/pnpm-lock.yaml index 90bf767a..3fce6a60 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.31 - version: 2.6.31 + specifier: 2.6.35 + version: 2.6.35 tinypool: specifier: 0.8.0 version: 0.8.0 @@ -124,8 +124,8 @@ packages: nice-napi: 1.0.2 dev: false - /poolifier@2.6.31: - resolution: {integrity: sha512-cLk0Dp8UF81iG8oUo9NcM9a5sBugX38D01aY/Kn+lC+LRkrJlLuHyRskx0KQaSW7SKQmM4Z0ac2XC0ZMvcF1FQ==} + /poolifier@2.6.35: + resolution: {integrity: sha512-pNma73oAgpjVwMaiUB697258LnQV4wKBEbr0Rk5lttOuiRWGVff3+/1p3UxkEc86HNUrL7XbiLv+bZYbCLD6Tw==} engines: {node: '>=16.14.0', pnpm: '>=8.6.0'} requiresBuild: true dev: false