docs: update benchmarks vs. external pools
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 29 Jun 2023 18:35:11 +0000 (20:35 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 29 Jun 2023 18:35:11 +0000 (20:35 +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 093391182d3bf1fc8c1fe7845d7765efcb0f0e76..9a97e6f95d7a3b1bf96387e691ceea70542daebd 100644 (file)
@@ -1,14 +1,14 @@
 | Command                                     |       Mean [s] | Min [s] | Max [s] |    Relative |
 | :------------------------------------------ | -------------: | ------: | ------: | ----------: |
-| `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 |
+| `node dynamic-poolifier.mjs`                | 13.715 ± 0.223 |  13.469 |  14.484 | 1.01 ± 0.03 |
+| `node fixed-poolifier.mjs`                  | 13.571 ± 0.294 |  13.312 |  14.406 |        1.00 |
+| `node dynamic-piscina.mjs`                  | 14.699 ± 0.186 |  14.539 |  15.320 | 1.08 ± 0.03 |
+| `node fixed-piscina.mjs`                    | 15.779 ± 0.201 |  15.630 |  16.501 | 1.16 ± 0.03 |
+| `node fixed-tinypool.mjs`                   | 16.002 ± 0.149 |  15.843 |  16.526 | 1.18 ± 0.03 |
+| `node dynamic-tinypool.mjs`                 | 14.940 ± 0.213 |  14.806 |  15.812 | 1.10 ± 0.03 |
+| `node dynamic-workerpool.mjs`               | 16.167 ± 0.235 |  15.947 |  16.847 | 1.19 ± 0.03 |
+| `node fixed-workerpool.mjs`                 | 16.621 ± 0.177 |  16.477 |  17.303 | 1.22 ± 0.03 |
+| `node dynamic-worker-nodes.js`              | 15.428 ± 0.266 |  15.234 |  16.350 | 1.14 ± 0.03 |
+| `node fixed-worker-nodes.js`                | 15.918 ± 0.132 |  15.784 |  16.319 | 1.17 ± 0.03 |
+| `node dynamic-node-worker-threads-pool.mjs` | 24.262 ± 0.197 |  24.049 |  24.923 | 1.79 ± 0.04 |
+| `node static-node-worker-threads-pool.mjs`  | 16.235 ± 0.114 |  16.107 |  16.540 | 1.20 ± 0.03 |
index 5f47089cfc9cb66352bbfca0107305589bf7a42a..14fc72005ee9be9eca35ca3e208daf40720f7796 100644 (file)
@@ -20,7 +20,7 @@
     "node-worker-threads-pool": "1.5.1",
     "piscina": "4.0.0",
     "poolifier": "2.6.5",
-    "tinypool": "0.5.0",
+    "tinypool": "0.6.0",
     "worker-nodes": "2.6.0",
     "workerpool": "6.4.0"
   }
index dbcaec65caf8420241c7d13afa55f9c72918bd9f..6e233e545b8f3f096408eb5225fbedc015b43951 100644 (file)
@@ -15,8 +15,8 @@ dependencies:
     specifier: 2.6.5
     version: 2.6.5
   tinypool:
-    specifier: 0.5.0
-    version: 0.5.0
+    specifier: 0.6.0
+    version: 0.6.0
   worker-nodes:
     specifier: 2.6.0
     version: 2.6.0
@@ -121,8 +121,8 @@ packages:
     requiresBuild: true
     dev: false
 
-  /tinypool@0.5.0:
-    resolution: {integrity: sha512-paHQtnrlS1QZYKF/GnLoOM/DN9fqaGOFbCbxzAhwniySnzl9Ebk8w73/dd34DAhe/obUbPAOldTyYXQZxnPBPQ==}
+  /tinypool@0.6.0:
+    resolution: {integrity: sha512-FdswUUo5SxRizcBc6b1GSuLpLjisa8N8qMyYoP3rl+bym+QauhtJP5bvZY1ytt8krKGmMLYIRl36HBZfeAoqhQ==}
     engines: {node: '>=14.0.0'}
     dev: false