docs: update benchmarks vs. external pools
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 10 Jun 2023 21:59:53 +0000 (23:59 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 10 Jun 2023 21:59:53 +0000 (23:59 +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 6d728bcbeacbfdfc15bc492504b435b0a9d41e0b..9ec2d9b0976c0eda2296f15832223c16f3c5b71c 100644 (file)
@@ -1,13 +1,13 @@
 | Command                                              |       Mean [s] | Min [s] | Max [s] |    Relative |
 | :--------------------------------------------------- | -------------: | ------: | ------: | ----------: |
-| `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 |
+| `node dynamic-poolifier.js`                          | 13.278 ± 0.226 |  12.990 |  13.750 | 1.01 ± 0.02 |
+| `node fixed-poolifier.js`                            | 13.200 ± 0.197 |  12.966 |  13.686 |        1.00 |
+| `node dynamic-piscina.js`                            | 14.152 ± 0.095 |  14.025 |  14.389 | 1.07 ± 0.02 |
+| `node fixed-piscina.js`                              | 14.602 ± 0.105 |  14.516 |  14.842 | 1.11 ± 0.02 |
+| `node dynamic-workerpool.js`                         | 15.635 ± 0.139 |  15.517 |  16.007 | 1.18 ± 0.02 |
+| `node fixed-workerpool.js`                           | 16.165 ± 0.165 |  16.040 |  16.494 | 1.22 ± 0.02 |
+| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 23.543 ± 0.202 |  23.303 |  24.013 | 1.78 ± 0.03 |
+| `node static-suchmokuo-node-worker-threads-pool.js`  | 15.895 ± 0.244 |  15.701 |  16.404 | 1.20 ± 0.03 |
+| `node threadjs.js`                                   | 47.464 ± 2.122 |  44.962 |  51.952 | 3.60 ± 0.17 |
+| `node fixed-threadwork.js`                           | 15.474 ± 0.287 |  15.191 |  16.225 | 1.17 ± 0.03 |
+| `node fixed-microjob.js`                             | 31.383 ± 0.217 |  31.066 |  31.664 | 2.38 ± 0.04 |
index 97514da1939fcae1e9be34ea007c5cf79098165d..e91fc16b67fde93a7f3ebc054aab2367f7dcc96e 100644 (file)
@@ -20,7 +20,7 @@
     "microjob": "0.7.0",
     "node-worker-threads-pool": "1.5.1",
     "piscina": "3.2.0",
-    "poolifier": "2.5.3",
+    "poolifier": "2.6.1",
     "threads": "1.7.0",
     "threadwork": "0.6.0",
     "worker-nodes": "2.4.0",
index b02f4dda76732f00a3edbbcc8acd9f9fed254762..76d46a42d9d3148af709cea719e94348d0036e53 100644 (file)
@@ -15,8 +15,8 @@ dependencies:
     specifier: 3.2.0
     version: 3.2.0
   poolifier:
-    specifier: 2.5.3
-    version: 2.5.3
+    specifier: 2.6.1
+    version: 2.6.1
   threads:
     specifier: 1.7.0
     version: 1.7.0
@@ -177,8 +177,8 @@ packages:
       find-up: 5.0.0
     dev: false
 
-  /poolifier@2.5.3:
-    resolution: {integrity: sha512-L/0ka0p/9zvchXtwUjVSJ/wKCQFMhjzSqNdFXqJaTjcME50d4+VrlvgxdfOj9rmIJ/EHSpTVVc05eAD8rQ4DpQ==}
+  /poolifier@2.6.1:
+    resolution: {integrity: sha512-9ir1PklqI/exULw9UDzLb9lAQC8yfJ9NvIRKAYDWKHU/9f3RXrciOeMP6RtedEcZ3RXO8cMNyR1L+p3caYo4YQ==}
     engines: {node: '>=16.14.0', pnpm: '>=8.6.0'}
     requiresBuild: true
     dev: false