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>
Jérôme Benoit [Wed, 21 Jun 2023 21:49:55 +0000 (23:49 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 21 Jun 2023 21:41:09 +0000 (23:41 +0200)]
docs: reference tinypool in benchmarking documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Jun 2023 17:43:19 +0000 (19:43 +0200)]
chore: v2.6.3
Jérôme Benoit [Mon, 19 Jun 2023 17:41:30 +0000 (19:41 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Mon, 19 Jun 2023 17:33:04 +0000 (17:33 +0000)]
chore: generate documentation
Jérôme Benoit [Mon, 19 Jun 2023 17:26:50 +0000 (19:26 +0200)]
docs: update benchmarks vs. external pools
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 19 Jun 2023 14:06:19 +0000 (16:06 +0200)]
docs: refine hyperfine options
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Jun 2023 13:03:48 +0000 (15:03 +0200)]
build: fix eslint configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Jun 2023 13:00:29 +0000 (15:00 +0200)]
build: fix eslint configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Jun 2023 12:27:29 +0000 (14:27 +0200)]
fix: ensure piscina properly simulate fixed pool
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Jun 2023 12:08:01 +0000 (14:08 +0200)]
docs: add tinypool to external pools benchmark
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Jun 2023 11:28:48 +0000 (13:28 +0200)]
test: improve worker choice strategies options coverage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Jun 2023 11:06:27 +0000 (13:06 +0200)]
test: improve pool options coverage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 19 Jun 2023 10:13:00 +0000 (12:13 +0200)]
docs: update benchmark vs. external pools
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 18 Jun 2023 20:12:40 +0000 (22:12 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 18 Jun 2023 16:02:56 +0000 (18:02 +0200)]
refactor: partially revert strategies optimization
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 17 Jun 2023 13:01:23 +0000 (15:01 +0200)]
fix: updates strategies internals once statistics are computed
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 16 Jun 2023 20:46:08 +0000 (22:46 +0200)]
refactor: silence sonar
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 16 Jun 2023 20:33:29 +0000 (22:33 +0200)]
refactor: cleanup variables namespace
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 16 Jun 2023 20:28:12 +0000 (22:28 +0200)]
fix: update worker choice internals without tasks queuing
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 16 Jun 2023 19:56:18 +0000 (21:56 +0200)]
fix: ensure worker choice strategies internals are updated after tasks
submission
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 16 Jun 2023 19:42:49 +0000 (21:42 +0200)]
refactor: comment out dead code in worker choice strategies
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 16 Jun 2023 19:27:58 +0000 (21:27 +0200)]
perf: optimize worker choice strategies
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 16 Jun 2023 11:14:46 +0000 (13:14 +0200)]
docs: refine benchmarks README
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 16 Jun 2023 10:54:59 +0000 (12:54 +0200)]
refactor: simplify condition
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 16 Jun 2023 10:37:28 +0000 (12:37 +0200)]
fix: ensure no tasks are queued when trying to soft kill a dynamic worker
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 16 Jun 2023 09:07:26 +0000 (11:07 +0200)]
refactor: queue code cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 15 Jun 2023 20:22:34 +0000 (22:22 +0200)]
perf: optimize O(1) queue implementation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 13 Jun 2023 19:44:28 +0000 (21:44 +0200)]
build: cleanup rollup configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 13 Jun 2023 18:30:25 +0000 (20:30 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 12 Jun 2023 19:38:59 +0000 (21:38 +0200)]
fix: fix pnpm lockfile backward compatbility issue
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 12 Jun 2023 19:27:36 +0000 (21:27 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 12 Jun 2023 15:04:35 +0000 (17:04 +0200)]
docs: refine worker choice strategies README
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 12 Jun 2023 14:58:29 +0000 (16:58 +0200)]
docs: refine worker choice strategies README
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 11 Jun 2023 22:36:00 +0000 (00:36 +0200)]
chore: v2.6.2
github-actions[bot] [Sun, 11 Jun 2023 22:33:54 +0000 (22:33 +0000)]
chore: generate documentation
Jérôme Benoit [Sun, 11 Jun 2023 22:31:58 +0000 (00:31 +0200)]
docs: fix generation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Sun, 11 Jun 2023 22:29:07 +0000 (22:29 +0000)]
chore: generate documentation
Jérôme Benoit [Sun, 11 Jun 2023 22:25:17 +0000 (00:25 +0200)]
docs: refine comments
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 11 Jun 2023 22:17:12 +0000 (00:17 +0200)]
docs: update changelog entries
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 11 Jun 2023 22:14:09 +0000 (00:14 +0200)]
docs: refine comments
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 11 Jun 2023 22:07:22 +0000 (00:07 +0200)]
fix: ensure newly created worker is used only if needed
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 11 Jun 2023 19:09:48 +0000 (21:09 +0200)]
refactor: factor out dynamic worker creation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 11 Jun 2023 16:53:38 +0000 (18:53 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 10 Jun 2023 23:42:15 +0000 (01:42 +0200)]
Merge branch 'master' of github.com:jerome-benoit/poolifier
Jérôme Benoit [Sat, 10 Jun 2023 23:41:07 +0000 (01:41 +0200)]
refactor: merge worker error handlers into one
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 10 Jun 2023 21:59:53 +0000 (23:59 +0200)]
docs: update benchmarks vs. external pools
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 10 Jun 2023 15:01:25 +0000 (17:01 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 10 Jun 2023 14:30:29 +0000 (16:30 +0200)]
chore: v2.6.1
github-actions[bot] [Sat, 10 Jun 2023 14:22:08 +0000 (14:22 +0000)]
chore: generate documentation
Jérôme Benoit [Sat, 10 Jun 2023 14:20:29 +0000 (16:20 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 10 Jun 2023 13:19:15 +0000 (15:19 +0200)]
docs: refine changelog entries
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 10 Jun 2023 13:04:49 +0000 (15:04 +0200)]
docs: add IWRR documentation
Close #766 and #772
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 10 Jun 2023 12:47:44 +0000 (14:47 +0200)]
docs: refine README
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 10 Jun 2023 12:35:59 +0000 (14:35 +0200)]
docs: add weighted round robin documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 10 Jun 2023 12:05:25 +0000 (14:05 +0200)]
fix: fix average computation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 10 Jun 2023 11:50:00 +0000 (13:50 +0200)]
docs: refine worker choice strategies documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 10 Jun 2023 11:04:15 +0000 (13:04 +0200)]
docs: initial worker choice strategies documentation
Reference: #772
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 10 Jun 2023 10:28:44 +0000 (12:28 +0200)]
docs: refine README
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 10 Jun 2023 10:26:49 +0000 (12:26 +0200)]
docs: refine README
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 9 Jun 2023 20:02:17 +0000 (22:02 +0200)]
chore: v2.6.0
github-actions[bot] [Fri, 9 Jun 2023 19:54:12 +0000 (19:54 +0000)]
chore: generate documentation
Jérôme Benoit [Fri, 9 Jun 2023 19:51:10 +0000 (21:51 +0200)]
docs: cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 9 Jun 2023 19:04:19 +0000 (21:04 +0200)]
docs: refine changelog entries
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Fri, 9 Jun 2023 18:58:54 +0000 (18:58 +0000)]
chore: generate documentation
Jérôme Benoit [Fri, 9 Jun 2023 18:53:16 +0000 (20:53 +0200)]
feat: add support for tasks ELU in fair share strategy
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>