From: Jérôme Benoit Date: Thu, 6 Apr 2023 17:25:36 +0000 (+0200) Subject: docs: update benchmarks vs. external thread pools X-Git-Tag: v2.4.3~9 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=51f3d38121dee714f32b5ad7e4ba4ee25be31139;p=poolifier.git docs: update benchmarks vs. external thread 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 359eb0c0..b12fc23d 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.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 | +| `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 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index 9d190faf..22bb7e0b 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.1", + "poolifier": "2.4.2", "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 40b0476d..6d101885 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.1 - version: 2.4.1 + specifier: 2.4.2 + version: 2.4.2 threads: specifier: 1.7.0 version: 1.7.0 @@ -173,8 +173,8 @@ packages: find-up: 5.0.0 dev: false - /poolifier@2.4.1: - resolution: {integrity: sha512-+tcneVpOMcyOkKOFkkG/fUyVpPuFoL0U6cJJ3T9yrSt/Mdhcmg4YLxVAse46KMEn3W6M8GSNUh8l2elbFPehvw==} + /poolifier@2.4.2: + resolution: {integrity: sha512-nZXcHsdgfLYDTrPuYrMQgAykmj+lLTqRN8wgl74PFprUuz0P8e1UbTEmDYfXYtS7uUUMAXFAdYnqN7eO0mxnqg==} engines: {node: '>=16.0.0'} requiresBuild: true dev: false