docs: update benchmarks vs. external pools
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 4 Jul 2023 15:13:20 +0000 (17:13 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 4 Jul 2023 15:13:20 +0000 (17: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 257cd544af49259324f1cb6e3cd53da5074782cc..4269e69d69cd7421416bf4a3bb544a70e8450b5a 100644 (file)
@@ -1,14 +1,14 @@
 | Command                                     |       Mean [s] | Min [s] | Max [s] |    Relative |
 | :------------------------------------------ | -------------: | ------: | ------: | ----------: |
-| `node dynamic-poolifier.mjs`                | 13.740 ± 0.174 |  13.533 |  14.312 | 1.01 ± 0.02 |
-| `node fixed-poolifier.mjs`                  | 13.563 ± 0.138 |  13.399 |  13.952 |        1.00 |
-| `node dynamic-piscina.mjs`                  | 14.683 ± 0.235 |  14.502 |  15.579 | 1.08 ± 0.02 |
-| `node fixed-piscina.mjs`                    | 15.818 ± 0.230 |  15.665 |  16.515 | 1.17 ± 0.02 |
-| `node fixed-tinypool.mjs`                   | 16.044 ± 0.137 |  15.894 |  16.528 | 1.18 ± 0.02 |
-| `node dynamic-tinypool.mjs`                 | 15.053 ± 0.305 |  14.850 |  15.937 | 1.11 ± 0.03 |
-| `node dynamic-workerpool.mjs`               | 16.219 ± 0.227 |  16.064 |  17.127 | 1.20 ± 0.02 |
-| `node fixed-workerpool.mjs`                 | 16.684 ± 0.225 |  16.541 |  17.607 | 1.23 ± 0.02 |
-| `node dynamic-worker-nodes.js`              | 15.464 ± 0.330 |  15.208 |  16.594 | 1.14 ± 0.03 |
-| `node fixed-worker-nodes.js`                | 16.031 ± 0.229 |  15.870 |  16.653 | 1.18 ± 0.02 |
-| `node dynamic-node-worker-threads-pool.mjs` | 24.256 ± 0.150 |  24.093 |  24.678 | 1.79 ± 0.02 |
-| `node static-node-worker-threads-pool.mjs`  | 16.333 ± 0.198 |  16.199 |  17.118 | 1.20 ± 0.02 |
+| `node dynamic-poolifier.mjs`                | 13.712 ± 0.335 |  13.362 |  14.794 |        1.00 |
+| `node fixed-poolifier.mjs`                  | 13.927 ± 0.395 |  13.542 |  15.045 | 1.02 ± 0.04 |
+| `node dynamic-piscina.mjs`                  | 17.217 ± 0.392 |  16.714 |  18.125 | 1.26 ± 0.04 |
+| `node fixed-piscina.mjs`                    | 17.850 ± 0.482 |  17.084 |  18.861 | 1.30 ± 0.05 |
+| `node fixed-tinypool.mjs`                   | 18.922 ± 0.329 |  18.448 |  19.907 | 1.38 ± 0.04 |
+| `node dynamic-tinypool.mjs`                 | 19.109 ± 0.331 |  18.622 |  20.342 | 1.39 ± 0.04 |
+| `node dynamic-workerpool.mjs`               | 19.893 ± 0.409 |  18.746 |  20.770 | 1.45 ± 0.05 |
+| `node fixed-workerpool.mjs`                 | 20.040 ± 0.281 |  19.730 |  20.956 | 1.46 ± 0.04 |
+| `node dynamic-worker-nodes.js`              | 17.236 ± 0.359 |  16.857 |  18.027 | 1.26 ± 0.04 |
+| `node fixed-worker-nodes.js`                | 17.158 ± 0.282 |  16.789 |  17.812 | 1.25 ± 0.04 |
+| `node dynamic-node-worker-threads-pool.mjs` | 25.639 ± 0.489 |  25.131 |  27.074 | 1.87 ± 0.06 |
+| `node static-node-worker-threads-pool.mjs`  | 17.496 ± 0.330 |  17.138 |  18.183 | 1.28 ± 0.04 |
index 937427ecab8ab4c2309bde0579b3c8025c344db6..245cca370198d43e9af402adea7bf8c82e51da9e 100644 (file)
@@ -19,7 +19,7 @@
   "dependencies": {
     "node-worker-threads-pool": "1.5.1",
     "piscina": "4.0.0",
-    "poolifier": "2.6.6",
+    "poolifier": "2.6.8",
     "tinypool": "0.6.0",
     "worker-nodes": "2.6.0",
     "workerpool": "6.4.0"
index 02484fcdf2930fe24e3820a3c9c7d5a4e6fe2ef9..08f2d5c8c9256369858ebef465e152fd54265dad 100644 (file)
@@ -12,8 +12,8 @@ dependencies:
     specifier: 4.0.0
     version: 4.0.0
   poolifier:
-    specifier: 2.6.6
-    version: 2.6.6
+    specifier: 2.6.8
+    version: 2.6.8
   tinypool:
     specifier: 0.6.0
     version: 0.6.0
@@ -115,8 +115,8 @@ packages:
       nice-napi: 1.0.2
     dev: false
 
-  /poolifier@2.6.6:
-    resolution: {integrity: sha512-u6GbjmxQp1sI9p94ucgE6gXfepxL8ZFsStrr5FSrxcMBU36RY3B0HzUck6TEQV0uhd09f4xMult0wb0F+JMxTw==}
+  /poolifier@2.6.8:
+    resolution: {integrity: sha512-3mBZcAlKIc6jDjrQD9KsMBVF0tpZj9SpqhumMk8giKVsNh0l6qKGp30xvQg1W6AQT9j84XHK8haNUtpHim/6Tw==}
     engines: {node: '>=16.14.0', pnpm: '>=8.6.0'}
     requiresBuild: true
     dev: false