docs: update benchmarks vs. external pools
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 3 Jul 2023 10:04:25 +0000 (12:04 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 3 Jul 2023 10:04:25 +0000 (12:04 +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 9a97e6f95d7a3b1bf96387e691ceea70542daebd..257cd544af49259324f1cb6e3cd53da5074782cc 100644 (file)
@@ -1,14 +1,14 @@
 | Command                                     |       Mean [s] | Min [s] | Max [s] |    Relative |
 | :------------------------------------------ | -------------: | ------: | ------: | ----------: |
-| `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 |
+| `node dynamic-poolifier.mjs`                | 13.740 ± 0.174 |  13.533 |  14.312 | 1.01 ± 0.02 |
+| `node fixed-poolifier.mjs`                  | 13.563 ± 0.138 |  13.399 |  13.952 |        1.00 |
+| `node dynamic-piscina.mjs`                  | 14.683 ± 0.235 |  14.502 |  15.579 | 1.08 ± 0.02 |
+| `node fixed-piscina.mjs`                    | 15.818 ± 0.230 |  15.665 |  16.515 | 1.17 ± 0.02 |
+| `node fixed-tinypool.mjs`                   | 16.044 ± 0.137 |  15.894 |  16.528 | 1.18 ± 0.02 |
+| `node dynamic-tinypool.mjs`                 | 15.053 ± 0.305 |  14.850 |  15.937 | 1.11 ± 0.03 |
+| `node dynamic-workerpool.mjs`               | 16.219 ± 0.227 |  16.064 |  17.127 | 1.20 ± 0.02 |
+| `node fixed-workerpool.mjs`                 | 16.684 ± 0.225 |  16.541 |  17.607 | 1.23 ± 0.02 |
+| `node dynamic-worker-nodes.js`              | 15.464 ± 0.330 |  15.208 |  16.594 | 1.14 ± 0.03 |
+| `node fixed-worker-nodes.js`                | 16.031 ± 0.229 |  15.870 |  16.653 | 1.18 ± 0.02 |
+| `node dynamic-node-worker-threads-pool.mjs` | 24.256 ± 0.150 |  24.093 |  24.678 | 1.79 ± 0.02 |
+| `node static-node-worker-threads-pool.mjs`  | 16.333 ± 0.198 |  16.199 |  17.118 | 1.20 ± 0.02 |
index 14fc72005ee9be9eca35ca3e208daf40720f7796..5dbf87a038230b08b9d17514546935f4898a1176 100644 (file)
@@ -19,7 +19,7 @@
   "dependencies": {
     "node-worker-threads-pool": "1.5.1",
     "piscina": "4.0.0",
-    "poolifier": "2.6.5",
+    "poolifier": "2.6.6",
     "tinypool": "0.6.0",
     "worker-nodes": "2.6.0",
     "workerpool": "6.4.0"
index 6e233e545b8f3f096408eb5225fbedc015b43951..02484fcdf2930fe24e3820a3c9c7d5a4e6fe2ef9 100644 (file)
@@ -12,8 +12,8 @@ dependencies:
     specifier: 4.0.0
     version: 4.0.0
   poolifier:
-    specifier: 2.6.5
-    version: 2.6.5
+    specifier: 2.6.6
+    version: 2.6.6
   tinypool:
     specifier: 0.6.0
     version: 0.6.0
@@ -115,8 +115,8 @@ packages:
       nice-napi: 1.0.2
     dev: false
 
-  /poolifier@2.6.5:
-    resolution: {integrity: sha512-lSyoqFAsaWcZAY4n40qyxnnsdGLD0XuWNM/l76tcbuwbmhRaZPQtzwmtRRgvrYE4NtTifdzGVbK56e8HajgWNA==}
+  /poolifier@2.6.6:
+    resolution: {integrity: sha512-u6GbjmxQp1sI9p94ucgE6gXfepxL8ZFsStrr5FSrxcMBU36RY3B0HzUck6TEQV0uhd09f4xMult0wb0F+JMxTw==}
     engines: {node: '>=16.14.0', pnpm: '>=8.6.0'}
     requiresBuild: true
     dev: false