feat: add median task run time statistic
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 8 Apr 2023 12:06:56 +0000 (14:06 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 8 Apr 2023 12:06:56 +0000 (14:06 +0200)
commit78099a150dc54d7adab495195fa5f133fd54e114
treeac3a6d537575a37b90513336dd61cb72e505dd1b
parenta22cdf86c993800ec9ea8ae32ef0d8dbda07ec61
feat: add median task run time statistic

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
12 files changed:
src/circular-array.ts [new file with mode: 0644]
src/pools/abstract-pool.ts
src/pools/pool-internal.ts
src/pools/selection-strategies/abstract-worker-choice-strategy.ts
src/pools/selection-strategies/fair-share-worker-choice-strategy.ts
src/pools/selection-strategies/less-busy-worker-choice-strategy.ts
src/pools/selection-strategies/selection-strategies-types.ts
src/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.ts
src/utils.ts
tests/circular-array.test.js [new file with mode: 0644]
tests/pools/abstract/abstract-pool.test.js
tests/pools/selection-strategies/selection-strategies.test.js