docs: update benchmark vs. external pools
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 19 Jun 2023 10:13:00 +0000 (12:13 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 19 Jun 2023 10:13:00 +0000 (12:13 +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 9ec2d9b0976c0eda2296f15832223c16f3c5b71c..b5a58a368ad4b83efac3b4890e479babc2d23034 100644 (file)
@@ -1,13 +1,13 @@
 | Command                                              |       Mean [s] | Min [s] | Max [s] |    Relative |
 | :--------------------------------------------------- | -------------: | ------: | ------: | ----------: |
-| `node dynamic-poolifier.js`                          | 13.278 ± 0.226 |  12.990 |  13.750 | 1.01 ± 0.02 |
-| `node fixed-poolifier.js`                            | 13.200 ± 0.197 |  12.966 |  13.686 |        1.00 |
-| `node dynamic-piscina.js`                            | 14.152 ± 0.095 |  14.025 |  14.389 | 1.07 ± 0.02 |
-| `node fixed-piscina.js`                              | 14.602 ± 0.105 |  14.516 |  14.842 | 1.11 ± 0.02 |
-| `node dynamic-workerpool.js`                         | 15.635 ± 0.139 |  15.517 |  16.007 | 1.18 ± 0.02 |
-| `node fixed-workerpool.js`                           | 16.165 ± 0.165 |  16.040 |  16.494 | 1.22 ± 0.02 |
-| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 23.543 ± 0.202 |  23.303 |  24.013 | 1.78 ± 0.03 |
-| `node static-suchmokuo-node-worker-threads-pool.js`  | 15.895 ± 0.244 |  15.701 |  16.404 | 1.20 ± 0.03 |
-| `node threadjs.js`                                   | 47.464 ± 2.122 |  44.962 |  51.952 | 3.60 ± 0.17 |
-| `node fixed-threadwork.js`                           | 15.474 ± 0.287 |  15.191 |  16.225 | 1.17 ± 0.03 |
-| `node fixed-microjob.js`                             | 31.383 ± 0.217 |  31.066 |  31.664 | 2.38 ± 0.04 |
+| `node dynamic-poolifier.js`                          | 13.345 ± 0.195 |  13.139 |  13.826 | 1.01 ± 0.03 |
+| `node fixed-poolifier.js`                            | 13.216 ± 0.275 |  13.007 |  13.970 |        1.00 |
+| `node dynamic-piscina.js`                            | 14.188 ± 0.121 |  14.069 |  14.498 | 1.07 ± 0.02 |
+| `node fixed-piscina.js`                              | 14.725 ± 0.139 |  14.607 |  15.078 | 1.11 ± 0.03 |
+| `node dynamic-workerpool.js`                         | 15.700 ± 0.148 |  15.568 |  16.049 | 1.19 ± 0.03 |
+| `node fixed-workerpool.js`                           | 16.192 ± 0.100 |  16.083 |  16.428 | 1.23 ± 0.03 |
+| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 23.746 ± 0.330 |  23.468 |  24.642 | 1.80 ± 0.05 |
+| `node static-suchmokuo-node-worker-threads-pool.js`  | 15.897 ± 0.210 |  15.774 |  16.486 | 1.20 ± 0.03 |
+| `node threadjs.js`                                   | 46.152 ± 2.548 |  42.212 |  50.558 | 3.49 ± 0.21 |
+| `node fixed-threadwork.js`                           | 15.414 ± 0.075 |  15.276 |  15.537 | 1.17 ± 0.02 |
+| `node fixed-microjob.js`                             | 31.518 ± 0.340 |  31.248 |  32.415 | 2.38 ± 0.06 |
index a46aef64497cf138b15086ff31032689157e3b06..294332c93a93b084fce773494d27254c1faf705c 100644 (file)
   "dependencies": {
     "microjob": "0.7.0",
     "node-worker-threads-pool": "1.5.1",
-    "piscina": "3.2.0",
-    "poolifier": "2.6.1",
+    "piscina": "4.0.0",
+    "poolifier": "2.6.2",
     "threads": "1.7.0",
     "threadwork": "0.6.0",
-    "worker-nodes": "2.4.0",
+    "worker-nodes": "2.5.0",
     "workerpool": "6.4.0"
   }
 }
index 4ee6e11dbe5b738c7891e2cfbaaa481e605c17c9..62fd7f56827ab8fcb1d0436a42869bafe637856f 100644 (file)
@@ -12,11 +12,11 @@ dependencies:
     specifier: 1.5.1
     version: 1.5.1
   piscina:
-    specifier: 3.2.0
-    version: 3.2.0
+    specifier: 4.0.0
+    version: 4.0.0
   poolifier:
-    specifier: 2.6.1
-    version: 2.6.1
+    specifier: 2.6.2
+    version: 2.6.2
   threads:
     specifier: 1.7.0
     version: 1.7.0
@@ -24,8 +24,8 @@ dependencies:
     specifier: 0.6.0
     version: 0.6.0
   worker-nodes:
-    specifier: 2.4.0
-    version: 2.4.0
+    specifier: 2.5.0
+    version: 2.5.0
   workerpool:
     specifier: 6.4.0
     version: 6.4.0
@@ -160,8 +160,8 @@ packages:
     engines: {node: '>=8'}
     dev: false
 
-  /piscina@3.2.0:
-    resolution: {integrity: sha512-yn/jMdHRw+q2ZJhFhyqsmANcbF6V2QwmD84c6xRau+QpQOmtrBCoRGdvTfeuFDYXB5W2m6MfLkjkvQa9lUSmIA==}
+  /piscina@4.0.0:
+    resolution: {integrity: sha512-641nAmJS4k4iqpNUqfggqUBUMmlw0ZoM5VZKdQkV2e970Inn3Tk9kroCc1wpsYLD07vCwpys5iY0d3xI/9WkTg==}
     dependencies:
       eventemitter-asyncresource: 1.0.0
       hdr-histogram-js: 2.0.3
@@ -177,8 +177,8 @@ packages:
       find-up: 5.0.0
     dev: false
 
-  /poolifier@2.6.1:
-    resolution: {integrity: sha512-9ir1PklqI/exULw9UDzLb9lAQC8yfJ9NvIRKAYDWKHU/9f3RXrciOeMP6RtedEcZ3RXO8cMNyR1L+p3caYo4YQ==}
+  /poolifier@2.6.2:
+    resolution: {integrity: sha512-3/bYzHdoFwJ+LCWlgVELuD9kEN1jho3RH4kG/YOo+2IX0ASVQD9SogGJ2YEW7+y9GD6vMuv9rcCkoTf2LxgaoQ==}
     engines: {node: '>=16.14.0', pnpm: '>=8.6.0'}
     requiresBuild: true
     dev: false
@@ -212,8 +212,8 @@ packages:
     dev: false
     optional: true
 
-  /worker-nodes@2.4.0:
-    resolution: {integrity: sha512-s32ziQpiWkWbB/ziFKiudpm5/mreSnwpTtKzPxgcPXpl+kXpesiibjM/2Z8i/lDO8kDCUio7wQFXtndopgfsUg==}
+  /worker-nodes@2.5.0:
+    resolution: {integrity: sha512-0hPZfN21PkMMeljxvFa2+MqOAItvwWnQYMUG6HGhM0X1rTlXPAgVFY+IH4UQC/TmSi/3qMIDdrxArRR8dEdQcQ==}
     engines: {node: '>=11.7.0'}
     dev: false