docs: update benchmarks vs. external pools
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 5 Jun 2023 15:06:05 +0000 (17:06 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 5 Jun 2023 15:06:05 +0000 (17:06 +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 732f23a3219050247e8e650ac032fee7f06440b7..6d728bcbeacbfdfc15bc492504b435b0a9d41e0b 100644 (file)
@@ -1,13 +1,13 @@
 | Command                                              |       Mean [s] | Min [s] | Max [s] |    Relative |
 | :--------------------------------------------------- | -------------: | ------: | ------: | ----------: |
-| `node dynamic-poolifier.js`                          | 14.957 ± 0.552 |  14.238 |  15.574 | 1.00 ± 0.06 |
-| `node fixed-poolifier.js`                            | 14.907 ± 0.723 |  13.349 |  15.965 |        1.00 |
-| `node dynamic-piscina.js`                            | 15.320 ± 0.534 |  14.883 |  16.137 | 1.03 ± 0.06 |
-| `node fixed-piscina.js`                              | 16.194 ± 0.786 |  14.859 |  16.957 | 1.09 ± 0.07 |
-| `node dynamic-workerpool.js`                         | 16.381 ± 0.499 |  15.743 |  17.021 | 1.10 ± 0.06 |
-| `node fixed-workerpool.js`                           | 16.812 ± 0.619 |  16.245 |  17.738 | 1.13 ± 0.07 |
-| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 26.254 ± 0.448 |  25.637 |  26.683 | 1.76 ± 0.09 |
-| `node static-suchmokuo-node-worker-threads-pool.js`  | 16.202 ± 0.592 |  15.641 |  17.208 | 1.09 ± 0.07 |
-| `node threadjs.js`                                   | 46.962 ± 1.680 |  43.669 |  50.238 | 3.15 ± 0.19 |
-| `node fixed-threadwork.js`                           | 15.931 ± 0.504 |  15.336 |  16.623 | 1.07 ± 0.06 |
-| `node fixed-microjob.js`                             | 31.982 ± 0.529 |  31.216 |  32.677 | 2.15 ± 0.11 |
+| `node dynamic-poolifier.js`                          | 13.275 ± 0.338 |  12.915 |  13.904 | 1.02 ± 0.03 |
+| `node fixed-poolifier.js`                            | 13.072 ± 0.101 |  12.936 |  13.281 |        1.00 |
+| `node dynamic-piscina.js`                            | 14.267 ± 0.371 |  14.090 |  15.314 | 1.09 ± 0.03 |
+| `node fixed-piscina.js`                              | 14.774 ± 0.180 |  14.526 |  14.993 | 1.13 ± 0.02 |
+| `node dynamic-workerpool.js`                         | 15.807 ± 0.420 |  15.545 |  16.936 | 1.21 ± 0.03 |
+| `node fixed-workerpool.js`                           | 16.216 ± 0.299 |  16.043 |  17.059 | 1.24 ± 0.02 |
+| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 23.617 ± 0.313 |  23.417 |  24.474 | 1.81 ± 0.03 |
+| `node static-suchmokuo-node-worker-threads-pool.js`  | 15.909 ± 0.238 |  15.728 |  16.533 | 1.22 ± 0.02 |
+| `node threadjs.js`                                   | 45.396 ± 2.056 |  41.743 |  48.402 | 3.47 ± 0.16 |
+| `node fixed-threadwork.js`                           | 15.373 ± 0.124 |  15.210 |  15.668 | 1.18 ± 0.01 |
+| `node fixed-microjob.js`                             | 31.409 ± 0.268 |  31.058 |  31.949 | 2.40 ± 0.03 |
index b466e3c6fd6b73c30bab04bb7b8bfc65c1e14e9a..a024bd342516ddeffcd44b4d6156afc45a1a6c47 100644 (file)
@@ -20,7 +20,7 @@
     "microjob": "0.7.0",
     "node-worker-threads-pool": "1.5.1",
     "piscina": "3.2.0",
-    "poolifier": "2.4.14",
+    "poolifier": "2.5.3",
     "threads": "1.7.0",
     "threadwork": "0.6.0",
     "worker-nodes": "2.4.0",
index 5e6ff457d6c5af8c138d50b7bf6cae8b0dd890d0..b02f4dda76732f00a3edbbcc8acd9f9fed254762 100644 (file)
@@ -15,8 +15,8 @@ dependencies:
     specifier: 3.2.0
     version: 3.2.0
   poolifier:
-    specifier: 2.4.14
-    version: 2.4.14
+    specifier: 2.5.3
+    version: 2.5.3
   threads:
     specifier: 1.7.0
     version: 1.7.0
@@ -177,9 +177,9 @@ packages:
       find-up: 5.0.0
     dev: false
 
-  /poolifier@2.4.14:
-    resolution: {integrity: sha512-22cWUpyV/2B+e/UXUbf+rvr9s7EHsDrjpuIr8I4MO9JBru4gADIlxEUSEpzj4U2eAhayyMo6Xt4kINKdiGGETg==}
-    engines: {node: '>=16.0.0', pnpm: '>=8.0.0'}
+  /poolifier@2.5.3:
+    resolution: {integrity: sha512-L/0ka0p/9zvchXtwUjVSJ/wKCQFMhjzSqNdFXqJaTjcME50d4+VrlvgxdfOj9rmIJ/EHSpTVVc05eAD8rQ4DpQ==}
+    engines: {node: '>=16.14.0', pnpm: '>=8.6.0'}
     requiresBuild: true
     dev: false