docs: update benchmarks vs. external pool
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 23 Apr 2023 22:23:32 +0000 (00:23 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 23 Apr 2023 22:23:32 +0000 (00:23 +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 fabfbd0eb095804c48e79c63cc2940174cffb541..ff433e7cc6666892c24519dd17ee6737ea1daaab 100644 (file)
@@ -1,13 +1,13 @@
 | Command                                              |       Mean [s] | Min [s] | Max [s] |    Relative |
 | :--------------------------------------------------- | -------------: | ------: | ------: | ----------: |
-| `node dynamic-poolifier.js`                          | 12.873 ± 0.150 |  12.706 |  13.219 | 1.01 ± 0.02 |
-| `node fixed-poolifier.js`                            | 12.783 ± 0.201 |  12.581 |  13.156 |        1.00 |
-| `node dynamic-piscina.js`                            | 13.442 ± 0.115 |  13.357 |  13.752 | 1.05 ± 0.02 |
-| `node fixed-piscina.js`                              | 13.999 ± 0.248 |  13.860 |  14.689 | 1.10 ± 0.03 |
-| `node dynamic-workerpool.js`                         | 15.028 ± 0.180 |  14.894 |  15.530 | 1.18 ± 0.02 |
-| `node fixed-workerpool.js`                           | 15.608 ± 0.274 |  15.432 |  16.295 | 1.22 ± 0.03 |
-| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 21.908 ± 0.277 |  21.683 |  22.558 | 1.71 ± 0.03 |
-| `node static-suchmokuo-node-worker-threads-pool.js`  | 15.156 ± 0.086 |  15.063 |  15.375 | 1.19 ± 0.02 |
-| `node threadjs.js`                                   | 46.716 ± 2.006 |  43.456 |  49.892 | 3.65 ± 0.17 |
-| `node fixed-threadwork.js`                           | 14.833 ± 0.293 |  14.602 |  15.397 | 1.16 ± 0.03 |
-| `node fixed-microjob.js`                             | 30.445 ± 0.300 |  30.266 |  31.268 | 2.38 ± 0.04 |
+| `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 |
index 95000e670c0df5c09d5c8ccb845c2842f29e66fc..4c654af9d32dec5cbc17bd9e187f8d5273f455bd 100644 (file)
@@ -20,7 +20,7 @@
     "microjob": "0.7.0",
     "node-worker-threads-pool": "1.5.1",
     "piscina": "3.2.0",
-    "poolifier": "2.4.10",
+    "poolifier": "2.4.11",
     "threads": "1.7.0",
     "threadwork": "0.6.0",
     "worker-nodes": "2.4.0",
index b880a2779e1db304382835836397c820ce2b1ead..7a53cde5593d325c622ad40108a8ce8d14bd6dd0 100644 (file)
@@ -11,8 +11,8 @@ dependencies:
     specifier: 3.2.0
     version: 3.2.0
   poolifier:
-    specifier: 2.4.10
-    version: 2.4.10
+    specifier: 2.4.11
+    version: 2.4.11
   threads:
     specifier: 1.7.0
     version: 1.7.0
@@ -173,9 +173,9 @@ packages:
       find-up: 5.0.0
     dev: false
 
-  /poolifier@2.4.10:
-    resolution: {integrity: sha512-N7iQzzAl5TwOvAK76LOG2GJeE0AVdAnkgjwZj6+aed1I/TGzQYzmK17jgycvv/oA3kIuDNScwN+GISry779hqA==}
-    engines: {node: '>=16.0.0'}
+  /poolifier@2.4.11:
+    resolution: {integrity: sha512-ZGeWwqmAqZgQ71gpqEpjGimzSFLz7nYbEUS1eWTfSnDoTpkpPp9sVlCTia6SvJw7OECawAEK2QrE3chsZGwXbQ==}
+    engines: {node: '>=16.0.0', pnpm: '>= 8.0.0'}
     requiresBuild: true
     dev: false