docs: update benchmarks vs. external pools
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 27 Jun 2023 23:00:19 +0000 (01:00 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 27 Jun 2023 23:00:19 +0000 (01:00 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
benchmarks/versus-external-pools/BENCH-100000.md
benchmarks/versus-external-pools/package.json
benchmarks/versus-external-pools/pnpm-lock.yaml

index f26b3cfbceb4b70023acb962b50df9683158a5bb..093391182d3bf1fc8c1fe7845d7765efcb0f0e76 100644 (file)
@@ -1,14 +1,14 @@
 | Command                                     |       Mean [s] | Min [s] | Max [s] |    Relative |
 | :------------------------------------------ | -------------: | ------: | ------: | ----------: |
-| `node dynamic-poolifier.mjs`                | 14.127 ± 0.180 |  13.900 |  14.758 | 1.01 ± 0.03 |
-| `node fixed-poolifier.mjs`                  | 13.986 ± 0.343 |  13.724 |  14.917 |        1.00 |
-| `node dynamic-piscina.mjs`                  | 14.985 ± 0.267 |  14.859 |  16.106 | 1.07 ± 0.03 |
-| `node fixed-piscina.mjs`                    | 16.188 ± 0.257 |  16.001 |  17.030 | 1.16 ± 0.03 |
-| `node fixed-tinypool.mjs`                   | 16.187 ± 0.220 |  16.044 |  17.086 | 1.16 ± 0.03 |
-| `node dynamic-tinypool.mjs`                 | 15.063 ± 0.197 |  14.931 |  15.856 | 1.08 ± 0.03 |
-| `node dynamic-workerpool.mjs`               | 16.526 ± 0.151 |  16.359 |  16.964 | 1.18 ± 0.03 |
-| `node fixed-workerpool.mjs`                 | 16.987 ± 0.173 |  16.846 |  17.676 | 1.21 ± 0.03 |
-| `node dynamic-worker-nodes.js`              | 15.652 ± 0.138 |  15.478 |  15.991 | 1.12 ± 0.03 |
-| `node fixed-worker-nodes.js`                | 16.330 ± 0.234 |  16.160 |  16.989 | 1.17 ± 0.03 |
-| `node dynamic-node-worker-threads-pool.mjs` | 24.701 ± 0.352 |  24.459 |  25.842 | 1.77 ± 0.05 |
-| `node static-node-worker-threads-pool.mjs`  | 16.581 ± 0.159 |  16.475 |  17.217 | 1.19 ± 0.03 |
+| `node dynamic-poolifier.mjs`                | 13.897 ± 0.318 |  13.507 |  14.836 | 1.01 ± 0.03 |
+| `node fixed-poolifier.mjs`                  | 13.729 ± 0.319 |  13.467 |  14.507 |        1.00 |
+| `node dynamic-piscina.mjs`                  | 14.860 ± 0.402 |  14.538 |  15.779 | 1.08 ± 0.04 |
+| `node fixed-piscina.mjs`                    | 15.846 ± 0.189 |  15.668 |  16.389 | 1.15 ± 0.03 |
+| `node fixed-tinypool.mjs`                   | 15.743 ± 0.149 |  15.611 |  16.136 | 1.15 ± 0.03 |
+| `node dynamic-tinypool.mjs`                 | 14.704 ± 0.198 |  14.479 |  15.240 | 1.07 ± 0.03 |
+| `node dynamic-workerpool.mjs`               | 16.182 ± 0.223 |  15.937 |  16.709 | 1.18 ± 0.03 |
+| `node fixed-workerpool.mjs`                 | 16.739 ± 0.243 |  16.460 |  17.282 | 1.22 ± 0.03 |
+| `node dynamic-worker-nodes.js`              | 15.366 ± 0.298 |  15.112 |  16.362 | 1.12 ± 0.03 |
+| `node fixed-worker-nodes.js`                | 16.000 ± 0.231 |  15.718 |  16.664 | 1.17 ± 0.03 |
+| `node dynamic-node-worker-threads-pool.mjs` | 24.244 ± 0.308 |  23.921 |  25.100 | 1.77 ± 0.05 |
+| `node static-node-worker-threads-pool.mjs`  | 16.258 ± 0.203 |  16.063 |  16.873 | 1.18 ± 0.03 |
index 8478510e642b28fdc65e25ccd1a3a502ce71dadb..5f47089cfc9cb66352bbfca0107305589bf7a42a 100644 (file)
@@ -19,7 +19,7 @@
   "dependencies": {
     "node-worker-threads-pool": "1.5.1",
     "piscina": "4.0.0",
-    "poolifier": "2.6.3",
+    "poolifier": "2.6.5",
     "tinypool": "0.5.0",
     "worker-nodes": "2.6.0",
     "workerpool": "6.4.0"
index 69c4154da163b7e0c25755530e4b632734e65d37..dbcaec65caf8420241c7d13afa55f9c72918bd9f 100644 (file)
@@ -12,8 +12,8 @@ dependencies:
     specifier: 4.0.0
     version: 4.0.0
   poolifier:
-    specifier: 2.6.3
-    version: 2.6.3
+    specifier: 2.6.5
+    version: 2.6.5
   tinypool:
     specifier: 0.5.0
     version: 0.5.0
@@ -115,8 +115,8 @@ packages:
       nice-napi: 1.0.2
     dev: false
 
-  /poolifier@2.6.3:
-    resolution: {integrity: sha512-5kQjBXqeW8dbzlmDxKRvlC6Vi2zBrpiviVb53rupdQWIsivB6waApeJT4ayhVVLqKGrvLVr9HAeBMHBJaNUDVA==}
+  /poolifier@2.6.5:
+    resolution: {integrity: sha512-lSyoqFAsaWcZAY4n40qyxnnsdGLD0XuWNM/l76tcbuwbmhRaZPQtzwmtRRgvrYE4NtTifdzGVbK56e8HajgWNA==}
     engines: {node: '>=16.14.0', pnpm: '>=8.6.0'}
     requiresBuild: true
     dev: false