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
Jérôme Benoit [Fri, 30 Jun 2023 20:31:57 +0000 (22:31 +0200)]
feat: add worker info to worker nodes
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
dependabot[bot] [Fri, 30 Jun 2023 20:18:09 +0000 (20:18 +0000)]
build(deps-dev): bump eslint-plugin-jsdoc from 46.4.2 to 46.4.3
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 46.4.2 to 46.4.3.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v46.4.2...v46.4.3)
---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Jérôme Benoit [Fri, 30 Jun 2023 14:33:16 +0000 (16:33 +0200)]
refactor: factor out measurement statistics requirements default
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 30 Jun 2023 13:21:26 +0000 (15:21 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 29 Jun 2023 18:36:05 +0000 (20:36 +0200)]
Merge branch 'master' of github.com:jerome-benoit/poolifier
Jérôme Benoit [Thu, 29 Jun 2023 18:35:11 +0000 (20:35 +0200)]
docs: update benchmarks vs. external pools
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 29 Jun 2023 11:27:06 +0000 (13:27 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 28 Jun 2023 17:25:12 +0000 (19:25 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 27 Jun 2023 23:01:03 +0000 (01:01 +0200)]
Merge branch 'master' of github.com:jerome-benoit/poolifier
Jérôme Benoit [Tue, 27 Jun 2023 23:00:19 +0000 (01:00 +0200)]
docs: update benchmarks vs. external pools
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 27 Jun 2023 20:25:56 +0000 (22:25 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 27 Jun 2023 20:18:40 +0000 (22:18 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 27 Jun 2023 18:55:36 +0000 (20:55 +0200)]
refactor: cleanup benchmarks export
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 27 Jun 2023 18:47:53 +0000 (20:47 +0200)]
fix: fix fibonacci implementation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 27 Jun 2023 17:04:40 +0000 (19:04 +0200)]
docs: update CHANGELOG.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 27 Jun 2023 15:55:22 +0000 (17:55 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Tue, 27 Jun 2023 15:54:17 +0000 (17:54 +0200)]
fix: register message handler on worker only
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Tue, 27 Jun 2023 15:49:10 +0000 (15:49 +0000)]
chore: generate documentation
Jérôme Benoit [Tue, 27 Jun 2023 15:21:26 +0000 (17:21 +0200)]
chore: v2.6.5
Jérôme Benoit [Tue, 27 Jun 2023 15:20:21 +0000 (17:20 +0200)]
docs: update CHANGELOG.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 27 Jun 2023 13:59:33 +0000 (15:59 +0200)]
chore: v2.6.4
Jérôme Benoit [Tue, 27 Jun 2023 12:16:26 +0000 (14:16 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 27 Jun 2023 11:32:30 +0000 (13:32 +0200)]
docs: update CHANGELOG.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 27 Jun 2023 00:11:32 +0000 (02:11 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 26 Jun 2023 23:55:27 +0000 (01:55 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 26 Jun 2023 23:41:32 +0000 (01:41 +0200)]
refactor: fix example file name case
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 26 Jun 2023 23:22:38 +0000 (01:22 +0200)]
refactor: refine worker attribute scope
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 26 Jun 2023 22:39:16 +0000 (00:39 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Mon, 26 Jun 2023 22:37:35 +0000 (00:37 +0200)]
test: message sending from cluster worker
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Mon, 26 Jun 2023 22:30:38 +0000 (22:30 +0000)]
chore: generate documentation
Jérôme Benoit [Mon, 26 Jun 2023 21:43:13 +0000 (23:43 +0200)]
refactor: cleanup internal pool messaging code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 26 Jun 2023 21:23:50 +0000 (23:23 +0200)]
docs: update benchmarks vs. external pools
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 26 Jun 2023 19:08:32 +0000 (21:08 +0200)]
fix: prepare code to fix pool internal IPC for cluster worker
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 26 Jun 2023 12:53:03 +0000 (14:53 +0200)]
refactor: use named export in benchmarking code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 26 Jun 2023 11:30:18 +0000 (13:30 +0200)]
refactor: strict mode in js files
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 26 Jun 2023 11:07:17 +0000 (13:07 +0200)]
refactor: partially revert ESM conversion in benchmarking code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 22:43:17 +0000 (00:43 +0200)]
fix: resolve import for worker-nodes
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 21:54:19 +0000 (23:54 +0200)]
docs: refine benchmarks/README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 21:39:24 +0000 (23:39 +0200)]
docs: refine benchmarks/README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 20:40:33 +0000 (22:40 +0200)]
docs: refine benchmarks/versus-external-pools/README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 20:17:02 +0000 (22:17 +0200)]
refactor: ensure functions to bench are called properly
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 20:01:15 +0000 (22:01 +0200)]
docs: refine benchmarks/README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 20:00:33 +0000 (22:00 +0200)]
docs: refine benchmarks/README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 19:33:58 +0000 (21:33 +0200)]
docs: refine benchmarks/README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 19:32:05 +0000 (21:32 +0200)]
refactor: remove unsupported pools
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 19:22:54 +0000 (21:22 +0200)]
refactor: cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 19:08:22 +0000 (21:08 +0200)]
fix: propagate async/await properly in benchmarking code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 18:42:06 +0000 (20:42 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 18:12:54 +0000 (20:12 +0200)]
fix: fix dynamic import syntax
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 17:52:19 +0000 (19:52 +0200)]
fix: add maximum tasks queue size to worker usage data
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 16:38:37 +0000 (18:38 +0200)]
refactor: cleanup queued tasks computation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 16:29:36 +0000 (18:29 +0200)]
fix: fix tasks queued count computation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 14:28:20 +0000 (16:28 +0200)]
fix: node-worker-threads-pool needs inline imports in code block
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 14:13:27 +0000 (16:13 +0200)]
refactor: convert to ESM benchmarks code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 14:00:16 +0000 (16:00 +0200)]
refactor: convert internal benchmark code to ESM
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 13:03:57 +0000 (15:03 +0200)]
refactor: convert benchmarks code to ESM
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 25 Jun 2023 11:50:17 +0000 (13:50 +0200)]
docs: update benchmark vs. external pools
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 24 Jun 2023 22:20:03 +0000 (00:20 +0200)]
refactor: enable worker-nodes benchmarking
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 24 Jun 2023 22:17:29 +0000 (00:17 +0200)]
refactor: cleanup benchmarks code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 24 Jun 2023 18:45:01 +0000 (20:45 +0200)]
refactor: cleanup worker choice strategy options handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 24 Jun 2023 18:28:27 +0000 (20:28 +0200)]
test: cleanup helpers
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 23 Jun 2023 19:31:35 +0000 (21:31 +0200)]
fix: get wait time statistics
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 22 Jun 2023 09:05:03 +0000 (11:05 +0200)]
build: update volta node.js version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 21 Jun 2023 23:28:38 +0000 (01:28 +0200)]
fix: ensure worker graceful shutdown is tried in cluster pool
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 21 Jun 2023 22:12:35 +0000 (00:12 +0200)]
fix: ensure event is emitted before task promise rejection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>