perf: pre-instantiate worker choice strategies
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 6 Apr 2023 06:40:41 +0000 (08:40 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 6 Apr 2023 06:40:41 +0000 (08:40 +0200)
commitb529c323958350e8b54ccfb4096d0c661c975b71
treece02c952295737f01acf3b2f017b450a99395099
parent8dafb5f164422c1b607e7064d61a95b63732b970
perf: pre-instantiate worker choice strategies

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/abstract-pool.ts
src/pools/selection-strategies/worker-choice-strategy-context.ts
tests/pools/selection-strategies/selection-strategies.test.js
tests/pools/selection-strategies/worker-choice-strategy-context.test.js