docs: update benchmarks vs. external pools
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 15 Apr 2023 23:34:17 +0000 (01:34 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 15 Apr 2023 23:34:17 +0000 (01:34 +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 d8d5868998f08f9305d44723c9a87313a484f746..fabfbd0eb095804c48e79c63cc2940174cffb541 100644 (file)
@@ -1,13 +1,13 @@
 | Command                                              |       Mean [s] | Min [s] | Max [s] |    Relative |
 | :--------------------------------------------------- | -------------: | ------: | ------: | ----------: |
-| `node dynamic-poolifier.js`                          | 13.106 ± 0.110 |  12.961 |  13.262 | 1.00 ± 0.02 |
-| `node fixed-poolifier.js`                            | 13.056 ± 0.259 |  12.831 |  13.679 |        1.00 |
-| `node dynamic-piscina.js`                            | 13.753 ± 0.156 |  13.619 |  14.122 | 1.05 ± 0.02 |
-| `node fixed-piscina.js`                              | 14.327 ± 0.222 |  14.163 |  14.918 | 1.10 ± 0.03 |
-| `node dynamic-workerpool.js`                         | 15.402 ± 0.306 |  15.196 |  16.218 | 1.18 ± 0.03 |
-| `node fixed-workerpool.js`                           | 15.811 ± 0.213 |  15.696 |  16.386 | 1.21 ± 0.03 |
-| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 22.463 ± 0.359 |  22.176 |  23.420 | 1.72 ± 0.04 |
-| `node static-suchmokuo-node-worker-threads-pool.js`  | 15.540 ± 0.247 |  15.356 |  16.166 | 1.19 ± 0.03 |
-| `node threadjs.js`                                   | 48.158 ± 2.432 |  43.090 |  51.882 | 3.69 ± 0.20 |
-| `node fixed-threadwork.js`                           | 15.056 ± 0.218 |  14.861 |  15.621 | 1.15 ± 0.03 |
-| `node fixed-microjob.js`                             | 31.487 ± 0.369 |  31.036 |  32.105 | 2.41 ± 0.06 |
+| `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 |
index 47aecd563c511928d1b45a2bb46b129d64ad765e..fe8f8cf14f89f29f54ae3f9668deda21f65586a6 100644 (file)
@@ -12,7 +12,7 @@
     "microjob": "0.7.0",
     "node-worker-threads-pool": "1.5.1",
     "piscina": "3.2.0",
-    "poolifier": "2.4.8",
+    "poolifier": "2.4.10",
     "threads": "1.7.0",
     "threadwork": "0.6.0",
     "worker-nodes": "2.4.0",
index 7ae4cf9f5a8d048dba8f5bc73046725cf6a27bf3..b880a2779e1db304382835836397c820ce2b1ead 100644 (file)
@@ -11,8 +11,8 @@ dependencies:
     specifier: 3.2.0
     version: 3.2.0
   poolifier:
-    specifier: 2.4.8
-    version: 2.4.8
+    specifier: 2.4.10
+    version: 2.4.10
   threads:
     specifier: 1.7.0
     version: 1.7.0
@@ -173,8 +173,8 @@ packages:
       find-up: 5.0.0
     dev: false
 
-  /poolifier@2.4.8:
-    resolution: {integrity: sha512-pXVy10pySXF8b8jC8kme6yjp+Ldv73LCj5cOcy1DwMK7OlsLi83ezUjxy70WKRvhEakKtapv5hb1sAOuoCi81w==}
+  /poolifier@2.4.10:
+    resolution: {integrity: sha512-N7iQzzAl5TwOvAK76LOG2GJeE0AVdAnkgjwZj6+aed1I/TGzQYzmK17jgycvv/oA3kIuDNScwN+GISry779hqA==}
     engines: {node: '>=16.0.0'}
     requiresBuild: true
     dev: false