docs: update benchmarks vs. external thread pools
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 6 Apr 2023 17:25:36 +0000 (19:25 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 6 Apr 2023 17:25:36 +0000 (19:25 +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 359eb0c0ca0e002de90820e46d47b0ed27fe6b4a..b12fc23df3fd37b5e97a236be55e41203a517d87 100644 (file)
@@ -1,13 +1,13 @@
 | Command                                              |       Mean [s] | Min [s] | Max [s] |    Relative |
 | :--------------------------------------------------- | -------------: | ------: | ------: | ----------: |
-| `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 |
+| `node dynamic-poolifier.js`                          | 12.909 ± 0.330 |  12.686 |  13.821 | 1.00 ± 0.04 |
+| `node fixed-poolifier.js`                            | 12.857 ± 0.307 |  12.519 |  13.574 |        1.00 |
+| `node dynamic-piscina.js`                            | 13.592 ± 0.177 |  13.412 |  14.000 | 1.06 ± 0.03 |
+| `node fixed-piscina.js`                              | 14.064 ± 0.228 |  13.856 |  14.604 | 1.09 ± 0.03 |
+| `node dynamic-workerpool.js`                         | 15.089 ± 0.296 |  14.872 |  15.881 | 1.17 ± 0.04 |
+| `node fixed-workerpool.js`                           | 15.654 ± 0.305 |  15.378 |  16.276 | 1.22 ± 0.04 |
+| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 21.866 ± 0.158 |  21.646 |  22.166 | 1.70 ± 0.04 |
+| `node static-suchmokuo-node-worker-threads-pool.js`  | 15.162 ± 0.109 |  15.055 |  15.405 | 1.18 ± 0.03 |
+| `node threadjs.js`                                   | 47.015 ± 1.732 |  44.604 |  49.357 | 3.66 ± 0.16 |
+| `node fixed-threadwork.js`                           | 14.795 ± 0.263 |  14.631 |  15.519 | 1.15 ± 0.03 |
+| `node fixed-microjob.js`                             | 30.743 ± 0.252 |  30.491 |  31.236 | 2.39 ± 0.06 |
index 9d190faf5be6999c31f56f10969396f1f8b538d9..22bb7e0bea66b664ff9584543ed36bc9b1400f03 100644 (file)
@@ -12,7 +12,7 @@
     "microjob": "0.7.0",
     "node-worker-threads-pool": "1.5.1",
     "piscina": "3.2.0",
-    "poolifier": "2.4.1",
+    "poolifier": "2.4.2",
     "threads": "1.7.0",
     "threadwork": "0.6.0",
     "worker-nodes": "2.4.0",
index 40b0476ddfbef1b04aa23e266bcd51d2361574f0..6d101885a08d84a97305a8bb9541645942180440 100644 (file)
@@ -11,8 +11,8 @@ dependencies:
     specifier: 3.2.0
     version: 3.2.0
   poolifier:
-    specifier: 2.4.1
-    version: 2.4.1
+    specifier: 2.4.2
+    version: 2.4.2
   threads:
     specifier: 1.7.0
     version: 1.7.0
@@ -173,8 +173,8 @@ packages:
       find-up: 5.0.0
     dev: false
 
-  /poolifier@2.4.1:
-    resolution: {integrity: sha512-+tcneVpOMcyOkKOFkkG/fUyVpPuFoL0U6cJJ3T9yrSt/Mdhcmg4YLxVAse46KMEn3W6M8GSNUh8l2elbFPehvw==}
+  /poolifier@2.4.2:
+    resolution: {integrity: sha512-nZXcHsdgfLYDTrPuYrMQgAykmj+lLTqRN8wgl74PFprUuz0P8e1UbTEmDYfXYtS7uUUMAXFAdYnqN7eO0mxnqg==}
     engines: {node: '>=16.0.0'}
     requiresBuild: true
     dev: false