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>
Jérôme Benoit [Wed, 19 Jul 2023 10:46:02 +0000 (12:46 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 19 Jul 2023 10:26:54 +0000 (12:26 +0200)]
refactor: add sanity checks to worker code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Jul 2023 10:14:43 +0000 (12:14 +0200)]
test: improve updateMeasurementStatistics() behavior test
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Jul 2023 10:05:41 +0000 (12:05 +0200)]
refactor: cleanup measurement statistics computation code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 18 Jul 2023 20:58:37 +0000 (22:58 +0200)]
test: add updateMeasurementStatistics() behavior test
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 18 Jul 2023 20:23:29 +0000 (22:23 +0200)]
refactor: factor out measurement statistics update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 18 Jul 2023 18:16:36 +0000 (20:16 +0200)]
build: update volta pnpm version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 18 Jul 2023 11:51:07 +0000 (13:51 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 17 Jul 2023 13:59:42 +0000 (15:59 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 17 Jul 2023 13:29:05 +0000 (15:29 +0200)]
Merge branch 'master' of github.com:jerome-benoit/poolifier
Jérôme Benoit [Mon, 17 Jul 2023 13:27:51 +0000 (15:27 +0200)]
refactor: factor out last task timestamp update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 16 Jul 2023 22:23:44 +0000 (00:23 +0200)]
docs: update benchmark vs. external pools
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 16 Jul 2023 19:11:32 +0000 (21:11 +0200)]
refactor: reorder benchmarks
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 16 Jul 2023 17:43:57 +0000 (19:43 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Sun, 16 Jul 2023 17:42:14 +0000 (19:42 +0200)]
refactor: cleanup worker.addTaskFunction()
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Sun, 16 Jul 2023 16:47:35 +0000 (16:47 +0000)]
chore: generate documentation
Jérôme Benoit [Sun, 16 Jul 2023 16:42:33 +0000 (18:42 +0200)]
chore: v2.6.17
Jérôme Benoit [Sun, 16 Jul 2023 16:39:29 +0000 (18:39 +0200)]
docs: update CHANGELOG.md entry
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 16 Jul 2023 16:29:41 +0000 (18:29 +0200)]
docs: fix README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Jul 2023 17:19:45 +0000 (19:19 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Jul 2023 17:02:14 +0000 (19:02 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Jul 2023 14:31:37 +0000 (16:31 +0200)]
docs: add code comment
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Jul 2023 14:01:41 +0000 (16:01 +0200)]
docs: fix README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Jul 2023 13:58:55 +0000 (15:58 +0200)]
docs: fix README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Jul 2023 13:56:17 +0000 (15:56 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Jul 2023 09:43:07 +0000 (11:43 +0200)]
docs: refine changelog entry
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Jul 2023 09:39:59 +0000 (11:39 +0200)]
feat: add method to list registered task functions on a worker
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Jul 2023 08:43:52 +0000 (10:43 +0200)]
docs: refine keywords
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Jul 2023 20:23:17 +0000 (22:23 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Jul 2023 20:07:36 +0000 (22:07 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Fri, 14 Jul 2023 20:06:45 +0000 (22:06 +0200)]
docs: worker-threads -> worker_threads
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Fri, 14 Jul 2023 19:55:07 +0000 (19:55 +0000)]
chore: generate documentation
Jérôme Benoit [Fri, 14 Jul 2023 19:09:54 +0000 (21:09 +0200)]
docs: refine comments
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Jul 2023 18:12:11 +0000 (20:12 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Jul 2023 14:38:08 +0000 (16:38 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Jul 2023 14:31:12 +0000 (16:31 +0200)]
build: update eslint configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Jul 2023 14:17:51 +0000 (16:17 +0200)]
fix: unref check active interval
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Jul 2023 07:59:35 +0000 (09:59 +0200)]
docs: update benchmark vs. external pools
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 13 Jul 2023 18:19:09 +0000 (20:19 +0200)]
refactor: cleanup pool startup code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 12 Jul 2023 18:53:44 +0000 (20:53 +0200)]
docs: refine badge links
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 12 Jul 2023 18:17:08 +0000 (20:17 +0200)]
docs: add commit activity to badges
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 12 Jul 2023 11:26:11 +0000 (13:26 +0200)]
test: test for pool event emitter property
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>