From 851b64bac5057aae232288e21f234ada3b8300ae Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 12 Apr 2023 10:18:21 +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 | 22 +++++++++---------- benchmarks/versus-external-pools/package.json | 2 +- .../versus-external-pools/pnpm-lock.yaml | 8 +++---- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/benchmarks/versus-external-pools/BENCH-100000.md b/benchmarks/versus-external-pools/BENCH-100000.md index 92567aad..b4c03c51 100644 --- a/benchmarks/versus-external-pools/BENCH-100000.md +++ b/benchmarks/versus-external-pools/BENCH-100000.md @@ -1,13 +1,13 @@ | Command | Mean [s] | Min [s] | Max [s] | Relative | | :--------------------------------------------------- | -------------: | ------: | ------: | ----------: | -| `node dynamic-poolifier.js` | 12.887 ± 0.208 | 12.678 | 13.395 | 1.01 ± 0.03 | -| `node fixed-poolifier.js` | 12.822 ± 0.252 | 12.514 | 13.418 | 1.00 | -| `node dynamic-piscina.js` | 13.457 ± 0.211 | 13.271 | 13.807 | 1.05 ± 0.03 | -| `node fixed-piscina.js` | 13.946 ± 0.246 | 13.813 | 14.627 | 1.09 ± 0.03 | -| `node dynamic-workerpool.js` | 15.012 ± 0.315 | 14.744 | 15.840 | 1.17 ± 0.03 | -| `node fixed-workerpool.js` | 15.531 ± 0.283 | 15.362 | 16.307 | 1.21 ± 0.03 | -| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 21.918 ± 0.266 | 21.611 | 22.457 | 1.71 ± 0.04 | -| `node static-suchmokuo-node-worker-threads-pool.js` | 15.153 ± 0.080 | 15.071 | 15.270 | 1.18 ± 0.02 | -| `node threadjs.js` | 46.700 ± 1.516 | 44.493 | 49.382 | 3.64 ± 0.14 | -| `node fixed-threadwork.js` | 14.757 ± 0.250 | 14.574 | 15.441 | 1.15 ± 0.03 | -| `node fixed-microjob.js` | 30.517 ± 0.410 | 29.983 | 31.544 | 2.38 ± 0.06 | +| `node dynamic-poolifier.js` | 13.050 ± 0.277 | 12.720 | 13.549 | 1.01 ± 0.03 | +| `node fixed-poolifier.js` | 12.869 ± 0.305 | 12.573 | 13.599 | 1.00 | +| `node dynamic-piscina.js` | 13.588 ± 0.180 | 13.367 | 13.987 | 1.06 ± 0.03 | +| `node fixed-piscina.js` | 14.062 ± 0.216 | 13.914 | 14.557 | 1.09 ± 0.03 | +| `node dynamic-workerpool.js` | 15.047 ± 0.214 | 14.841 | 15.617 | 1.17 ± 0.03 | +| `node fixed-workerpool.js` | 15.545 ± 0.154 | 15.413 | 15.932 | 1.21 ± 0.03 | +| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 21.944 ± 0.303 | 21.600 | 22.713 | 1.71 ± 0.05 | +| `node static-suchmokuo-node-worker-threads-pool.js` | 15.247 ± 0.161 | 15.112 | 15.660 | 1.18 ± 0.03 | +| `node threadjs.js` | 46.652 ± 2.089 | 43.577 | 50.186 | 3.63 ± 0.18 | +| `node fixed-threadwork.js` | 14.824 ± 0.257 | 14.632 | 15.395 | 1.15 ± 0.03 | +| `node fixed-microjob.js` | 30.604 ± 0.275 | 30.091 | 31.114 | 2.38 ± 0.06 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index e810adfa..6530c10f 100644 --- a/benchmarks/versus-external-pools/package.json +++ b/benchmarks/versus-external-pools/package.json @@ -12,7 +12,7 @@ "microjob": "0.7.0", "node-worker-threads-pool": "1.5.1", "piscina": "3.2.0", - "poolifier": "2.4.6", + "poolifier": "2.4.7", "threads": "1.7.0", "threadwork": "0.6.0", "worker-nodes": "2.4.0", diff --git a/benchmarks/versus-external-pools/pnpm-lock.yaml b/benchmarks/versus-external-pools/pnpm-lock.yaml index 79dc9b1d..855edbfe 100644 --- a/benchmarks/versus-external-pools/pnpm-lock.yaml +++ b/benchmarks/versus-external-pools/pnpm-lock.yaml @@ -11,8 +11,8 @@ dependencies: specifier: 3.2.0 version: 3.2.0 poolifier: - specifier: 2.4.6 - version: 2.4.6 + specifier: 2.4.7 + version: 2.4.7 threads: specifier: 1.7.0 version: 1.7.0 @@ -173,8 +173,8 @@ packages: find-up: 5.0.0 dev: false - /poolifier@2.4.6: - resolution: {integrity: sha512-Rh3pXMG9lTdirBBFYBKNDxZ6M2Ro0EkwPppgQyFrgFlMsTXchBirrvI+H4Qy1S4h6kXAbIyH5C9vtXT3rojncQ==} + /poolifier@2.4.7: + resolution: {integrity: sha512-rX/PnMAXSOiN0XWHqP3QswcaeI3P7g1tRqt6FwYlvWEWbSvUuZNVkV2w2UlAgUwdkR1f1a4eoj3+D/TJj1dfpw==} engines: {node: '>=16.0.0'} requiresBuild: true dev: false -- 2.34.1