From: Jérôme Benoit Date: Sat, 22 Jul 2023 02:49:30 +0000 (+0200) Subject: docs: update benchmark vs. external pools X-Git-Tag: v2.6.21~43 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c2a54b724018a6a39905c21287ec05d2d938f3e4;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 4b8a8677..6a0d3355 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.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 | +| `node dynamic-poolifier.mjs` | 13.223 ± 0.371 | 12.658 | 13.780 | 1.00 ± 0.04 | +| `node fixed-poolifier.mjs` | 13.194 ± 0.433 | 12.681 | 14.473 | 1.00 | +| `node dynamic-piscina.mjs` | 15.783 ± 0.328 | 15.174 | 16.246 | 1.20 ± 0.05 | +| `node fixed-piscina.mjs` | 15.819 ± 0.323 | 15.396 | 16.345 | 1.20 ± 0.05 | +| `node dynamic-tinypool.mjs` | 15.925 ± 0.412 | 15.528 | 17.113 | 1.21 ± 0.05 | +| `node fixed-tinypool.mjs` | 15.958 ± 0.393 | 15.547 | 16.694 | 1.21 ± 0.05 | +| `node dynamic-workerpool.mjs` | 16.972 ± 0.370 | 16.444 | 17.931 | 1.29 ± 0.05 | +| `node fixed-workerpool.mjs` | 16.944 ± 0.378 | 16.319 | 17.765 | 1.28 ± 0.05 | +| `node dynamic-worker-nodes.js` | 16.152 ± 0.318 | 15.662 | 16.693 | 1.22 ± 0.05 | +| `node fixed-worker-nodes.js` | 16.167 ± 0.361 | 15.644 | 17.067 | 1.23 ± 0.05 | +| `node dynamic-node-worker-threads-pool.mjs` | 23.781 ± 0.338 | 23.402 | 24.761 | 1.80 ± 0.06 | +| `node static-node-worker-threads-pool.mjs` | 16.685 ± 0.362 | 16.094 | 17.250 | 1.26 ± 0.05 | +| `node fixed-nanothreads.mjs` | 13.408 ± 0.362 | 13.035 | 14.250 | 1.02 ± 0.04 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index 03754818..20420a0a 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.17", + "poolifier": "2.6.20", "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 fca4cf89..899bc9e7 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.17 - version: 2.6.17 + specifier: 2.6.20 + version: 2.6.20 tinypool: specifier: 0.7.0 version: 0.7.0 @@ -122,8 +122,8 @@ packages: nice-napi: 1.0.2 dev: false - /poolifier@2.6.17: - resolution: {integrity: sha512-inFx7imhKy34H9irFyJ3eOmaoueM8/nkQDf3jeJ99jyKVqd7BZdAufABCQtvHok9zievuaEOUx5WqPsk38Utcg==} + /poolifier@2.6.20: + resolution: {integrity: sha512-1s4Ylz09IU6o6NkYMGKmzM885VNpBzAdqPtoTZmpHkWT1Plyeh1L8VtmmS2nFWYapjSQ46H/Ypr6AeLc4mjkmg==} engines: {node: '>=16.14.0', pnpm: '>=8.6.0'} requiresBuild: true dev: false