refactor: enable worker-nodes benchmarking
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 24 Jun 2023 22:20:03 +0000 (00:20 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 24 Jun 2023 22:20:03 +0000 (00:20 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.eslintrc.js
benchmarks/versus-external-pools/hyperfine_benchmarks.sh

index d40ff6691de0b5a9f4b3e24e11d368ba2c262afe..5d9c45bfded4540646464d5bef191deb85360260 100644 (file)
@@ -75,6 +75,7 @@ module.exports = defineConfig({
           'sinon',
           'threadjs',
           'threadwork',
+          'tinypool',
           'tsconfig',
           'tsdoc',
           'typedoc',
index 44bce77c94fefbd89f03622c274a158c0bd25cc1..1be3c4a98bb1f630703325488f8fe256f899e49c 100755 (executable)
@@ -14,6 +14,5 @@ hyperfine --export-markdown BENCH-100000.md --min-runs 20 --prepare 'sleep 2' --
   'node threadjs.js' \
   'node fixed-threadwork.js' \
   'node fixed-microjob.js' \
-  # Seems to have scalability issues, disabled for now
-  # 'node dynamic-worker-nodes.js' \
-  # 'node fixed-worker-nodes.js'
+  'node dynamic-worker-nodes.js' \
+  'node fixed-worker-nodes.js'