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>
github-actions[bot] [Sat, 1 Jul 2023 17:32:36 +0000 (17:32 +0000)]
chore: generate documentation
Jérôme Benoit [Sat, 1 Jul 2023 17:29:20 +0000 (19:29 +0200)]
docs: refine code documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 1 Jul 2023 10:58:15 +0000 (12:58 +0200)]
refactor: use availableParallelism() in benchmarking code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 1 Jul 2023 10:45:37 +0000 (12:45 +0200)]
Merge branch 'master' into worker-info
Jérôme Benoit [Sat, 1 Jul 2023 10:41:03 +0000 (12:41 +0200)]
chore: v2.6.6
github-actions[bot] [Sat, 1 Jul 2023 10:38:57 +0000 (10:38 +0000)]
chore: generate documentation
Jérôme Benoit [Sat, 1 Jul 2023 10:33:13 +0000 (12:33 +0200)]
Merge branch 'master' into worker-info
Jérôme Benoit [Sat, 1 Jul 2023 10:28:17 +0000 (12:28 +0200)]
docs: document availableParallelism() usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 1 Jul 2023 10:09:39 +0000 (12:09 +0200)]
feat: add safe helper around os.availableParallelism
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 1 Jul 2023 09:42:37 +0000 (11:42 +0200)]
docs: refinements
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 1 Jul 2023 09:26:26 +0000 (11:26 +0200)]
docs: refine benchmarks/README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 1 Jul 2023 09:23:58 +0000 (11:23 +0200)]
docs: refine benchmarks/README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 30 Jun 2023 23:05:42 +0000 (01:05 +0200)]
refactor: refine worker interface definition
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 30 Jun 2023 22:55:35 +0000 (00:55 +0200)]
fix: ensure worker started message cannot be received for non existing
worker
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 30 Jun 2023 20:58:42 +0000 (22:58 +0200)]
Merge branch 'master' into worker-info
Jérôme Benoit [Fri, 30 Jun 2023 20:57:06 +0000 (22:57 +0200)]
test: fix worker file paths
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 30 Jun 2023 20:55:12 +0000 (22:55 +0200)]
Merge branch 'master' into worker-info
Jérôme Benoit [Fri, 30 Jun 2023 20:52:17 +0000 (22:52 +0200)]
refactor: cleanup worker usage properties namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 30 Jun 2023 20:34:46 +0000 (22:34 +0200)]
Merge pull request #785 from poolifier/dependabot/npm_and_yarn/eslint-plugin-jsdoc-46.4.3