Jérôme Benoit [Mon, 3 Apr 2023 21:38:29 +0000 (23:38 +0200)]
fix: ensure tasks are distributed equally at less used and less busy
strategy startup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Apr 2023 21:20:17 +0000 (23:20 +0200)]
docs: enhance some methods documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Apr 2023 20:37:09 +0000 (22:37 +0200)]
docs: update changelogs entries
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Apr 2023 20:29:04 +0000 (22:29 +0200)]
Merge branch 'master' of github.com:jerome-benoit/poolifier
Jérôme Benoit [Mon, 3 Apr 2023 20:27:16 +0000 (22:27 +0200)]
docs: add benchmarks vs. external threads pools on latest versions
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 3 Apr 2023 19:34:12 +0000 (21:34 +0200)]
docs: update README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Apr 2023 18:50:00 +0000 (20:50 +0200)]
build: switch benchmarks to pnpm
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Apr 2023 18:23:00 +0000 (20:23 +0200)]
chore: v2.4.0-2
Jérôme Benoit [Mon, 3 Apr 2023 18:22:13 +0000 (20:22 +0200)]
docs: update changelog entries
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Apr 2023 18:19:04 +0000 (20:19 +0200)]
build: add --no-git-checks everywhere for pnpm publication
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Apr 2023 18:17:25 +0000 (20:17 +0200)]
build: ensure pnpm will publish in CI even with uncommited changes
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Apr 2023 18:09:13 +0000 (20:09 +0200)]
chore: v2.4.0-1
Jérôme Benoit [Mon, 3 Apr 2023 18:07:24 +0000 (20:07 +0200)]
build: fix npm registry publication with pnpm
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Apr 2023 17:59:59 +0000 (19:59 +0200)]
chore: v2.4.0-0
github-actions[bot] [Mon, 3 Apr 2023 17:54:10 +0000 (17:54 +0000)]
chore: generate documentation
Jérôme Benoit [Mon, 3 Apr 2023 17:49:22 +0000 (19:49 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Apr 2023 17:29:14 +0000 (19:29 +0200)]
docs: add missing type param
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Apr 2023 17:09:06 +0000 (19:09 +0200)]
fix: ensure worker removal impact is propated to worker choice strategy
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Apr 2023 15:13:07 +0000 (17:13 +0200)]
perf: use worker key as much as possible instead of a reference to the
worker instance
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Apr 2023 11:42:14 +0000 (13:42 +0200)]
perf: use worker key instead of worker instance
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Apr 2023 10:04:06 +0000 (12:04 +0200)]
perf: remove unneeded nullish check in hot code paths
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Apr 2023 09:57:46 +0000 (11:57 +0200)]
build(deps-dev): apply update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 3 Apr 2023 09:55:36 +0000 (11:55 +0200)]
refactor: condition style
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Apr 2023 20:10:47 +0000 (22:10 +0200)]
perf: use a single array to store pool workers and their related data
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Apr 2023 19:07:39 +0000 (21:07 +0200)]
feat: add less busy worker choice strategy to internal benchmarks
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Apr 2023 18:20:37 +0000 (20:20 +0200)]
docs: highlight breaking changes
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Apr 2023 17:59:21 +0000 (19:59 +0200)]
feat: add less busy worker choice strategy
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Apr 2023 17:13:10 +0000 (19:13 +0200)]
refactor: rename a worker choice strategy
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Apr 2023 15:52:35 +0000 (17:52 +0200)]
refactor: remove unneeded intermediate variable
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Apr 2023 15:06:57 +0000 (17:06 +0200)]
refactor: remove unneeded encapsulation around tasks usage handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Apr 2023 14:30:02 +0000 (16:30 +0200)]
perf: take into account the number of run tasks in LRU worker choice
strategy
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Apr 2023 13:37:39 +0000 (15:37 +0200)]
fix: add missing crypto import
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Apr 2023 13:27:54 +0000 (15:27 +0200)]
fix: use UUIDv4 for message id to avoid integer overflow
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 2 Apr 2023 11:57:30 +0000 (13:57 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Sun, 2 Apr 2023 11:55:59 +0000 (13:55 +0200)]
perf: use a single map to store pool workers and their related data
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Sat, 1 Apr 2023 20:26:35 +0000 (20:26 +0000)]
chore: generate documentation
Jérôme Benoit [Sat, 1 Apr 2023 20:24:01 +0000 (22:24 +0200)]
chore: add changelog entry
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 1 Apr 2023 20:16:31 +0000 (22:16 +0200)]
perf: only check worker status when necessary
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 1 Apr 2023 12:02:37 +0000 (14:02 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 1 Apr 2023 11:51:16 +0000 (13:51 +0200)]
chore: add github funding option
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 30 Mar 2023 22:18:12 +0000 (00:18 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 29 Mar 2023 18:37:33 +0000 (20:37 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 29 Mar 2023 07:51:35 +0000 (09:51 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 28 Mar 2023 15:15:34 +0000 (17:15 +0200)]
build(ci): install latest pnpm version at documentation generation
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 28 Mar 2023 11:13:16 +0000 (13:13 +0200)]
build: use latest pnpm version and related version formats
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 28 Mar 2023 11:01:35 +0000 (13:01 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 27 Mar 2023 19:15:17 +0000 (21:15 +0200)]
build: refine coverage thresholds
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 27 Mar 2023 19:09:51 +0000 (21:09 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 26 Mar 2023 20:20:17 +0000 (22:20 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 26 Mar 2023 10:40:31 +0000 (12:40 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 25 Mar 2023 07:11:48 +0000 (08:11 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 24 Mar 2023 17:42:52 +0000 (18:42 +0100)]
build(ci): remove unrecognized option
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 24 Mar 2023 17:34:17 +0000 (18:34 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 24 Mar 2023 12:12:51 +0000 (13:12 +0100)]
build(deps-dev): apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Mar 2023 22:34:37 +0000 (23:34 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Mar 2023 09:07:35 +0000 (10:07 +0100)]
build: refine ignored files
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Mar 2023 09:03:56 +0000 (10:03 +0100)]
build: add pnpm lock file
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 23 Mar 2023 09:02:55 +0000 (10:02 +0100)]
build: switch to pnpm
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 21 Mar 2023 10:02:39 +0000 (11:02 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 20 Mar 2023 10:49:55 +0000 (11:49 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Mar 2023 23:50:16 +0000 (00:50 +0100)]
build(simulator): refine linter configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Sun, 19 Mar 2023 22:22:29 +0000 (22:22 +0000)]
chore: generate documentation
Jérôme Benoit [Sun, 19 Mar 2023 22:20:20 +0000 (23:20 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 19 Mar 2023 09:58:43 +0000 (10:58 +0100)]
refactor: remove blank line in code block
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 19:49:27 +0000 (20:49 +0100)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Sat, 18 Mar 2023 19:48:44 +0000 (20:48 +0100)]
build(deps-dev): apply update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Sat, 18 Mar 2023 19:39:22 +0000 (19:39 +0000)]
chore: generate documentation
Jérôme Benoit [Sat, 18 Mar 2023 19:36:16 +0000 (20:36 +0100)]
chore: v2.3.10
Jérôme Benoit [Sat, 18 Mar 2023 19:35:34 +0000 (20:35 +0100)]
chore: update changelog entries
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 19:33:34 +0000 (20:33 +0100)]
chore: add changelog entry
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 19:21:21 +0000 (20:21 +0100)]
chore: v2.3.10-2
Jérôme Benoit [Sat, 18 Mar 2023 19:20:39 +0000 (20:20 +0100)]
chore: update changelog entries
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 19:19:30 +0000 (20:19 +0100)]
fix: fix `exports` syntax for ESM and CommonJS, take 2
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 19:10:58 +0000 (20:10 +0100)]
chore: v2.3.10-1
Jérôme Benoit [Sat, 18 Mar 2023 19:10:04 +0000 (20:10 +0100)]
chore: update changelog entries
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 19:08:07 +0000 (20:08 +0100)]
build: permit SemVer pre-release publication
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 18:52:09 +0000 (19:52 +0100)]
chore: v2.3.10-0
Jérôme Benoit [Sat, 18 Mar 2023 18:46:54 +0000 (19:46 +0100)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Sat, 18 Mar 2023 18:46:07 +0000 (19:46 +0100)]
fix: fix ESM and CommonJS exports
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Sat, 18 Mar 2023 17:50:36 +0000 (17:50 +0000)]
chore: generate documentation
Jérôme Benoit [Sat, 18 Mar 2023 17:47:40 +0000 (18:47 +0100)]
chore: v2.3.9
Jérôme Benoit [Sat, 18 Mar 2023 17:34:43 +0000 (18:34 +0100)]
fix: fix default worker data value
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 17:13:25 +0000 (18:13 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 17:08:55 +0000 (18:08 +0100)]
fix: brown paper bag bug referencing the same object literal
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 15:33:46 +0000 (16:33 +0100)]
build: enforce strict deprecation checks
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 15:29:45 +0000 (16:29 +0100)]
feat: initial work at bundling ESM and CommonJS
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 12:53:57 +0000 (13:53 +0100)]
build(ci): ensure commit message follow conventionnal commit rules
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Sat, 18 Mar 2023 12:26:16 +0000 (12:26 +0000)]
Generate documentation
Jérôme Benoit [Sat, 18 Mar 2023 12:02:07 +0000 (13:02 +0100)]
chore: v2.3.8
Jérôme Benoit [Sat, 18 Mar 2023 11:54:41 +0000 (12:54 +0100)]
chore: prepare changelog content for release
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 09:41:12 +0000 (10:41 +0100)]
build: silence warnings
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 18 Mar 2023 09:27:44 +0000 (10:27 +0100)]
fix: linting issue with paths
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 17 Mar 2023 22:31:51 +0000 (23:31 +0100)]
build: switch rollup plugins to core ones
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 16 Mar 2023 20:35:36 +0000 (21:35 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 15 Mar 2023 22:23:17 +0000 (23:23 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 15 Mar 2023 14:28:13 +0000 (15:28 +0100)]
build: pin node version to 19.7.x CI
https://github.com/nodejs/node/issues/47096
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 15 Mar 2023 10:21:10 +0000 (11:21 +0100)]
build: run CI on merge queue
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 11 Mar 2023 10:06:50 +0000 (11:06 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 10 Mar 2023 20:59:51 +0000 (21:59 +0100)]
test: .nycrc.json -> .c8rc.json
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 10 Mar 2023 20:24:41 +0000 (21:24 +0100)]
fix: initialize attribute in the constructor
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>