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
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