Jérôme Benoit [Thu, 8 Jun 2023 19:25:18 +0000 (21:25 +0200)]
docs: refine task statistics description
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 8 Jun 2023 19:14:29 +0000 (21:14 +0200)]
fix: fix 'queued' value in worker usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 8 Jun 2023 17:54:34 +0000 (19:54 +0200)]
fix: fix type namespace collision
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 8 Jun 2023 17:38:34 +0000 (19:38 +0200)]
refactor: cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 8 Jun 2023 17:16:37 +0000 (19:16 +0200)]
refactor: measure -> measurement
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 8 Jun 2023 17:14:12 +0000 (19:14 +0200)]
refactor: abstract out measurement statistics
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 7 Jun 2023 22:16:54 +0000 (00:16 +0200)]
docs: add type definition documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 7 Jun 2023 22:01:51 +0000 (00:01 +0200)]
refactor: cleanup message type namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 7 Jun 2023 21:12:25 +0000 (23:12 +0200)]
docs: refine README
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 7 Jun 2023 20:43:12 +0000 (22:43 +0200)]
refactor: cleanup and type task error messages
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 7 Jun 2023 19:53:49 +0000 (21:53 +0200)]
refactor: use task performance data structure in messages
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 7 Jun 2023 19:19:18 +0000 (21:19 +0200)]
chore: v2.5.4
github-actions[bot] [Wed, 7 Jun 2023 19:17:42 +0000 (19:17 +0000)]
chore: generate documentation
Jérôme Benoit [Wed, 7 Jun 2023 19:14:14 +0000 (21:14 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Wed, 7 Jun 2023 19:13:10 +0000 (21:13 +0200)]
docs: silence typedoc warnings
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Wed, 7 Jun 2023 19:08:22 +0000 (19:08 +0000)]
chore: generate documentation
Jérôme Benoit [Wed, 7 Jun 2023 18:59:51 +0000 (20:59 +0200)]
docs: refine README
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 7 Jun 2023 18:55:49 +0000 (20:55 +0200)]
docs: refine README
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 7 Jun 2023 18:52:52 +0000 (20:52 +0200)]
docs: refine README to include latest API changes
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 7 Jun 2023 18:29:06 +0000 (20:29 +0200)]
Merge pull request #775 from poolifier/fix-worker-threads-options
Jérôme Benoit [Wed, 7 Jun 2023 18:22:25 +0000 (20:22 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier into fix-worker-threads-options
Jérôme Benoit [Wed, 7 Jun 2023 18:18:10 +0000 (20:18 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 7 Jun 2023 18:04:02 +0000 (20:04 +0200)]
fix: export thread pool options type
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 7 Jun 2023 17:49:16 +0000 (19:49 +0200)]
fix: add missing worker options to thread pool options
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 6 Jun 2023 22:07:53 +0000 (00:07 +0200)]
test: improve task error handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 6 Jun 2023 21:54:51 +0000 (23:54 +0200)]
test: improve task error handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 6 Jun 2023 21:10:45 +0000 (23:10 +0200)]
docs: spell fix in README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 6 Jun 2023 20:42:06 +0000 (22:42 +0200)]
fix: ensure the least busy strategy only relies on task runtime
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 6 Jun 2023 20:20:49 +0000 (22:20 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 6 Jun 2023 20:07:13 +0000 (22:07 +0200)]
fix: fix ELU computation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Tue, 6 Jun 2023 18:45:37 +0000 (18:45 +0000)]
chore: generate documentation
Jérôme Benoit [Tue, 6 Jun 2023 18:41:30 +0000 (20:41 +0200)]
Merge pull request #770 from poolifier/elu-strategy
Jérôme Benoit [Tue, 6 Jun 2023 18:35:21 +0000 (20:35 +0200)]
fix: dynamic pool options change
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 6 Jun 2023 18:15:12 +0000 (20:15 +0200)]
refactor: rename task performance computation methods
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 6 Jun 2023 17:56:29 +0000 (19:56 +0200)]
feat: conditional task performance computation at the worker level
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 6 Jun 2023 10:36:02 +0000 (12:36 +0200)]
Merge branch 'master' into elu-strategy
github-actions[bot] [Mon, 5 Jun 2023 22:00:59 +0000 (22:00 +0000)]
chore: generate documentation
Jérôme Benoit [Mon, 5 Jun 2023 21:54:44 +0000 (23:54 +0200)]
docs: update security scope
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Jun 2023 20:54:31 +0000 (22:54 +0200)]
Merge branch 'master' into elu-strategy
Jérôme Benoit [Mon, 5 Jun 2023 19:27:44 +0000 (21:27 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Jun 2023 15:06:34 +0000 (17:06 +0200)]
Merge branch 'master' of github.com:jerome-benoit/poolifier
Jérôme Benoit [Mon, 5 Jun 2023 15:06:05 +0000 (17:06 +0200)]
docs: update benchmarks vs. external pools
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 5 Jun 2023 13:54:47 +0000 (15:54 +0200)]
test: fix tests
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Jun 2023 13:41:17 +0000 (15:41 +0200)]
feat: add ELU tasks accounting
Reference: #768
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Jun 2023 12:10:52 +0000 (14:10 +0200)]
docs: fix GH project version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Jun 2023 11:43:24 +0000 (13:43 +0200)]
refactor: cleanup task usage properties namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 5 Jun 2023 10:23:23 +0000 (12:23 +0200)]
docs: enhance worker choice strategies description
Reference #766
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Jun 2023 14:15:48 +0000 (16:15 +0200)]
chore: v2.5.3
github-actions[bot] [Sun, 4 Jun 2023 14:13:24 +0000 (14:13 +0000)]
chore: generate documentation
github-actions[bot] [Sun, 4 Jun 2023 14:10:36 +0000 (14:10 +0000)]
chore: generate documentation
Jérôme Benoit [Sun, 4 Jun 2023 14:08:51 +0000 (16:08 +0200)]
build(deps-dev): apply update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Sun, 4 Jun 2023 14:07:22 +0000 (14:07 +0000)]
chore: generate documentation
Jérôme Benoit [Sun, 4 Jun 2023 13:53:23 +0000 (15:53 +0200)]
refactor: factor out pool fullness detection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Jun 2023 11:18:43 +0000 (13:18 +0200)]
refactor: limit pool internals public exposure
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Jun 2023 11:02:35 +0000 (13:02 +0200)]
refactor: limit pool internals public exposure
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 4 Jun 2023 10:36:43 +0000 (12:36 +0200)]
docs: small refinements
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 3 Jun 2023 21:08:23 +0000 (23:08 +0200)]
refactor: cleanup enums namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 3 Jun 2023 11:16:10 +0000 (13:16 +0200)]
refactor: imports cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 3 Jun 2023 09:55:17 +0000 (11:55 +0200)]
refactor: cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 3 Jun 2023 09:44:01 +0000 (11:44 +0200)]
test: improve queue test
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 3 Jun 2023 09:22:58 +0000 (11:22 +0200)]
test: improve queue test
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 3 Jun 2023 07:51:14 +0000 (09:51 +0200)]
refactor: cleanup worker import
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 3 Jun 2023 07:16:11 +0000 (09:16 +0200)]
test: add kill behavior testing
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 2 Jun 2023 23:01:06 +0000 (01:01 +0200)]
refactor: convert helper to arrow function
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 2 Jun 2023 20:35:04 +0000 (22:35 +0200)]
feat: expose worker type in pool information
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 2 Jun 2023 15:45:51 +0000 (17:45 +0200)]
chore: v2.5.2
github-actions[bot] [Fri, 2 Jun 2023 15:33:24 +0000 (15:33 +0000)]
chore: generate documentation
Jérôme Benoit [Fri, 2 Jun 2023 15:30:11 +0000 (17:30 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Fri, 2 Jun 2023 15:28:54 +0000 (17:28 +0200)]
feat: expose pool information
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Fri, 2 Jun 2023 12:26:50 +0000 (12:26 +0000)]
chore: generate documentation
Jérôme Benoit [Fri, 2 Jun 2023 11:49:16 +0000 (13:49 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 2 Jun 2023 07:59:50 +0000 (09:59 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 2 Jun 2023 07:08:24 +0000 (09:08 +0200)]
feat: improve events emission
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 1 Jun 2023 17:57:12 +0000 (19:57 +0200)]
chore: v2.5.1
github-actions[bot] [Thu, 1 Jun 2023 17:36:50 +0000 (17:36 +0000)]
chore: generate documentation
Jérôme Benoit [Thu, 1 Jun 2023 17:31:43 +0000 (19:31 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 1 Jun 2023 17:20:00 +0000 (19:20 +0200)]
feat: restart worker in case of uncaught error
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 1 Jun 2023 08:31:31 +0000 (10:31 +0200)]
feat: allow to disable tasks timeout check in worker
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 May 2023 19:45:11 +0000 (21:45 +0200)]
chore: v2.5.0
github-actions[bot] [Wed, 31 May 2023 19:32:19 +0000 (19:32 +0000)]
chore: generate documentation
Jérôme Benoit [Wed, 31 May 2023 19:30:12 +0000 (21:30 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 May 2023 19:24:55 +0000 (21:24 +0200)]
Merge pull request #748 from poolifier/interleaved-weighted-round-robin-worker-choice-strategy
Jérôme Benoit [Wed, 31 May 2023 19:18:18 +0000 (21:18 +0200)]
refactor: factor out common code in worker choice strategies
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 May 2023 19:13:06 +0000 (21:13 +0200)]
test: add IWRR test
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 May 2023 18:36:47 +0000 (20:36 +0200)]
docs: add changelog entry for IWRR worker choice strategy
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 May 2023 18:32:08 +0000 (20:32 +0200)]
test: import RR worker choice strategy expectation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 May 2023 18:27:31 +0000 (20:27 +0200)]
test: add more IWRR testing
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 May 2023 17:48:59 +0000 (19:48 +0200)]
test: remove not relevant test
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 May 2023 17:28:36 +0000 (19:28 +0200)]
test: add more IWRR worker choice strategies testing
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 May 2023 12:52:42 +0000 (14:52 +0200)]
Merge branch 'master' into interleaved-weighted-round-robin-worker-choice-strategy
Jérôme Benoit [Wed, 31 May 2023 12:51:08 +0000 (14:51 +0200)]
test: fix run
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 May 2023 12:47:59 +0000 (14:47 +0200)]
Merge branch 'master' into interleaved-weighted-round-robin-worker-choice-strategy
Jérôme Benoit [Wed, 31 May 2023 12:46:03 +0000 (14:46 +0200)]
test: use Set for promises
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 May 2023 10:07:35 +0000 (12:07 +0200)]
Merge branch 'master' into interleaved-weighted-round-robin-worker-choice-strategy
Jérôme Benoit [Wed, 31 May 2023 10:00:32 +0000 (12:00 +0200)]
refactor: methods namespace cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 31 May 2023 09:31:13 +0000 (11:31 +0200)]
feat: add helper to get the worker wait time in worker choice strategies
code
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 30 May 2023 21:15:55 +0000 (23:15 +0200)]
Merge branch 'master' into interleaved-weighted-round-robin-worker-choice-strategy
Jérôme Benoit [Tue, 30 May 2023 21:14:11 +0000 (23:14 +0200)]
refactor: use simple quote in error string
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 30 May 2023 20:15:00 +0000 (22:15 +0200)]
Merge branch 'master' into interleaved-weighted-round-robin-worker-choice-strategy
Jérôme Benoit [Tue, 30 May 2023 20:01:36 +0000 (22:01 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier