From b4682ec0748f72b7175bbdf4ba5ee339e478567e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 10 Jun 2023 23:59:53 +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 6d728bcb..9ec2d9b0 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` | 13.275 ± 0.338 | 12.915 | 13.904 | 1.02 ± 0.03 | -| `node fixed-poolifier.js` | 13.072 ± 0.101 | 12.936 | 13.281 | 1.00 | -| `node dynamic-piscina.js` | 14.267 ± 0.371 | 14.090 | 15.314 | 1.09 ± 0.03 | -| `node fixed-piscina.js` | 14.774 ± 0.180 | 14.526 | 14.993 | 1.13 ± 0.02 | -| `node dynamic-workerpool.js` | 15.807 ± 0.420 | 15.545 | 16.936 | 1.21 ± 0.03 | -| `node fixed-workerpool.js` | 16.216 ± 0.299 | 16.043 | 17.059 | 1.24 ± 0.02 | -| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 23.617 ± 0.313 | 23.417 | 24.474 | 1.81 ± 0.03 | -| `node static-suchmokuo-node-worker-threads-pool.js` | 15.909 ± 0.238 | 15.728 | 16.533 | 1.22 ± 0.02 | -| `node threadjs.js` | 45.396 ± 2.056 | 41.743 | 48.402 | 3.47 ± 0.16 | -| `node fixed-threadwork.js` | 15.373 ± 0.124 | 15.210 | 15.668 | 1.18 ± 0.01 | -| `node fixed-microjob.js` | 31.409 ± 0.268 | 31.058 | 31.949 | 2.40 ± 0.03 | +| `node dynamic-poolifier.js` | 13.278 ± 0.226 | 12.990 | 13.750 | 1.01 ± 0.02 | +| `node fixed-poolifier.js` | 13.200 ± 0.197 | 12.966 | 13.686 | 1.00 | +| `node dynamic-piscina.js` | 14.152 ± 0.095 | 14.025 | 14.389 | 1.07 ± 0.02 | +| `node fixed-piscina.js` | 14.602 ± 0.105 | 14.516 | 14.842 | 1.11 ± 0.02 | +| `node dynamic-workerpool.js` | 15.635 ± 0.139 | 15.517 | 16.007 | 1.18 ± 0.02 | +| `node fixed-workerpool.js` | 16.165 ± 0.165 | 16.040 | 16.494 | 1.22 ± 0.02 | +| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 23.543 ± 0.202 | 23.303 | 24.013 | 1.78 ± 0.03 | +| `node static-suchmokuo-node-worker-threads-pool.js` | 15.895 ± 0.244 | 15.701 | 16.404 | 1.20 ± 0.03 | +| `node threadjs.js` | 47.464 ± 2.122 | 44.962 | 51.952 | 3.60 ± 0.17 | +| `node fixed-threadwork.js` | 15.474 ± 0.287 | 15.191 | 16.225 | 1.17 ± 0.03 | +| `node fixed-microjob.js` | 31.383 ± 0.217 | 31.066 | 31.664 | 2.38 ± 0.04 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index 97514da1..e91fc16b 100644 --- a/benchmarks/versus-external-pools/package.json +++ b/benchmarks/versus-external-pools/package.json @@ -20,7 +20,7 @@ "microjob": "0.7.0", "node-worker-threads-pool": "1.5.1", "piscina": "3.2.0", - "poolifier": "2.5.3", + "poolifier": "2.6.1", "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 b02f4dda..76d46a42 100644 --- a/benchmarks/versus-external-pools/pnpm-lock.yaml +++ b/benchmarks/versus-external-pools/pnpm-lock.yaml @@ -15,8 +15,8 @@ dependencies: specifier: 3.2.0 version: 3.2.0 poolifier: - specifier: 2.5.3 - version: 2.5.3 + specifier: 2.6.1 + version: 2.6.1 threads: specifier: 1.7.0 version: 1.7.0 @@ -177,8 +177,8 @@ packages: find-up: 5.0.0 dev: false - /poolifier@2.5.3: - resolution: {integrity: sha512-L/0ka0p/9zvchXtwUjVSJ/wKCQFMhjzSqNdFXqJaTjcME50d4+VrlvgxdfOj9rmIJ/EHSpTVVc05eAD8rQ4DpQ==} + /poolifier@2.6.1: + resolution: {integrity: sha512-9ir1PklqI/exULw9UDzLb9lAQC8yfJ9NvIRKAYDWKHU/9f3RXrciOeMP6RtedEcZ3RXO8cMNyR1L+p3caYo4YQ==} engines: {node: '>=16.14.0', pnpm: '>=8.6.0'} requiresBuild: true dev: false -- 2.34.1