From 0e419d6aaa7982d917d2d18d090662bf28dfae8d Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 24 Apr 2023 00:23:32 +0200 Subject: [PATCH] docs: update benchmarks vs. external pool 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 | 10 ++++----- 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 fabfbd0e..ff433e7c 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.873 ± 0.150 | 12.706 | 13.219 | 1.01 ± 0.02 | -| `node fixed-poolifier.js` | 12.783 ± 0.201 | 12.581 | 13.156 | 1.00 | -| `node dynamic-piscina.js` | 13.442 ± 0.115 | 13.357 | 13.752 | 1.05 ± 0.02 | -| `node fixed-piscina.js` | 13.999 ± 0.248 | 13.860 | 14.689 | 1.10 ± 0.03 | -| `node dynamic-workerpool.js` | 15.028 ± 0.180 | 14.894 | 15.530 | 1.18 ± 0.02 | -| `node fixed-workerpool.js` | 15.608 ± 0.274 | 15.432 | 16.295 | 1.22 ± 0.03 | -| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 21.908 ± 0.277 | 21.683 | 22.558 | 1.71 ± 0.03 | -| `node static-suchmokuo-node-worker-threads-pool.js` | 15.156 ± 0.086 | 15.063 | 15.375 | 1.19 ± 0.02 | -| `node threadjs.js` | 46.716 ± 2.006 | 43.456 | 49.892 | 3.65 ± 0.17 | -| `node fixed-threadwork.js` | 14.833 ± 0.293 | 14.602 | 15.397 | 1.16 ± 0.03 | -| `node fixed-microjob.js` | 30.445 ± 0.300 | 30.266 | 31.268 | 2.38 ± 0.04 | +| `node dynamic-poolifier.js` | 13.680 ± 0.318 | 13.357 | 14.466 | 1.02 ± 0.03 | +| `node fixed-poolifier.js` | 13.362 ± 0.146 | 13.090 | 13.556 | 1.00 | +| `node dynamic-piscina.js` | 14.494 ± 0.369 | 14.237 | 15.504 | 1.08 ± 0.03 | +| `node fixed-piscina.js` | 14.844 ± 0.245 | 14.641 | 15.522 | 1.11 ± 0.02 | +| `node dynamic-workerpool.js` | 16.015 ± 0.407 | 15.779 | 17.155 | 1.20 ± 0.03 | +| `node fixed-workerpool.js` | 16.339 ± 0.112 | 16.261 | 16.635 | 1.22 ± 0.02 | +| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 24.068 ± 0.228 | 23.806 | 24.508 | 1.80 ± 0.03 | +| `node static-suchmokuo-node-worker-threads-pool.js` | 16.038 ± 0.287 | 15.884 | 16.849 | 1.20 ± 0.03 | +| `node threadjs.js` | 47.680 ± 2.763 | 43.420 | 51.981 | 3.57 ± 0.21 | +| `node fixed-threadwork.js` | 15.561 ± 0.302 | 15.367 | 16.398 | 1.16 ± 0.03 | +| `node fixed-microjob.js` | 32.170 ± 0.346 | 31.792 | 33.044 | 2.41 ± 0.04 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index 95000e67..4c654af9 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.4.10", + "poolifier": "2.4.11", "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 b880a277..7a53cde5 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.10 - version: 2.4.10 + specifier: 2.4.11 + version: 2.4.11 threads: specifier: 1.7.0 version: 1.7.0 @@ -173,9 +173,9 @@ packages: find-up: 5.0.0 dev: false - /poolifier@2.4.10: - resolution: {integrity: sha512-N7iQzzAl5TwOvAK76LOG2GJeE0AVdAnkgjwZj6+aed1I/TGzQYzmK17jgycvv/oA3kIuDNScwN+GISry779hqA==} - engines: {node: '>=16.0.0'} + /poolifier@2.4.11: + resolution: {integrity: sha512-ZGeWwqmAqZgQ71gpqEpjGimzSFLz7nYbEUS1eWTfSnDoTpkpPp9sVlCTia6SvJw7OECawAEK2QrE3chsZGwXbQ==} + engines: {node: '>=16.0.0', pnpm: '>= 8.0.0'} requiresBuild: true dev: false -- 2.34.1