From ba601f0ee6dbe2c19dfea83f63cd8f816c0090ac Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 8 Apr 2023 10:11:42 +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 b12fc23d..a0466dc6 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.909 ± 0.330 | 12.686 | 13.821 | 1.00 ± 0.04 | -| `node fixed-poolifier.js` | 12.857 ± 0.307 | 12.519 | 13.574 | 1.00 | -| `node dynamic-piscina.js` | 13.592 ± 0.177 | 13.412 | 14.000 | 1.06 ± 0.03 | -| `node fixed-piscina.js` | 14.064 ± 0.228 | 13.856 | 14.604 | 1.09 ± 0.03 | -| `node dynamic-workerpool.js` | 15.089 ± 0.296 | 14.872 | 15.881 | 1.17 ± 0.04 | -| `node fixed-workerpool.js` | 15.654 ± 0.305 | 15.378 | 16.276 | 1.22 ± 0.04 | -| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 21.866 ± 0.158 | 21.646 | 22.166 | 1.70 ± 0.04 | -| `node static-suchmokuo-node-worker-threads-pool.js` | 15.162 ± 0.109 | 15.055 | 15.405 | 1.18 ± 0.03 | -| `node threadjs.js` | 47.015 ± 1.732 | 44.604 | 49.357 | 3.66 ± 0.16 | -| `node fixed-threadwork.js` | 14.795 ± 0.263 | 14.631 | 15.519 | 1.15 ± 0.03 | -| `node fixed-microjob.js` | 30.743 ± 0.252 | 30.491 | 31.236 | 2.39 ± 0.06 | +| `node dynamic-poolifier.js` | 12.935 ± 0.236 | 12.663 | 13.509 | 1.01 ± 0.03 | +| `node fixed-poolifier.js` | 12.808 ± 0.280 | 12.574 | 13.564 | 1.00 | +| `node dynamic-piscina.js` | 13.542 ± 0.165 | 13.371 | 13.808 | 1.06 ± 0.03 | +| `node fixed-piscina.js` | 14.027 ± 0.264 | 13.855 | 14.739 | 1.10 ± 0.03 | +| `node dynamic-workerpool.js` | 15.082 ± 0.304 | 14.818 | 15.895 | 1.18 ± 0.04 | +| `node fixed-workerpool.js` | 15.532 ± 0.283 | 15.359 | 16.314 | 1.21 ± 0.03 | +| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 21.896 ± 0.263 | 21.635 | 22.608 | 1.71 ± 0.04 | +| `node static-suchmokuo-node-worker-threads-pool.js` | 15.805 ± 1.176 | 15.088 | 18.736 | 1.23 ± 0.10 | +| `node threadjs.js` | 46.191 ± 2.555 | 42.679 | 50.314 | 3.61 ± 0.21 | +| `node fixed-threadwork.js` | 14.708 ± 0.232 | 14.567 | 15.346 | 1.15 ± 0.03 | +| `node fixed-microjob.js` | 30.567 ± 0.362 | 30.280 | 31.509 | 2.39 ± 0.06 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index 22bb7e0b..7a9ff1dc 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.2", + "poolifier": "2.4.4", "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 6d101885..d2b06b29 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.2 - version: 2.4.2 + specifier: 2.4.4 + version: 2.4.4 threads: specifier: 1.7.0 version: 1.7.0 @@ -173,8 +173,8 @@ packages: find-up: 5.0.0 dev: false - /poolifier@2.4.2: - resolution: {integrity: sha512-nZXcHsdgfLYDTrPuYrMQgAykmj+lLTqRN8wgl74PFprUuz0P8e1UbTEmDYfXYtS7uUUMAXFAdYnqN7eO0mxnqg==} + /poolifier@2.4.4: + resolution: {integrity: sha512-kPzCuva//h+gW9pdpGzdqG5Y8WoueXxQkJ0J1YiIuAKRljCjuMJ/XCYpLOyp0rHTKvXT5mrA5m+fEuVlT2EESg==} engines: {node: '>=16.0.0'} requiresBuild: true dev: false -- 2.34.1