github-actions[bot] [Sat, 8 Jul 2023 23:17:14 +0000 (23:17 +0000)]
chore: generate documentation
Jérôme Benoit [Sat, 8 Jul 2023 23:14:56 +0000 (01:14 +0200)]
chore: v2.6.11
Jérôme Benoit [Sat, 8 Jul 2023 23:10:44 +0000 (01:10 +0200)]
fix: fix pool readiness semantic
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 8 Jul 2023 22:36:58 +0000 (00:36 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Sat, 8 Jul 2023 22:34:53 +0000 (00:34 +0200)]
test: fix wrong async/await usage in describe()
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Sat, 8 Jul 2023 21:45:16 +0000 (21:45 +0000)]
chore: generate documentation
Jérôme Benoit [Sat, 8 Jul 2023 21:24:47 +0000 (23:24 +0200)]
chore: v2.6.10
Jérôme Benoit [Sat, 8 Jul 2023 21:21:48 +0000 (23:21 +0200)]
docs: refine CHANGELOG.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Sat, 8 Jul 2023 21:18:04 +0000 (21:18 +0000)]
chore: generate documentation
Jérôme Benoit [Sat, 8 Jul 2023 21:15:18 +0000 (23:15 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 8 Jul 2023 21:02:45 +0000 (23:02 +0200)]
test: improve pool events check tests
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 8 Jul 2023 20:44:11 +0000 (22:44 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Sat, 8 Jul 2023 20:42:41 +0000 (22:42 +0200)]
feat: internal messaging strict worker id checking
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Sat, 8 Jul 2023 19:14:17 +0000 (19:14 +0000)]
chore: generate documentation
Jérôme Benoit [Sat, 8 Jul 2023 19:05:52 +0000 (21:05 +0200)]
feat: add pool and worker readyness tracking infrastructure
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 7 Jul 2023 23:05:03 +0000 (01:05 +0200)]
refactor: rename worker `started` flag to `ready`
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 7 Jul 2023 22:53:53 +0000 (00:53 +0200)]
docs: add comments to worker node class
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 7 Jul 2023 22:40:07 +0000 (00:40 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Fri, 7 Jul 2023 22:37:57 +0000 (00:37 +0200)]
test: cleanup worker functions return
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Fri, 7 Jul 2023 18:17:13 +0000 (18:17 +0000)]
chore: generate documentation
Jérôme Benoit [Fri, 7 Jul 2023 18:05:56 +0000 (20:05 +0200)]
refactor: remove dead comment
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 7 Jul 2023 18:00:55 +0000 (20:00 +0200)]
refactor: cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 7 Jul 2023 17:33:38 +0000 (19:33 +0200)]
refactor: cleanup message passing code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 7 Jul 2023 16:09:56 +0000 (18:09 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Fri, 7 Jul 2023 16:08:11 +0000 (18:08 +0200)]
refactor: encapsulate worker node handling logic into its own class
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Fri, 7 Jul 2023 06:45:07 +0000 (06:45 +0000)]
chore: generate documentation
Jérôme Benoit [Fri, 7 Jul 2023 06:41:09 +0000 (08:41 +0200)]
chore: v2.6.9
github-actions[bot] [Fri, 7 Jul 2023 06:37:02 +0000 (06:37 +0000)]
chore: generate documentation
Jérôme Benoit [Thu, 6 Jul 2023 22:28:38 +0000 (00:28 +0200)]
Merge branch 'master' of github.com:jerome-benoit/poolifier
Jérôme Benoit [Thu, 6 Jul 2023 22:27:41 +0000 (00:27 +0200)]
docs: update benchmark vs. external pools
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 6 Jul 2023 22:25:35 +0000 (00:25 +0200)]
refactor: cleanup worker message handling code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 6 Jul 2023 22:14:47 +0000 (00:14 +0200)]
feat: check worker inactive time only on dynamic worker
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 6 Jul 2023 21:42:54 +0000 (23:42 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Thu, 6 Jul 2023 21:41:37 +0000 (23:41 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Thu, 6 Jul 2023 20:14:04 +0000 (20:14 +0000)]
chore: generate documentation
Jérôme Benoit [Thu, 6 Jul 2023 19:59:06 +0000 (21:59 +0200)]
docs: add poolifier version to typedoc
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 6 Jul 2023 18:54:05 +0000 (20:54 +0200)]
docs: refine benchmarks/README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 6 Jul 2023 18:44:20 +0000 (20:44 +0200)]
feat: add nanothreads to external pools benchmark
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 6 Jul 2023 17:42:20 +0000 (19:42 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 6 Jul 2023 17:13:19 +0000 (19:13 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 6 Jul 2023 00:21:07 +0000 (02:21 +0200)]
refactor: factor out code to redistribute queued tasks
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 5 Jul 2023 23:06:49 +0000 (01:06 +0200)]
feat: add average and median to pool info runTime and waitTime
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 5 Jul 2023 22:09:25 +0000 (00:09 +0200)]
refactor: remove unneeded condition in measurement statistics code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 5 Jul 2023 22:02:30 +0000 (00:02 +0200)]
fix: revert now unneeded workaround
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 5 Jul 2023 21:52:20 +0000 (23:52 +0200)]
docs: refine FIXME comment
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 5 Jul 2023 21:41:47 +0000 (23:41 +0200)]
fix: fix internal measurements handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 5 Jul 2023 17:13:02 +0000 (19:13 +0200)]
refactor: use Set() instead of array in benchmarking code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 5 Jul 2023 07:13:26 +0000 (09:13 +0200)]
feat: add task statistics to pool info: runTime and waitTime
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 4 Jul 2023 21:02:09 +0000 (23:02 +0200)]
build: disable esModuleInterop from TS configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 4 Jul 2023 20:22:27 +0000 (22:22 +0200)]
refactor: safer Math.{min,max} usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 4 Jul 2023 20:00:44 +0000 (22:00 +0200)]
fix: recreate the right worker type on uncaught error
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 4 Jul 2023 18:28:58 +0000 (20:28 +0200)]
feat: add minimum and maximum to internal measurements
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 4 Jul 2023 17:49:24 +0000 (19:49 +0200)]
docs: update benchmark vs. external pools
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 4 Jul 2023 15:41:17 +0000 (17:41 +0200)]
fix: use same task timeout default as poolifier when possible
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 4 Jul 2023 15:14:04 +0000 (17:14 +0200)]
Merge branch 'master' of github.com:jerome-benoit/poolifier
Jérôme Benoit [Tue, 4 Jul 2023 15:13:20 +0000 (17:13 +0200)]
docs: update benchmarks vs. external pools
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 4 Jul 2023 15:08:57 +0000 (17:08 +0200)]
refactor: remove unneeded private getter
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 4 Jul 2023 14:43:11 +0000 (16:43 +0200)]
Revert "fix: use version from package.json"
This reverts commit
3f547eaffb7b81eac5389d8ddb40b4957770f400.
Jérôme Benoit [Tue, 4 Jul 2023 14:34:51 +0000 (16:34 +0200)]
fix: use version from package.json
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 4 Jul 2023 12:31:31 +0000 (14:31 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 4 Jul 2023 12:13:37 +0000 (14:13 +0200)]
build: bump volta pnpm version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 4 Jul 2023 12:07:43 +0000 (14:07 +0200)]
fix: properly size the pools in benchmarking code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Jul 2023 21:48:56 +0000 (23:48 +0200)]
chore: v2.6.8
github-actions[bot] [Mon, 3 Jul 2023 21:47:30 +0000 (21:47 +0000)]
chore: generate documentation
Jérôme Benoit [Mon, 3 Jul 2023 21:45:12 +0000 (23:45 +0200)]
fix: fix version handling in pool information
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Jul 2023 21:22:14 +0000 (23:22 +0200)]
chore: v2.6.7
github-actions[bot] [Mon, 3 Jul 2023 21:20:33 +0000 (21:20 +0000)]
chore: generate documentation
Jérôme Benoit [Mon, 3 Jul 2023 21:18:16 +0000 (23:18 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Jul 2023 20:52:20 +0000 (22:52 +0200)]
fix: fix availableParallelism() usage for pool min size
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Jul 2023 20:08:57 +0000 (22:08 +0200)]
feat: add version to pool information
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Jul 2023 19:01:43 +0000 (21:01 +0200)]
test: add test for isAsyncFunction() helper
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Jul 2023 15:37:07 +0000 (17:37 +0200)]
fix: reassign queued tasks on worker error
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Jul 2023 14:57:06 +0000 (16:57 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Mon, 3 Jul 2023 14:55:46 +0000 (16:55 +0200)]
fix: wait for worker exit at pool destroy
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Mon, 3 Jul 2023 12:10:15 +0000 (12:10 +0000)]
chore: generate documentation
Jérôme Benoit [Mon, 3 Jul 2023 10:05:07 +0000 (12:05 +0200)]
Merge branch 'master' of github.com:jerome-benoit/poolifier
Jérôme Benoit [Mon, 3 Jul 2023 10:04:25 +0000 (12:04 +0200)]
docs: update benchmarks vs. external pools
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 3 Jul 2023 09:59:46 +0000 (11:59 +0200)]
fix: cut&paste typo
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Jul 2023 09:58:33 +0000 (11:58 +0200)]
fix: only display pool utilization when requirements are met
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Sun, 2 Jul 2023 21:57:01 +0000 (21:57 +0000)]
chore: generate documentation
Jérôme Benoit [Sun, 2 Jul 2023 21:55:02 +0000 (23:55 +0200)]
docs: refine interfaces scope
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Sun, 2 Jul 2023 21:47:46 +0000 (21:47 +0000)]
chore: generate documentation
Jérôme Benoit [Sun, 2 Jul 2023 21:44:48 +0000 (23:44 +0200)]
fix: add missing export
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Sun, 2 Jul 2023 21:34:51 +0000 (21:34 +0000)]
chore: generate documentation
Jérôme Benoit [Sun, 2 Jul 2023 20:53:31 +0000 (22:53 +0200)]
refactor: factor out worker message handlers
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Jul 2023 20:33:55 +0000 (22:33 +0200)]
refactor: factor out async function detection helper
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Jul 2023 19:58:22 +0000 (21:58 +0200)]
refactor: cleanup exports
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Jul 2023 19:54:58 +0000 (21:54 +0200)]
refactor: split TestUtils class into arrow functions
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Jul 2023 16:47:20 +0000 (18:47 +0200)]
refactor: move helpers to utils.ts file
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Jul 2023 16:37:06 +0000 (18:37 +0200)]
Merge pull request #786 from poolifier/worker-info
Jérôme Benoit [Sun, 2 Jul 2023 15:13:05 +0000 (17:13 +0200)]
fix: ensure task error proper throw with worker-threads
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Jul 2023 11:00:10 +0000 (13:00 +0200)]
refactor: improve task error message
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Jul 2023 10:30:06 +0000 (12:30 +0200)]
refactor: improve error messages
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Jul 2023 10:02:20 +0000 (12:02 +0200)]
docs: add changelog entry
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Jul 2023 09:59:28 +0000 (11:59 +0200)]
refactor: cleanup debug code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 1 Jul 2023 22:05:41 +0000 (00:05 +0200)]
Merge branch 'master' into worker-info
Jérôme Benoit [Sat, 1 Jul 2023 22:03:02 +0000 (00:03 +0200)]
docs: improve code documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 1 Jul 2023 20:17:18 +0000 (22:17 +0200)]
Merge branch 'master' into worker-info
Jérôme Benoit [Sat, 1 Jul 2023 20:14:33 +0000 (22:14 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Sat, 1 Jul 2023 20:13:25 +0000 (22:13 +0200)]
feat: add utilization to pool information
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>