docs: update benchmarks vs. external pools
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 9 Apr 2023 16:22:33 +0000 (18:22 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 9 Apr 2023 16:22:33 +0000 (18:22 +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 a0466dc6e1dd7deae402c67c34657be8393d9020..47b23335619d7020c1432165847a4c62bcc4131b 100644 (file)
@@ -1,13 +1,13 @@
 | Command                                              |       Mean [s] | Min [s] | Max [s] |    Relative |
 | :--------------------------------------------------- | -------------: | ------: | ------: | ----------: |
-| `node dynamic-poolifier.js`                          | 12.935 ± 0.236 |  12.663 |  13.509 | 1.01 ± 0.03 |
-| `node fixed-poolifier.js`                            | 12.808 ± 0.280 |  12.574 |  13.564 |        1.00 |
-| `node dynamic-piscina.js`                            | 13.542 ± 0.165 |  13.371 |  13.808 | 1.06 ± 0.03 |
-| `node fixed-piscina.js`                              | 14.027 ± 0.264 |  13.855 |  14.739 | 1.10 ± 0.03 |
-| `node dynamic-workerpool.js`                         | 15.082 ± 0.304 |  14.818 |  15.895 | 1.18 ± 0.04 |
-| `node fixed-workerpool.js`                           | 15.532 ± 0.283 |  15.359 |  16.314 | 1.21 ± 0.03 |
-| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 21.896 ± 0.263 |  21.635 |  22.608 | 1.71 ± 0.04 |
-| `node static-suchmokuo-node-worker-threads-pool.js`  | 15.805 ± 1.176 |  15.088 |  18.736 | 1.23 ± 0.10 |
-| `node threadjs.js`                                   | 46.191 ± 2.555 |  42.679 |  50.314 | 3.61 ± 0.21 |
-| `node fixed-threadwork.js`                           | 14.708 ± 0.232 |  14.567 |  15.346 | 1.15 ± 0.03 |
-| `node fixed-microjob.js`                             | 30.567 ± 0.362 |  30.280 |  31.509 | 2.39 ± 0.06 |
+| `node dynamic-poolifier.js`                          | 12.809 ± 0.116 |  12.653 |  13.006 |        1.00 |
+| `node fixed-poolifier.js`                            | 12.983 ± 0.633 |  12.356 |  14.491 | 1.01 ± 0.05 |
+| `node dynamic-piscina.js`                            | 13.472 ± 0.211 |  13.234 |  13.916 | 1.05 ± 0.02 |
+| `node fixed-piscina.js`                              | 14.012 ± 0.325 |  13.784 |  14.898 | 1.09 ± 0.03 |
+| `node dynamic-workerpool.js`                         | 14.885 ± 0.112 |  14.774 |  15.165 | 1.16 ± 0.01 |
+| `node fixed-workerpool.js`                           | 15.481 ± 0.104 |  15.396 |  15.697 | 1.21 ± 0.01 |
+| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 21.843 ± 0.463 |  21.465 |  22.668 | 1.71 ± 0.04 |
+| `node static-suchmokuo-node-worker-threads-pool.js`  | 15.249 ± 0.224 |  14.996 |  15.735 | 1.19 ± 0.02 |
+| `node threadjs.js`                                   | 45.590 ± 1.984 |  42.788 |  49.949 | 3.56 ± 0.16 |
+| `node fixed-threadwork.js`                           | 14.739 ± 0.263 |  14.578 |  15.422 | 1.15 ± 0.02 |
+| `node fixed-microjob.js`                             | 30.598 ± 0.434 |  30.033 |  31.302 | 2.39 ± 0.04 |
index 7a9ff1dc244745ed387d0f8f64e4d51b8b332ebc..a53b2fcad3143b6f24cf03c8fb31f6546e0fd2ed 100644 (file)
@@ -12,7 +12,7 @@
     "microjob": "0.7.0",
     "node-worker-threads-pool": "1.5.1",
     "piscina": "3.2.0",
-    "poolifier": "2.4.4",
+    "poolifier": "2.4.5",
     "threads": "1.7.0",
     "threadwork": "0.6.0",
     "worker-nodes": "2.4.0",
index d2b06b297ce0b7358e1632287bd29cfc66411c7e..22851d94f864385b27ba8f5109d37f2236e4874b 100644 (file)
@@ -11,8 +11,8 @@ dependencies:
     specifier: 3.2.0
     version: 3.2.0
   poolifier:
-    specifier: 2.4.4
-    version: 2.4.4
+    specifier: 2.4.5
+    version: 2.4.5
   threads:
     specifier: 1.7.0
     version: 1.7.0
@@ -173,8 +173,8 @@ packages:
       find-up: 5.0.0
     dev: false
 
-  /poolifier@2.4.4:
-    resolution: {integrity: sha512-kPzCuva//h+gW9pdpGzdqG5Y8WoueXxQkJ0J1YiIuAKRljCjuMJ/XCYpLOyp0rHTKvXT5mrA5m+fEuVlT2EESg==}
+  /poolifier@2.4.5:
+    resolution: {integrity: sha512-SPpsYF6aXNJm3LHM26HaEwmE64uMSUlsqAeGxLLsGec5STaRRm0Su0mwsF57llLEI8EpM7f4AmrkbGosrc7ikA==}
     engines: {node: '>=16.0.0'}
     requiresBuild: true
     dev: false