docs: update benchmarks vs. external pools
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 5 Apr 2023 13:51:41 +0000 (15:51 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 5 Apr 2023 13:51:41 +0000 (15:51 +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 c81f5e22d7ee089554b42127458ff04c292c5ec5..359eb0c0ca0e002de90820e46d47b0ed27fe6b4a 100644 (file)
@@ -1,13 +1,13 @@
 | Command                                              |       Mean [s] | Min [s] | Max [s] |    Relative |
 | :--------------------------------------------------- | -------------: | ------: | ------: | ----------: |
-| `node dynamic-poolifier.js`                          | 13.106 ± 0.246 |  12.894 |  13.745 |        1.00 |
-| `node fixed-poolifier.js`                            | 13.108 ± 0.216 |  12.876 |  13.595 | 1.00 ± 0.02 |
-| `node dynamic-piscina.js`                            | 13.920 ± 0.145 |  13.832 |  14.316 | 1.06 ± 0.02 |
-| `node fixed-piscina.js`                              | 14.466 ± 0.286 |  14.271 |  15.197 | 1.10 ± 0.03 |
-| `node dynamic-workerpool.js`                         | 15.379 ± 0.109 |  15.268 |  15.644 | 1.17 ± 0.02 |
-| `node fixed-workerpool.js`                           | 15.966 ± 0.200 |  15.835 |  16.517 | 1.22 ± 0.03 |
-| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 22.538 ± 0.327 |  22.403 |  23.464 | 1.72 ± 0.04 |
-| `node static-suchmokuo-node-worker-threads-pool.js`  | 15.630 ± 0.240 |  15.502 |  16.231 | 1.19 ± 0.03 |
-| `node threadjs.js`                                   | 48.327 ± 3.117 |  42.458 |  53.662 | 3.69 ± 0.25 |
-| `node fixed-threadwork.js`                           | 14.737 ± 0.085 |  14.657 |  14.957 | 1.12 ± 0.02 |
-| `node fixed-microjob.js`                             | 30.279 ± 0.329 |  29.939 |  31.059 | 2.31 ± 0.05 |
+| `node dynamic-poolifier.js`                          | 12.391 ± 0.139 |  12.217 |  12.709 |        1.00 |
+| `node fixed-poolifier.js`                            | 12.456 ± 0.255 |  12.274 |  13.128 | 1.01 ± 0.02 |
+| `node dynamic-piscina.js`                            | 12.879 ± 0.125 |  12.798 |  13.224 | 1.04 ± 0.02 |
+| `node fixed-piscina.js`                              | 13.486 ± 0.179 |  13.375 |  13.919 | 1.09 ± 0.02 |
+| `node dynamic-workerpool.js`                         | 14.336 ± 0.147 |  14.217 |  14.665 | 1.16 ± 0.02 |
+| `node fixed-workerpool.js`                           | 14.955 ± 0.165 |  14.866 |  15.421 | 1.21 ± 0.02 |
+| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 20.860 ± 0.260 |  20.674 |  21.378 | 1.68 ± 0.03 |
+| `node static-suchmokuo-node-worker-threads-pool.js`  | 14.687 ± 0.211 |  14.595 |  15.286 | 1.19 ± 0.02 |
+| `node threadjs.js`                                   | 44.565 ± 2.265 |  41.726 |  48.816 | 3.60 ± 0.19 |
+| `node fixed-threadwork.js`                           | 14.220 ± 0.136 |  14.125 |  14.599 | 1.15 ± 0.02 |
+| `node fixed-microjob.js`                             | 29.100 ± 0.280 |  28.713 |  29.816 | 2.35 ± 0.03 |
index 0775306eaf1e3d187b961918b23aa0fe88a45525..9d190faf5be6999c31f56f10969396f1f8b538d9 100644 (file)
@@ -12,7 +12,7 @@
     "microjob": "0.7.0",
     "node-worker-threads-pool": "1.5.1",
     "piscina": "3.2.0",
-    "poolifier": "2.4.0",
+    "poolifier": "2.4.1",
     "threads": "1.7.0",
     "threadwork": "0.6.0",
     "worker-nodes": "2.4.0",
index f5fa61c84b08c52a29267f68b6f90db9c6877019..40b0476ddfbef1b04aa23e266bcd51d2361574f0 100644 (file)
@@ -11,8 +11,8 @@ dependencies:
     specifier: 3.2.0
     version: 3.2.0
   poolifier:
-    specifier: 2.4.0
-    version: 2.4.0
+    specifier: 2.4.1
+    version: 2.4.1
   threads:
     specifier: 1.7.0
     version: 1.7.0
@@ -173,8 +173,8 @@ packages:
       find-up: 5.0.0
     dev: false
 
-  /poolifier@2.4.0:
-    resolution: {integrity: sha512-XKnm9aW9ld4KMveTwtz32sOZUwo2Q1htgyIs8vcptrvM46C0zvwuJbeARK8JaYXV8RDprG0auRMyz0HPoM9pRw==}
+  /poolifier@2.4.1:
+    resolution: {integrity: sha512-+tcneVpOMcyOkKOFkkG/fUyVpPuFoL0U6cJJ3T9yrSt/Mdhcmg4YLxVAse46KMEn3W6M8GSNUh8l2elbFPehvw==}
     engines: {node: '>=16.0.0'}
     requiresBuild: true
     dev: false