From: Jérôme Benoit Date: Wed, 5 Apr 2023 13:51:41 +0000 (+0200) Subject: docs: update benchmarks vs. external pools X-Git-Tag: v2.4.2~17 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=6372f6c6861a04ecc33e7172bf2b4896e1041089;p=poolifier.git docs: update benchmarks vs. external pools Signed-off-by: Jérôme Benoit --- diff --git a/benchmarks/versus-external-pools/BENCH-100000.md b/benchmarks/versus-external-pools/BENCH-100000.md index c81f5e22..359eb0c0 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.106 ± 0.246 | 12.894 | 13.745 | 1.00 | -| `node fixed-poolifier.js` | 13.108 ± 0.216 | 12.876 | 13.595 | 1.00 ± 0.02 | -| `node dynamic-piscina.js` | 13.920 ± 0.145 | 13.832 | 14.316 | 1.06 ± 0.02 | -| `node fixed-piscina.js` | 14.466 ± 0.286 | 14.271 | 15.197 | 1.10 ± 0.03 | -| `node dynamic-workerpool.js` | 15.379 ± 0.109 | 15.268 | 15.644 | 1.17 ± 0.02 | -| `node fixed-workerpool.js` | 15.966 ± 0.200 | 15.835 | 16.517 | 1.22 ± 0.03 | -| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 22.538 ± 0.327 | 22.403 | 23.464 | 1.72 ± 0.04 | -| `node static-suchmokuo-node-worker-threads-pool.js` | 15.630 ± 0.240 | 15.502 | 16.231 | 1.19 ± 0.03 | -| `node threadjs.js` | 48.327 ± 3.117 | 42.458 | 53.662 | 3.69 ± 0.25 | -| `node fixed-threadwork.js` | 14.737 ± 0.085 | 14.657 | 14.957 | 1.12 ± 0.02 | -| `node fixed-microjob.js` | 30.279 ± 0.329 | 29.939 | 31.059 | 2.31 ± 0.05 | +| `node dynamic-poolifier.js` | 12.391 ± 0.139 | 12.217 | 12.709 | 1.00 | +| `node fixed-poolifier.js` | 12.456 ± 0.255 | 12.274 | 13.128 | 1.01 ± 0.02 | +| `node dynamic-piscina.js` | 12.879 ± 0.125 | 12.798 | 13.224 | 1.04 ± 0.02 | +| `node fixed-piscina.js` | 13.486 ± 0.179 | 13.375 | 13.919 | 1.09 ± 0.02 | +| `node dynamic-workerpool.js` | 14.336 ± 0.147 | 14.217 | 14.665 | 1.16 ± 0.02 | +| `node fixed-workerpool.js` | 14.955 ± 0.165 | 14.866 | 15.421 | 1.21 ± 0.02 | +| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 20.860 ± 0.260 | 20.674 | 21.378 | 1.68 ± 0.03 | +| `node static-suchmokuo-node-worker-threads-pool.js` | 14.687 ± 0.211 | 14.595 | 15.286 | 1.19 ± 0.02 | +| `node threadjs.js` | 44.565 ± 2.265 | 41.726 | 48.816 | 3.60 ± 0.19 | +| `node fixed-threadwork.js` | 14.220 ± 0.136 | 14.125 | 14.599 | 1.15 ± 0.02 | +| `node fixed-microjob.js` | 29.100 ± 0.280 | 28.713 | 29.816 | 2.35 ± 0.03 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index 0775306e..9d190faf 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.0", + "poolifier": "2.4.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 f5fa61c8..40b0476d 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.0 - version: 2.4.0 + specifier: 2.4.1 + version: 2.4.1 threads: specifier: 1.7.0 version: 1.7.0 @@ -173,8 +173,8 @@ packages: find-up: 5.0.0 dev: false - /poolifier@2.4.0: - resolution: {integrity: sha512-XKnm9aW9ld4KMveTwtz32sOZUwo2Q1htgyIs8vcptrvM46C0zvwuJbeARK8JaYXV8RDprG0auRMyz0HPoM9pRw==} + /poolifier@2.4.1: + resolution: {integrity: sha512-+tcneVpOMcyOkKOFkkG/fUyVpPuFoL0U6cJJ3T9yrSt/Mdhcmg4YLxVAse46KMEn3W6M8GSNUh8l2elbFPehvw==} engines: {node: '>=16.0.0'} requiresBuild: true dev: false