Jérôme Benoit [Sat, 22 Oct 2022 09:23:05 +0000 (11:23 +0200)]
Speed CI by removing non working eslint report import
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 22 Oct 2022 09:14:33 +0000 (11:14 +0200)]
Fix sed options in CI
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 22 Oct 2022 09:08:52 +0000 (11:08 +0200)]
Try to fix path in eslint report in CI
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Oct 2022 22:06:14 +0000 (00:06 +0200)]
Cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Oct 2022 21:59:17 +0000 (23:59 +0200)]
Switch from nyc to c8
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Oct 2022 21:27:31 +0000 (23:27 +0200)]
Fix CI condition
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Oct 2022 21:22:03 +0000 (23:22 +0200)]
Exclude tests on windows during CI for now
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Oct 2022 21:14:12 +0000 (23:14 +0200)]
Refine error types thrown
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Oct 2022 20:57:06 +0000 (22:57 +0200)]
Refine tsconfig.json
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Oct 2022 20:17:18 +0000 (22:17 +0200)]
Refine attributes scope in dynamic pool code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Oct 2022 15:25:35 +0000 (17:25 +0200)]
Remove unneeded pool attribute
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Oct 2022 14:38:03 +0000 (16:38 +0200)]
Fix method scope
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Oct 2022 13:15:40 +0000 (15:15 +0200)]
v2.3.5
Jérôme Benoit [Fri, 21 Oct 2022 13:10:36 +0000 (15:10 +0200)]
Validate documentation generation fix
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Oct 2022 13:08:07 +0000 (15:08 +0200)]
Fix linter run
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Oct 2022 12:55:02 +0000 (14:55 +0200)]
Update documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Oct 2022 12:47:45 +0000 (14:47 +0200)]
Fix documentation generation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Oct 2022 08:18:02 +0000 (10:18 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Oct 2022 07:43:11 +0000 (09:43 +0200)]
Optimize tasks usage lookup implementation.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 20 Oct 2022 21:42:13 +0000 (23:42 +0200)]
Refine eslint configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 20 Oct 2022 21:15:21 +0000 (23:15 +0200)]
Move tasks scheduling implementation benchmark into its own directory
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 20 Oct 2022 19:30:03 +0000 (21:30 +0200)]
Benchmarks: fix workload function
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 20 Oct 2022 14:58:06 +0000 (16:58 +0200)]
Benchmarks: properly parse env variables
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 20 Oct 2022 12:00:41 +0000 (14:00 +0200)]
Switch eslint-plugin-node to supported eslint-plugin-n
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 18 Oct 2022 21:27:49 +0000 (23:27 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Tue, 18 Oct 2022 21:17:27 +0000 (23:17 +0200)]
Combined PR (#603)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 18 Oct 2022 21:13:13 +0000 (23:13 +0200)]
Refine code configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 18 Oct 2022 09:02:17 +0000 (11:02 +0200)]
Fix eslint configuration for benchmark
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 17 Oct 2022 22:51:55 +0000 (00:51 +0200)]
Factor out benchmarks helpers
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 17 Oct 2022 22:21:57 +0000 (00:21 +0200)]
Benchmarks: remove debug code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 17 Oct 2022 22:15:45 +0000 (00:15 +0200)]
Improve benchmarks: add IO intensive task workload, add task size option, integrate into eslint.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 17 Oct 2022 16:29:52 +0000 (18:29 +0200)]
Remove hyperfine debug option
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 17 Oct 2022 16:23:50 +0000 (18:23 +0200)]
Initial worker-nodes integration in benchmarks.
Seems to have scalability issue with our workload
Reference #106
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 17 Oct 2022 09:58:15 +0000 (11:58 +0200)]
Update documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 17 Oct 2022 08:00:50 +0000 (10:00 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 16 Oct 2022 22:32:25 +0000 (00:32 +0200)]
v2.3.4
Jérôme Benoit [Sun, 16 Oct 2022 22:28:47 +0000 (00:28 +0200)]
CHANGELOG.md: benchmarks related entry refinement
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 16 Oct 2022 22:25:21 +0000 (00:25 +0200)]
benchmarks/README.md: add folder links
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 16 Oct 2022 22:15:04 +0000 (00:15 +0200)]
Run benchmarks versus latest external pool libraries
Close #594
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 16 Oct 2022 18:15:49 +0000 (20:15 +0200)]
Refine release-it configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 16 Oct 2022 17:48:25 +0000 (19:48 +0200)]
Add script for doing a release
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 16 Oct 2022 17:42:49 +0000 (19:42 +0200)]
Add release-it configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 16 Oct 2022 17:41:37 +0000 (19:41 +0200)]
Add release-it
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 16 Oct 2022 09:44:48 +0000 (11:44 +0200)]
Align istanbul lines coverage with sonar
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 16 Oct 2022 09:12:04 +0000 (11:12 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Oct 2022 22:05:40 +0000 (00:05 +0200)]
Cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Oct 2022 19:17:00 +0000 (21:17 +0200)]
Revert "CI: move linting after installation"
This reverts commit
a34ce9a052739a56d764ba1aa3ede8d19aded4e3.
Jérôme Benoit [Sat, 15 Oct 2022 19:13:34 +0000 (21:13 +0200)]
CI: move linting after installation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Oct 2022 18:09:17 +0000 (20:09 +0200)]
Add Unreleased section to CHANGELOG.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Oct 2022 17:47:16 +0000 (19:47 +0200)]
Remove uneeded intermediate variable in fair share tasks scheduler
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 15 Oct 2022 16:53:11 +0000 (18:53 +0200)]
Move worker choice strategy tests into in its own file
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Oct 2022 15:21:59 +0000 (17:21 +0200)]
Fix CI job condition
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Oct 2022 14:17:24 +0000 (16:17 +0200)]
Tests: use getter for worker choice strategy instance
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Oct 2022 13:32:24 +0000 (15:32 +0200)]
Refine lint staged configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Oct 2022 11:09:19 +0000 (13:09 +0200)]
Generate API documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Oct 2022 11:08:00 +0000 (13:08 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Sat, 15 Oct 2022 11:05:36 +0000 (13:05 +0200)]
Add support for [cluster settings](https://nodejs.org/api/cluster.html#cluster_cluster_settings) in cluster pool options.
Close #98
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Oct 2022 10:11:29 +0000 (12:11 +0200)]
README.md: fix typo
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Oct 2022 06:44:12 +0000 (08:44 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Oct 2022 06:26:09 +0000 (08:26 +0200)]
Fix GitHub actions issues on tests with windows and stable node
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Oct 2022 06:08:22 +0000 (08:08 +0200)]
Update API documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Oct 2022 06:08:22 +0000 (08:08 +0200)]
Updae API documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Oct 2022 06:04:31 +0000 (08:04 +0200)]
Only node version => 16.x are supported for 2.3.x release
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Oct 2022 05:56:29 +0000 (07:56 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Sat, 15 Oct 2022 05:55:36 +0000 (07:55 +0200)]
Fix GitHub action OS matrix usage
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Oct 2022 05:37:24 +0000 (07:37 +0200)]
Update API documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Oct 2022 05:35:08 +0000 (07:35 +0200)]
Silence typedoc warnings
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Oct 2022 05:25:16 +0000 (07:25 +0200)]
Refine some comments
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Oct 2022 22:56:10 +0000 (00:56 +0200)]
WRR: Fix worker choice initial runtime value on each round
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Oct 2022 22:44:09 +0000 (00:44 +0200)]
Optimize WRR implementation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Oct 2022 21:50:25 +0000 (23:50 +0200)]
WRR strategy: cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Oct 2022 21:17:43 +0000 (23:17 +0200)]
Fixes to worker selection strategies
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Oct 2022 19:03:26 +0000 (21:03 +0200)]
Fix cross OS CI GH actions
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Oct 2022 18:53:30 +0000 (20:53 +0200)]
Add cross OS CI tests
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Oct 2022 16:39:34 +0000 (18:39 +0200)]
Apply dependencies update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Oct 2022 09:47:57 +0000 (11:47 +0200)]
Flag some attributes as readonly
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Oct 2022 07:13:04 +0000 (09:13 +0200)]
README.md: small refinements
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Oct 2022 06:53:35 +0000 (08:53 +0200)]
README.md: add link to API documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Oct 2022 06:40:51 +0000 (08:40 +0200)]
Default random integer generation to maximun safe value
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 13 Oct 2022 21:57:20 +0000 (23:57 +0200)]
@types/node update to 18.8.5
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 13 Oct 2022 21:54:51 +0000 (23:54 +0200)]
Tests: be more strict on number expectation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 13 Oct 2022 21:45:05 +0000 (23:45 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Thu, 13 Oct 2022 21:44:22 +0000 (23:44 +0200)]
README.md: refine links
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 13 Oct 2022 21:16:36 +0000 (23:16 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Shinigami [Thu, 13 Oct 2022 21:00:32 +0000 (23:00 +0200)]
Prevent spam for inactive maintainer
Jérôme Benoit [Thu, 13 Oct 2022 21:00:26 +0000 (23:00 +0200)]
Refresh documentation links to 2.3.1 version commit
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 13 Oct 2022 20:50:22 +0000 (22:50 +0200)]
Version 2.3.1
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 13 Oct 2022 20:41:30 +0000 (22:41 +0200)]
README.md: Fix formatting
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 13 Oct 2022 20:33:27 +0000 (22:33 +0200)]
Prepare the 2.3.0 changelog
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 13 Oct 2022 20:28:18 +0000 (22:28 +0200)]
Update documentation for 2.3.0 release
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 13 Oct 2022 20:22:31 +0000 (22:22 +0200)]
Bump version in sonar configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 13 Oct 2022 20:19:44 +0000 (22:19 +0200)]
Improve tests coverage on worker choice strategies
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 13 Oct 2022 19:41:45 +0000 (21:41 +0200)]
Fix tests
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 13 Oct 2022 19:35:50 +0000 (21:35 +0200)]
Add tests for WRR worker choice strategy
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 13 Oct 2022 19:09:44 +0000 (21:09 +0200)]
Improve strategies internals reset tests
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 13 Oct 2022 18:58:20 +0000 (20:58 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Thu, 13 Oct 2022 18:57:25 +0000 (20:57 +0200)]
Fix strategies internals reset
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 13 Oct 2022 18:10:00 +0000 (20:10 +0200)]
Add code sonarlint configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 13 Oct 2022 14:49:55 +0000 (16:49 +0200)]
Prepare for 2.3.0 release
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 12 Oct 2022 21:55:21 +0000 (23:55 +0200)]
Tests: remove unused variables
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>