From f0376671beab5dcccfe496375c30153875a38f90 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 4 Jul 2023 17:13:20 +0200 Subject: [PATCH] docs: update benchmarks vs. external pools MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .../versus-external-pools/BENCH-100000.md | 24 +++++++++---------- benchmarks/versus-external-pools/package.json | 2 +- .../versus-external-pools/pnpm-lock.yaml | 8 +++---- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/benchmarks/versus-external-pools/BENCH-100000.md b/benchmarks/versus-external-pools/BENCH-100000.md index 257cd544..4269e69d 100644 --- a/benchmarks/versus-external-pools/BENCH-100000.md +++ b/benchmarks/versus-external-pools/BENCH-100000.md @@ -1,14 +1,14 @@ | Command | Mean [s] | Min [s] | Max [s] | Relative | | :------------------------------------------ | -------------: | ------: | ------: | ----------: | -| `node dynamic-poolifier.mjs` | 13.740 ± 0.174 | 13.533 | 14.312 | 1.01 ± 0.02 | -| `node fixed-poolifier.mjs` | 13.563 ± 0.138 | 13.399 | 13.952 | 1.00 | -| `node dynamic-piscina.mjs` | 14.683 ± 0.235 | 14.502 | 15.579 | 1.08 ± 0.02 | -| `node fixed-piscina.mjs` | 15.818 ± 0.230 | 15.665 | 16.515 | 1.17 ± 0.02 | -| `node fixed-tinypool.mjs` | 16.044 ± 0.137 | 15.894 | 16.528 | 1.18 ± 0.02 | -| `node dynamic-tinypool.mjs` | 15.053 ± 0.305 | 14.850 | 15.937 | 1.11 ± 0.03 | -| `node dynamic-workerpool.mjs` | 16.219 ± 0.227 | 16.064 | 17.127 | 1.20 ± 0.02 | -| `node fixed-workerpool.mjs` | 16.684 ± 0.225 | 16.541 | 17.607 | 1.23 ± 0.02 | -| `node dynamic-worker-nodes.js` | 15.464 ± 0.330 | 15.208 | 16.594 | 1.14 ± 0.03 | -| `node fixed-worker-nodes.js` | 16.031 ± 0.229 | 15.870 | 16.653 | 1.18 ± 0.02 | -| `node dynamic-node-worker-threads-pool.mjs` | 24.256 ± 0.150 | 24.093 | 24.678 | 1.79 ± 0.02 | -| `node static-node-worker-threads-pool.mjs` | 16.333 ± 0.198 | 16.199 | 17.118 | 1.20 ± 0.02 | +| `node dynamic-poolifier.mjs` | 13.712 ± 0.335 | 13.362 | 14.794 | 1.00 | +| `node fixed-poolifier.mjs` | 13.927 ± 0.395 | 13.542 | 15.045 | 1.02 ± 0.04 | +| `node dynamic-piscina.mjs` | 17.217 ± 0.392 | 16.714 | 18.125 | 1.26 ± 0.04 | +| `node fixed-piscina.mjs` | 17.850 ± 0.482 | 17.084 | 18.861 | 1.30 ± 0.05 | +| `node fixed-tinypool.mjs` | 18.922 ± 0.329 | 18.448 | 19.907 | 1.38 ± 0.04 | +| `node dynamic-tinypool.mjs` | 19.109 ± 0.331 | 18.622 | 20.342 | 1.39 ± 0.04 | +| `node dynamic-workerpool.mjs` | 19.893 ± 0.409 | 18.746 | 20.770 | 1.45 ± 0.05 | +| `node fixed-workerpool.mjs` | 20.040 ± 0.281 | 19.730 | 20.956 | 1.46 ± 0.04 | +| `node dynamic-worker-nodes.js` | 17.236 ± 0.359 | 16.857 | 18.027 | 1.26 ± 0.04 | +| `node fixed-worker-nodes.js` | 17.158 ± 0.282 | 16.789 | 17.812 | 1.25 ± 0.04 | +| `node dynamic-node-worker-threads-pool.mjs` | 25.639 ± 0.489 | 25.131 | 27.074 | 1.87 ± 0.06 | +| `node static-node-worker-threads-pool.mjs` | 17.496 ± 0.330 | 17.138 | 18.183 | 1.28 ± 0.04 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index 937427ec..245cca37 100644 --- a/benchmarks/versus-external-pools/package.json +++ b/benchmarks/versus-external-pools/package.json @@ -19,7 +19,7 @@ "dependencies": { "node-worker-threads-pool": "1.5.1", "piscina": "4.0.0", - "poolifier": "2.6.6", + "poolifier": "2.6.8", "tinypool": "0.6.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 02484fcd..08f2d5c8 100644 --- a/benchmarks/versus-external-pools/pnpm-lock.yaml +++ b/benchmarks/versus-external-pools/pnpm-lock.yaml @@ -12,8 +12,8 @@ dependencies: specifier: 4.0.0 version: 4.0.0 poolifier: - specifier: 2.6.6 - version: 2.6.6 + specifier: 2.6.8 + version: 2.6.8 tinypool: specifier: 0.6.0 version: 0.6.0 @@ -115,8 +115,8 @@ packages: nice-napi: 1.0.2 dev: false - /poolifier@2.6.6: - resolution: {integrity: sha512-u6GbjmxQp1sI9p94ucgE6gXfepxL8ZFsStrr5FSrxcMBU36RY3B0HzUck6TEQV0uhd09f4xMult0wb0F+JMxTw==} + /poolifier@2.6.8: + resolution: {integrity: sha512-3mBZcAlKIc6jDjrQD9KsMBVF0tpZj9SpqhumMk8giKVsNh0l6qKGp30xvQg1W6AQT9j84XHK8haNUtpHim/6Tw==} engines: {node: '>=16.14.0', pnpm: '>=8.6.0'} requiresBuild: true dev: false -- 2.34.1