From: Jérôme Benoit Date: Sat, 24 Dec 2022 21:07:36 +0000 (+0100) Subject: Fixlet to tasks distribution tests X-Git-Tag: v2.3.8~63 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b15ff04e363dfd9b9537ca2590034d42b627ba91;p=poolifier.git Fixlet to tasks distribution tests Signed-off-by: Jérôme Benoit --- diff --git a/benchmarks/worker-selection/lru.js b/benchmarks/worker-selection/lru.js index a4b2c69a..80d78893 100644 --- a/benchmarks/worker-selection/lru.js +++ b/benchmarks/worker-selection/lru.js @@ -168,7 +168,7 @@ function quickSelectRecursionRandomPivot (tasksMap) { } Benchmark.suite( - 'Tasks selection', + 'Less used worker tasks distribution', Benchmark.add('Loop select', () => { loopSelect(tasksMap) }), diff --git a/benchmarks/worker-selection/round-robin.js b/benchmarks/worker-selection/round-robin.js index 0b8b9ec2..67d3a365 100644 --- a/benchmarks/worker-selection/round-robin.js +++ b/benchmarks/worker-selection/round-robin.js @@ -37,7 +37,7 @@ function roundRobinIncrementModulo () { } Benchmark.suite( - 'Less recently used', + 'Round robin tasks distribution', Benchmark.add('Ternary off by one', () => { nextWorkerIndex = 0 roundRobinTernaryOffByOne()