From afd32690462d4db7617668ac9274081ec6024542 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 25 Jun 2023 00:20:03 +0200 Subject: [PATCH] refactor: enable worker-nodes benchmarking MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .eslintrc.js | 1 + benchmarks/versus-external-pools/hyperfine_benchmarks.sh | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index d40ff669..5d9c45bf 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -75,6 +75,7 @@ module.exports = defineConfig({ 'sinon', 'threadjs', 'threadwork', + 'tinypool', 'tsconfig', 'tsdoc', 'typedoc', diff --git a/benchmarks/versus-external-pools/hyperfine_benchmarks.sh b/benchmarks/versus-external-pools/hyperfine_benchmarks.sh index 44bce77c..1be3c4a9 100755 --- a/benchmarks/versus-external-pools/hyperfine_benchmarks.sh +++ b/benchmarks/versus-external-pools/hyperfine_benchmarks.sh @@ -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' -- 2.34.1