From: Jérôme Benoit Date: Tue, 4 Apr 2023 14:27:59 +0000 (+0200) Subject: docs: update benchmarks vs. external pools X-Git-Tag: v2.4.0~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=789eff039cfdbf33439667c6ef8ed94da4aa7b68;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 24a7d001..c81f5e22 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` | 14.112 ± 0.228 | 13.840 | 14.580 | 1.01 ± 0.02 | -| `node fixed-poolifier.js` | 13.953 ± 0.147 | 13.745 | 14.228 | 1.00 | -| `node dynamic-piscina.js` | 14.966 ± 0.217 | 14.840 | 15.575 | 1.07 ± 0.02 | -| `node fixed-piscina.js` | 15.471 ± 0.117 | 15.370 | 15.778 | 1.11 ± 0.01 | -| `node dynamic-workerpool.js` | 16.674 ± 0.240 | 16.491 | 17.265 | 1.20 ± 0.02 | -| `node fixed-workerpool.js` | 17.116 ± 0.145 | 17.014 | 17.475 | 1.23 ± 0.02 | -| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 24.437 ± 0.366 | 24.131 | 25.053 | 1.75 ± 0.03 | -| `node static-suchmokuo-node-worker-threads-pool.js` | 16.791 ± 0.232 | 16.670 | 17.444 | 1.20 ± 0.02 | -| `node threadjs.js` | 50.557 ± 2.524 | 47.298 | 54.173 | 3.62 ± 0.18 | -| `node fixed-threadwork.js` | 16.307 ± 0.212 | 16.080 | 16.808 | 1.17 ± 0.02 | -| `node fixed-microjob.js` | 33.788 ± 0.445 | 33.444 | 35.008 | 2.42 ± 0.04 | +| `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 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index e8eedcef..44ee0e07 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-2", + "poolifier": "2.4.0-3", "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 b723f176..c0bec145 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-2 - version: 2.4.0-2 + specifier: 2.4.0-3 + version: 2.4.0-3 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-2: - resolution: {integrity: sha512-IxzGRyQQId5hUlvyyntPzXbtuQpDo9qgYEoytb3AZX9v5HGwRfne69V8uEQu2Ftlx6JM94ge0W5DSb7//k1nMA==} + /poolifier@2.4.0-3: + resolution: {integrity: sha512-dEgoBsaBfk8iDR2Oit27yQWEvAh3yh0pw7+uodv0oYk68J8yTebH13ACsj2A9OpQJTuWTL75Ptz0OfOmxetnaw==} engines: {node: '>=16.0.0'} requiresBuild: true dev: false