docs: update benchmarks vs. external pool
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 8 May 2023 15:50:45 +0000 (17:50 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 8 May 2023 15:50:45 +0000 (17:50 +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 ff433e7cc6666892c24519dd17ee6737ea1daaab..a91bfea0c93b62f7357cbcdb8074af21b15de9dd 100644 (file)
@@ -1,13 +1,13 @@
 | Command                                              |       Mean [s] | Min [s] | Max [s] |    Relative |
 | :--------------------------------------------------- | -------------: | ------: | ------: | ----------: |
-| `node dynamic-poolifier.js`                          | 13.680 ± 0.318 |  13.357 |  14.466 | 1.02 ± 0.03 |
-| `node fixed-poolifier.js`                            | 13.362 ± 0.146 |  13.090 |  13.556 |        1.00 |
-| `node dynamic-piscina.js`                            | 14.494 ± 0.369 |  14.237 |  15.504 | 1.08 ± 0.03 |
-| `node fixed-piscina.js`                              | 14.844 ± 0.245 |  14.641 |  15.522 | 1.11 ± 0.02 |
-| `node dynamic-workerpool.js`                         | 16.015 ± 0.407 |  15.779 |  17.155 | 1.20 ± 0.03 |
-| `node fixed-workerpool.js`                           | 16.339 ± 0.112 |  16.261 |  16.635 | 1.22 ± 0.02 |
-| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 24.068 ± 0.228 |  23.806 |  24.508 | 1.80 ± 0.03 |
-| `node static-suchmokuo-node-worker-threads-pool.js`  | 16.038 ± 0.287 |  15.884 |  16.849 | 1.20 ± 0.03 |
-| `node threadjs.js`                                   | 47.680 ± 2.763 |  43.420 |  51.981 | 3.57 ± 0.21 |
-| `node fixed-threadwork.js`                           | 15.561 ± 0.302 |  15.367 |  16.398 | 1.16 ± 0.03 |
-| `node fixed-microjob.js`                             | 32.170 ± 0.346 |  31.792 |  33.044 | 2.41 ± 0.04 |
+| `node dynamic-poolifier.js`                          | 15.575 ± 0.806 |  14.368 |  16.612 |        1.00 |
+| `node fixed-poolifier.js`                            | 15.668 ± 1.119 |  13.846 |  17.596 | 1.01 ± 0.09 |
+| `node dynamic-piscina.js`                            | 16.313 ± 0.888 |  14.658 |  17.381 | 1.05 ± 0.08 |
+| `node fixed-piscina.js`                              | 16.759 ± 0.732 |  15.426 |  17.713 | 1.08 ± 0.07 |
+| `node dynamic-workerpool.js`                         | 16.829 ± 0.907 |  15.429 |  18.549 | 1.08 ± 0.08 |
+| `node fixed-workerpool.js`                           | 17.606 ± 0.712 |  16.451 |  18.547 | 1.13 ± 0.07 |
+| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 26.742 ± 0.718 |  25.660 |  27.505 | 1.72 ± 0.10 |
+| `node static-suchmokuo-node-worker-threads-pool.js`  | 17.087 ± 0.729 |  15.954 |  18.117 | 1.10 ± 0.07 |
+| `node threadjs.js`                                   | 47.532 ± 1.717 |  44.724 |  50.867 | 3.05 ± 0.19 |
+| `node fixed-threadwork.js`                           | 16.581 ± 1.137 |  15.194 |  18.732 | 1.06 ± 0.09 |
+| `node fixed-microjob.js`                             | 33.834 ± 1.153 |  32.214 |  36.117 | 2.17 ± 0.13 |
index f02a70e3c07080d00142c67d16de774e7f1483ff..b8b681e9e3fec6115c659a51dcf8dba138fce9b4 100644 (file)
@@ -20,7 +20,7 @@
     "microjob": "0.7.0",
     "node-worker-threads-pool": "1.5.1",
     "piscina": "3.2.0",
-    "poolifier": "2.4.11",
+    "poolifier": "2.4.13",
     "threads": "1.7.0",
     "threadwork": "0.6.0",
     "worker-nodes": "2.4.0",
index 7a53cde5593d325c622ad40108a8ce8d14bd6dd0..58f4acc8014180a4b4a891e83817fd00e1d3cf74 100644 (file)
@@ -11,8 +11,8 @@ dependencies:
     specifier: 3.2.0
     version: 3.2.0
   poolifier:
-    specifier: 2.4.11
-    version: 2.4.11
+    specifier: 2.4.13
+    version: 2.4.13
   threads:
     specifier: 1.7.0
     version: 1.7.0
@@ -173,9 +173,9 @@ packages:
       find-up: 5.0.0
     dev: false
 
-  /poolifier@2.4.11:
-    resolution: {integrity: sha512-ZGeWwqmAqZgQ71gpqEpjGimzSFLz7nYbEUS1eWTfSnDoTpkpPp9sVlCTia6SvJw7OECawAEK2QrE3chsZGwXbQ==}
-    engines: {node: '>=16.0.0', pnpm: '>= 8.0.0'}
+  /poolifier@2.4.13:
+    resolution: {integrity: sha512-cKByF/HhQqyKplJDozM61ZVFpziL1t8t0zjzukJqrRAjOFxDOExpbkv4Qrc2a0QATJL/lqrasPDynmSFXcSIeA==}
+    engines: {node: '>=16.0.0', pnpm: '>=8.0.0'}
     requiresBuild: true
     dev: false