Jérôme Benoit [Tue, 8 Aug 2023 19:07:09 +0000 (21:07 +0200)]
docs: refine .md files
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Aug 2023 18:56:20 +0000 (20:56 +0200)]
Merge pull request #811 from namandeep-123/move-readme-content-to-typedoc
Namandeep Singh [Fri, 4 Aug 2023 20:33:21 +0000 (02:03 +0530)]
feat: move usage and api to typedocs
Jérôme Benoit [Sun, 6 Aug 2023 12:49:20 +0000 (14:49 +0200)]
Merge branch 'master' of github.com:jerome-benoit/poolifier
Jérôme Benoit [Sun, 6 Aug 2023 12:48:47 +0000 (14:48 +0200)]
build: update volta pnpm version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 5 Aug 2023 21:33:38 +0000 (23:33 +0200)]
Merge branch 'master' of github.com:jerome-benoit/poolifier
Jérôme Benoit [Sat, 5 Aug 2023 21:32:58 +0000 (23:32 +0200)]
docs: update benchmarks vs. external pools
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 5 Aug 2023 20:45:40 +0000 (22:45 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 5 Aug 2023 10:59:14 +0000 (12:59 +0200)]
refactor: add worker id sanity check at message handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Aug 2023 20:13:44 +0000 (22:13 +0200)]
refactor: cleanup internal message data structure
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Aug 2023 18:47:33 +0000 (20:47 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 4 Aug 2023 13:15:54 +0000 (15:15 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Fri, 4 Aug 2023 13:15:00 +0000 (15:15 +0200)]
docs: refine benchmarks/README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 3 Aug 2023 20:54:21 +0000 (20:54 +0000)]
Merge pull request #810 from poolifier/dependabot/github_actions/sonarsource/sonarcloud-github-action-2.0.0
build(deps): bump sonarsource/sonarcloud-github-action from 1.9.1 to 2.0.0
dependabot[bot] [Thu, 3 Aug 2023 20:15:23 +0000 (20:15 +0000)]
build(deps): bump sonarsource/sonarcloud-github-action
Bumps [sonarsource/sonarcloud-github-action](https://github.com/sonarsource/sonarcloud-github-action) from 1.9.1 to 2.0.0.
- [Release notes](https://github.com/sonarsource/sonarcloud-github-action/releases)
- [Commits](https://github.com/sonarsource/sonarcloud-github-action/compare/v1.9.1...v2.0.0)
---
updated-dependencies:
- dependency-name: sonarsource/sonarcloud-github-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Jérôme Benoit [Thu, 3 Aug 2023 19:36:32 +0000 (21:36 +0200)]
build(ci): fix merge queue usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Thu, 3 Aug 2023 14:03:36 +0000 (14:03 +0000)]
chore: generate documentation
Jérôme Benoit [Thu, 3 Aug 2023 14:00:56 +0000 (16:00 +0200)]
chore: v2.6.21
Jérôme Benoit [Thu, 3 Aug 2023 13:51:32 +0000 (15:51 +0200)]
docs: add changelog entry
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 3 Aug 2023 10:56:56 +0000 (12:56 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 2 Aug 2023 13:16:12 +0000 (15:16 +0200)]
refactor: code cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 2 Aug 2023 10:01:39 +0000 (12:01 +0200)]
refactor: more worker function -> task function renaming
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 2 Aug 2023 00:54:55 +0000 (02:54 +0200)]
refactor: uniform namespace for task function(s)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 2 Aug 2023 00:35:38 +0000 (02:35 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 2 Aug 2023 00:22:01 +0000 (02:22 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 31 Jul 2023 22:21:57 +0000 (00:21 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 29 Jul 2023 19:07:36 +0000 (21:07 +0200)]
build(ci): lint the code only once
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 29 Jul 2023 14:17:38 +0000 (16:17 +0200)]
refactor: use null test in circular array code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 29 Jul 2023 13:20:57 +0000 (15:20 +0200)]
fix: fix circular array splice semantic
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 29 Jul 2023 12:13:27 +0000 (14:13 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 29 Jul 2023 10:34:48 +0000 (12:34 +0200)]
refactor: cleanup worker method typing
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 28 Jul 2023 19:26:40 +0000 (21:26 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 28 Jul 2023 11:28:04 +0000 (13:28 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 28 Jul 2023 11:12:19 +0000 (13:12 +0200)]
refactor: refine error message
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 27 Jul 2023 12:17:39 +0000 (14:17 +0200)]
refactor: make TS example compatible with latest ES version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 27 Jul 2023 11:23:26 +0000 (13:23 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 27 Jul 2023 09:50:52 +0000 (11:50 +0200)]
docs: refine CONTRIBUTING.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 27 Jul 2023 09:49:19 +0000 (11:49 +0200)]
docs: refine CONTRIBUTING.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 27 Jul 2023 09:35:34 +0000 (11:35 +0200)]
docs: refine pull request template
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 27 Jul 2023 00:57:01 +0000 (02:57 +0200)]
docs: switch all issue templates to yaml
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 27 Jul 2023 00:34:17 +0000 (02:34 +0200)]
docs: update github templates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 25 Jul 2023 21:45:53 +0000 (23:45 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 24 Jul 2023 20:42:12 +0000 (22:42 +0200)]
docs: update benchmark vs. external pool
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 24 Jul 2023 17:53:34 +0000 (19:53 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 23 Jul 2023 19:16:24 +0000 (21:16 +0200)]
perf: cleanup benchmark code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 23 Jul 2023 19:10:50 +0000 (21:10 +0200)]
perf: enable tasks queue for poolifier in benchmark
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 23 Jul 2023 19:01:23 +0000 (21:01 +0200)]
perf: add measurement coverage to benchmark
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 23 Jul 2023 18:33:19 +0000 (20:33 +0200)]
refactor: cleanup cluster ESM issue workaround
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 23 Jul 2023 18:11:00 +0000 (20:11 +0200)]
perf: workaround issue with cluster module and ESM
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 23 Jul 2023 17:36:43 +0000 (19:36 +0200)]
build: only register source map if the build includes it
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 23 Jul 2023 17:15:09 +0000 (19:15 +0200)]
refactor: refine benchmark namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 23 Jul 2023 17:11:07 +0000 (19:11 +0200)]
refactor: cleanup benchmark code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 23 Jul 2023 17:05:38 +0000 (19:05 +0200)]
perf: automatically cover most poolifier settings in benchmark
Close #779
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 23 Jul 2023 14:23:17 +0000 (16:23 +0200)]
refactor: cleanup examples
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 22 Jul 2023 22:44:09 +0000 (00:44 +0200)]
build: improve maxWorkers computation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 22 Jul 2023 21:57:26 +0000 (23:57 +0200)]
fix: execute() can have no arguments in examples
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 22 Jul 2023 21:52:51 +0000 (23:52 +0200)]
build: ensure maxWorkers is an integer
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 22 Jul 2023 21:34:03 +0000 (23:34 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 22 Jul 2023 10:57:52 +0000 (12:57 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 22 Jul 2023 02:50:00 +0000 (04:50 +0200)]
Merge branch 'master' of github.com:jerome-benoit/poolifier
Jérôme Benoit [Sat, 22 Jul 2023 02:49:30 +0000 (04:49 +0200)]
docs: update benchmark vs. external pools
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 22 Jul 2023 02:41:16 +0000 (04:41 +0200)]
test: improve availableParallelism() test
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 22 Jul 2023 02:34:33 +0000 (04:34 +0200)]
refactor: cleanup variables namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 22:39:03 +0000 (00:39 +0200)]
refactor: display queues usage in pool info only if enabled
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Fri, 21 Jul 2023 20:51:34 +0000 (20:51 +0000)]
chore: generate documentation
Jérôme Benoit [Fri, 21 Jul 2023 20:46:25 +0000 (22:46 +0200)]
chore: v2.6.20
Jérôme Benoit [Fri, 21 Jul 2023 20:45:14 +0000 (22:45 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 19:42:54 +0000 (21:42 +0200)]
fix: make pool busyness check for worker readiness
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 19:22:14 +0000 (21:22 +0200)]
fix: untangle tasks queuing condition from pool busyness
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 18:29:08 +0000 (20:29 +0200)]
fix: ensure worker node destroy semantic is always the same
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 16:14:28 +0000 (18:14 +0200)]
perf: optimize worker node lookup by worker id
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 16:03:25 +0000 (18:03 +0200)]
fix: ensure task concurrency is enforced
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 15:21:06 +0000 (17:21 +0200)]
fix: ensure the task concurrency is respected at queued task
redistribution
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 14:39:54 +0000 (16:39 +0200)]
feat: add dynamic pool sizes type check
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 14:24:14 +0000 (16:24 +0200)]
docs: refine code comment
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 14:18:34 +0000 (16:18 +0200)]
build: bump volta node version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 13:22:18 +0000 (15:22 +0200)]
fix: ensure tasks redistribution avoid task execution starvation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 12:15:24 +0000 (14:15 +0200)]
perf: speed up dynamic worker termination
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 11:48:12 +0000 (13:48 +0200)]
perf: drastically reduce worker nodes array lookups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 20 Jul 2023 21:44:31 +0000 (23:44 +0200)]
perf: use worker node key instead of heavy worker reference in hot code path
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 20 Jul 2023 21:18:11 +0000 (23:18 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Thu, 20 Jul 2023 21:16:10 +0000 (23:16 +0200)]
refactor: cleanup pool.execute() structure
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Thu, 20 Jul 2023 19:51:23 +0000 (19:51 +0000)]
chore: generate documentation
Jérôme Benoit [Thu, 20 Jul 2023 16:33:45 +0000 (18:33 +0200)]
chore: v2.6.19
Jérôme Benoit [Thu, 20 Jul 2023 16:28:07 +0000 (18:28 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 20 Jul 2023 16:14:09 +0000 (18:14 +0200)]
fix: register worker message handler only once the worker is ready
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 20 Jul 2023 16:10:45 +0000 (18:10 +0200)]
fix: close communication channel on error
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 20 Jul 2023 15:47:52 +0000 (17:47 +0200)]
fix: unref() message port at worker exit
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 20 Jul 2023 10:07:19 +0000 (12:07 +0200)]
docs: add changelog entry
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Jul 2023 23:48:21 +0000 (01:48 +0200)]
refactor: factor out worker communication channel closing
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Jul 2023 22:49:12 +0000 (00:49 +0200)]
refactor: add sanity check at getting worker info
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Jul 2023 22:21:32 +0000 (00:21 +0200)]
refactor: cleanup worker id handling code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Jul 2023 22:03:59 +0000 (00:03 +0200)]
refactor: cleanup ready message conditions check in worker code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Jul 2023 21:41:53 +0000 (23:41 +0200)]
feat: add dedicated message channel for threads pool
Reference: #801
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Jul 2023 18:04:43 +0000 (20:04 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Wed, 19 Jul 2023 18:03:13 +0000 (20:03 +0200)]
refactor: add helper to get worker info by worker
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Wed, 19 Jul 2023 13:18:13 +0000 (13:18 +0000)]
chore: generate documentation
Jérôme Benoit [Wed, 19 Jul 2023 13:12:22 +0000 (15:12 +0200)]
chore: v2.6.18
Jérôme Benoit [Wed, 19 Jul 2023 13:01:57 +0000 (15:01 +0200)]
docs: add changelog entry
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Jul 2023 12:36:52 +0000 (14:36 +0200)]
refactor: factor out measurement requirements median toggling code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>