### Added
-- Use monotonic high resolution timer for worker tasks run time.
-- Add worker tasks median run time to statistics.
+- Use monotonic high resolution timer for worker tasks runtime.
+- Add worker tasks median runtime to statistics.
- Add worker tasks queue (experimental).
## [2.4.4] - 2023-04-07
*/
export interface RequiredStatistics {
/**
- * Require tasks run time.
+ * Require tasks runtime.
*/
runTime: boolean
/**
- * Require tasks average run time.
+ * Require tasks average runtime.
*/
avgRunTime: boolean
/**
- * Require tasks median run time.
+ * Require tasks median runtime.
*/
medRunTime: boolean
}
await pool.destroy()
})
- it('Verify FAIR_SHARE strategy can be run in a dynamic pool with median run time statistic', async () => {
+ it('Verify FAIR_SHARE strategy can be run in a dynamic pool with median runtime statistic', async () => {
const pool = new DynamicThreadPool(
min,
max,
await pool.destroy()
})
- it('Verify WEIGHTED_ROUND_ROBIN strategy can be run in a dynamic pool with median run time statistic', async () => {
+ it('Verify WEIGHTED_ROUND_ROBIN strategy can be run in a dynamic pool with median runtime statistic', async () => {
const pool = new DynamicThreadPool(
min,
max,