From: Jérôme Benoit Date: Wed, 30 Aug 2023 15:24:26 +0000 (+0200) Subject: docs: update benchmarks vs. external pools X-Git-Tag: v2.6.39~2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c3d5c83fb151cd978304c3e1f5142a466d1b0b19;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 2bf876dd..1c784606 100644 --- a/benchmarks/versus-external-pools/BENCH-100000.md +++ b/benchmarks/versus-external-pools/BENCH-100000.md @@ -1,15 +1,15 @@ | Command | Mean [s] | Min [s] | Max [s] | Relative | | :------------------------------------------ | -------------: | ------: | ------: | ----------: | -| `node dynamic-poolifier.mjs` | 13.107 ± 0.267 | 12.802 | 13.942 | 1.00 | -| `node fixed-poolifier.mjs` | 13.121 ± 0.119 | 12.936 | 13.431 | 1.00 ± 0.02 | -| `node dynamic-piscina.mjs` | 15.682 ± 0.231 | 15.321 | 16.072 | 1.20 ± 0.03 | -| `node fixed-piscina.mjs` | 15.585 ± 0.278 | 15.193 | 16.278 | 1.19 ± 0.03 | -| `node dynamic-tinypool.mjs` | 15.924 ± 0.315 | 15.498 | 16.918 | 1.21 ± 0.03 | -| `node fixed-tinypool.mjs` | 15.918 ± 0.307 | 15.363 | 16.479 | 1.21 ± 0.03 | -| `node dynamic-workerpool.mjs` | 16.740 ± 0.387 | 16.116 | 17.648 | 1.28 ± 0.04 | -| `node fixed-workerpool.mjs` | 16.727 ± 0.255 | 16.251 | 17.119 | 1.28 ± 0.03 | -| `node dynamic-worker-nodes.js` | 15.903 ± 0.349 | 15.385 | 16.726 | 1.21 ± 0.04 | -| `node fixed-worker-nodes.js` | 16.021 ± 0.240 | 15.360 | 16.523 | 1.22 ± 0.03 | -| `node dynamic-node-worker-threads-pool.mjs` | 24.299 ± 0.267 | 23.848 | 25.116 | 1.85 ± 0.04 | -| `node static-node-worker-threads-pool.mjs` | 16.554 ± 0.305 | 16.089 | 17.189 | 1.26 ± 0.03 | -| `node fixed-nanothreads.mjs` | 13.304 ± 0.258 | 13.134 | 14.213 | 1.01 ± 0.03 | +| `node dynamic-poolifier.mjs` | 13.179 ± 0.201 | 12.910 | 13.805 | 1.00 | +| `node fixed-poolifier.mjs` | 13.191 ± 0.202 | 13.009 | 13.949 | 1.00 ± 0.02 | +| `node dynamic-piscina.mjs` | 15.864 ± 0.293 | 15.412 | 16.372 | 1.20 ± 0.03 | +| `node fixed-piscina.mjs` | 15.810 ± 0.322 | 15.321 | 16.403 | 1.20 ± 0.03 | +| `node dynamic-tinypool.mjs` | 16.119 ± 0.335 | 15.514 | 16.839 | 1.22 ± 0.03 | +| `node fixed-tinypool.mjs` | 16.012 ± 0.349 | 15.565 | 17.060 | 1.21 ± 0.03 | +| `node dynamic-workerpool.mjs` | 16.888 ± 0.285 | 16.498 | 17.709 | 1.28 ± 0.03 | +| `node fixed-workerpool.mjs` | 16.858 ± 0.245 | 16.372 | 17.328 | 1.28 ± 0.03 | +| `node dynamic-worker-nodes.js` | 15.983 ± 0.271 | 15.561 | 16.500 | 1.21 ± 0.03 | +| `node fixed-worker-nodes.js` | 16.052 ± 0.283 | 15.601 | 16.769 | 1.22 ± 0.03 | +| `node dynamic-node-worker-threads-pool.mjs` | 24.698 ± 0.345 | 24.189 | 25.654 | 1.87 ± 0.04 | +| `node static-node-worker-threads-pool.mjs` | 16.596 ± 0.381 | 16.050 | 17.242 | 1.26 ± 0.03 | +| `node fixed-nanothreads.mjs` | 13.625 ± 0.507 | 13.307 | 15.149 | 1.03 ± 0.04 | diff --git a/benchmarks/versus-external-pools/package.json b/benchmarks/versus-external-pools/package.json index acef9e5a..fef80725 100644 --- a/benchmarks/versus-external-pools/package.json +++ b/benchmarks/versus-external-pools/package.json @@ -21,7 +21,7 @@ "nanothreads": "0.3.7", "node-worker-threads-pool": "1.5.1", "piscina": "4.1.0", - "poolifier": "2.6.37", + "poolifier": "2.6.38", "tinypool": "0.8.0", "worker-nodes": "2.6.0", "workerpool": "6.4.2" diff --git a/benchmarks/versus-external-pools/pnpm-lock.yaml b/benchmarks/versus-external-pools/pnpm-lock.yaml index 665be7f6..a2f63a78 100644 --- a/benchmarks/versus-external-pools/pnpm-lock.yaml +++ b/benchmarks/versus-external-pools/pnpm-lock.yaml @@ -15,8 +15,8 @@ dependencies: specifier: 4.1.0 version: 4.1.0 poolifier: - specifier: 2.6.37 - version: 2.6.37 + specifier: 2.6.38 + version: 2.6.38 tinypool: specifier: 0.8.0 version: 0.8.0 @@ -124,8 +124,8 @@ packages: nice-napi: 1.0.2 dev: false - /poolifier@2.6.37: - resolution: {integrity: sha512-f2LQTGfDxIWFLyXa/Rn/DTJToR0uRrfKNpCEIyPstK2T7OJSXLQ/5LzMBW4CJbiO1th/y/0ePiFdD+EcfGKe1A==} + /poolifier@2.6.38: + resolution: {integrity: sha512-uNb6UAfekSZ55faqAKoxUgJS49geO7MNS9WbiSCE+zET2S8bq60oY0vSxbwZSXK7mdbiHlomufQQJTlsnGEEWQ==} engines: {node: '>=16.14.0', pnpm: '>=8.6.0'} requiresBuild: true dev: false