docs: add benchmarks vs. external threads pools on latest versions
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 3 Apr 2023 20:27:16 +0000 (22:27 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 3 Apr 2023 20:27:16 +0000 (22:27 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
benchmarks/versus-external-pools/BENCH-100000.md

index a8cc6e8da536938af8963e31ed18723632c247d5..3ae8fe8cad52e5dc0181f323958d2582ab896ce3 100644 (file)
@@ -1,13 +1,13 @@
 | Command                                              |       Mean [s] | Min [s] | Max [s] |    Relative |
 | :--------------------------------------------------- | -------------: | ------: | ------: | ----------: |
-| `node dynamic-poolifier.js`                          | 25.315 ± 2.256 |  23.169 |  30.705 |        1.00 |
-| `node fixed-poolifier.js`                            | 26.079 ± 2.875 |  23.087 |  32.154 | 1.03 ± 0.15 |
-| `node dynamic-piscina.js`                            | 25.897 ± 0.570 |  24.997 |  26.914 | 1.02 ± 0.09 |
-| `node fixed-piscina.js`                              | 25.946 ± 0.891 |  24.953 |  27.346 | 1.02 ± 0.10 |
-| `node dynamic-workerpool.js`                         | 29.314 ± 0.897 |  27.839 |  30.370 | 1.16 ± 0.11 |
-| `node fixed-workerpool.js`                           | 28.926 ± 0.964 |  27.866 |  30.583 | 1.14 ± 0.11 |
-| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 84.852 ± 1.322 |  83.077 |  86.920 | 3.35 ± 0.30 |
-| `node static-suchmokuo-node-worker-threads-pool.js`  | 27.519 ± 0.963 |  26.248 |  29.518 | 1.09 ± 0.10 |
-| `node threadjs.js`                                   | 88.842 ± 3.197 |  85.012 |  94.289 | 3.51 ± 0.34 |
-| `node fixed-threadwork.js`                           | 27.345 ± 0.920 |  26.167 |  28.972 | 1.08 ± 0.10 |
-| `node fixed-microjob.js`                             | 44.998 ± 0.659 |  44.106 |  46.029 | 1.78 ± 0.16 |
+| `node dynamic-poolifier.js`                          | 14.130 ± 0.420 |  13.756 |  15.238 | 1.00 ± 0.04 |
+| `node fixed-poolifier.js`                            | 14.091 ± 0.461 |  13.817 |  15.383 |        1.00 |
+| `node dynamic-piscina.js`                            | 15.130 ± 0.357 |  14.872 |  16.076 | 1.07 ± 0.04 |
+| `node fixed-piscina.js`                              | 15.525 ± 0.248 |  15.364 |  16.214 | 1.10 ± 0.04 |
+| `node dynamic-workerpool.js`                         | 16.700 ± 0.315 |  16.479 |  17.463 | 1.19 ± 0.04 |
+| `node fixed-workerpool.js`                           | 17.116 ± 0.101 |  17.010 |  17.369 | 1.21 ± 0.04 |
+| `node dynamic-suchmokuo-node-worker-threads-pool.js` | 24.273 ± 0.123 |  24.125 |  24.492 | 1.72 ± 0.06 |
+| `node static-suchmokuo-node-worker-threads-pool.js`  | 16.864 ± 0.284 |  16.636 |  17.531 | 1.20 ± 0.04 |
+| `node threadjs.js`                                   | 51.156 ± 1.791 |  48.909 |  54.305 | 3.63 ± 0.17 |
+| `node fixed-threadwork.js`                           | 16.337 ± 0.242 |  16.137 |  16.826 | 1.16 ± 0.04 |
+| `node fixed-microjob.js`                             | 33.927 ± 0.401 |  33.568 |  34.789 | 2.41 ± 0.08 |