Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
#!/usr/bin/env bash
-hyperfine --export-markdown BENCH-100000.md --min-runs 10 \
- --prepare 'sleep 15' \
+hyperfine --export-markdown BENCH-100000.md --min-runs 20 --prepare 'sleep 10' --warmup 10 \
'node dynamic-poolifier.js' \
'node fixed-poolifier.js' \
'node dynamic-piscina.js' \
### Fair share
Its goal is to distribute the load evenly across all workers. To achieve this, the strategy keeps track of the average task execution time for each worker and assigns the next task to the worker with the lowest task end prediction time: `task_end_prediction = max(current_time, task_end_prediction) + average_task_execution_time`.
-By default, the strategy uses the average task execution time for each worker but it can be configured to use the task event loop utilization (ELU) active time instead.
+By default, the strategy uses the average task execution time for each worker but it can be configured to use the average task event loop utilization (ELU) active time instead.
### Weighted round robin