Alessandro Pio Ardizio [Tue, 16 Feb 2021 10:22:31 +0000 (11:22 +0100)]
Update src/worker/worker-options.ts
Co-authored-by: Shinigami <chrissi92@hotmail.de>
Alessandro Pio Ardizio [Tue, 16 Feb 2021 10:22:21 +0000 (11:22 +0100)]
Update src/worker/worker-options.ts
Co-authored-by: Shinigami <chrissi92@hotmail.de>
Alessandro Pio Ardizio [Tue, 16 Feb 2021 10:22:07 +0000 (11:22 +0100)]
Update src/worker/abstract-worker.ts
Co-authored-by: Shinigami <chrissi92@hotmail.de>
Alessandro Pio Ardizio [Tue, 16 Feb 2021 10:21:18 +0000 (11:21 +0100)]
Update src/utility-types.ts
Co-authored-by: Shinigami <chrissi92@hotmail.de>
Alessandro Pio Ardizio [Tue, 16 Feb 2021 10:20:28 +0000 (11:20 +0100)]
Update src/worker/worker-options.ts
Co-authored-by: Shinigami <chrissi92@hotmail.de>
Alessandro Pio Ardizio [Tue, 16 Feb 2021 10:20:11 +0000 (11:20 +0100)]
Update src/worker/worker-options.ts
Co-authored-by: Shinigami <chrissi92@hotmail.de>
Alessandro Pio Ardizio [Tue, 16 Feb 2021 10:19:54 +0000 (11:19 +0100)]
Update src/worker/worker-options.ts
Co-authored-by: Shinigami <chrissi92@hotmail.de>
Alessandro Pio Ardizio [Tue, 16 Feb 2021 10:19:41 +0000 (11:19 +0100)]
Update src/worker/worker-options.ts
Co-authored-by: Shinigami <chrissi92@hotmail.de>
Alessandro Pio Ardizio [Tue, 16 Feb 2021 10:19:10 +0000 (11:19 +0100)]
Update src/worker/worker-options.ts
Co-authored-by: Shinigami <chrissi92@hotmail.de>
Alessandro Pio Ardizio [Tue, 16 Feb 2021 10:14:40 +0000 (11:14 +0100)]
Merge branch 'master' into issue-70
aardizio [Tue, 16 Feb 2021 10:12:17 +0000 (11:12 +0100)]
Enhance changelog documentation
aardizio [Tue, 16 Feb 2021 10:07:12 +0000 (11:07 +0100)]
Implementation for killBehavior based on the last feedbacks
Jérôme Benoit [Tue, 16 Feb 2021 09:55:54 +0000 (10:55 +0100)]
Update dependencies (#168)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Alessandro Pio Ardizio [Tue, 16 Feb 2021 07:58:57 +0000 (08:58 +0100)]
Merge pull request #164 from pioardi/benchmark
Fix benchmarks run: use synchronous call.
Jérôme Benoit [Mon, 15 Feb 2021 22:26:06 +0000 (23:26 +0100)]
Fix benchmarks run: use synchronous call.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Alessandro Pio Ardizio [Mon, 15 Feb 2021 21:21:07 +0000 (22:21 +0100)]
Merge branch 'master' into issue-70
Alessandro Pio Ardizio [Mon, 15 Feb 2021 21:15:16 +0000 (22:15 +0100)]
Merge pull request #163 from pioardi/ci
CI: Bump GitHub actions version to v2
Jérôme Benoit [Mon, 15 Feb 2021 21:07:53 +0000 (22:07 +0100)]
CI: Bump GitHub actions version to v2
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 15 Feb 2021 19:25:05 +0000 (20:25 +0100)]
README.md: formatting fixes. (#162)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
aardizio [Mon, 15 Feb 2021 18:51:15 +0000 (19:51 +0100)]
Fix typing error
aardizio [Mon, 15 Feb 2021 18:40:09 +0000 (19:40 +0100)]
Add a blank line
aardizio [Mon, 15 Feb 2021 18:37:12 +0000 (19:37 +0100)]
Implement PR reviews
Alessandro Pio Ardizio [Mon, 15 Feb 2021 16:30:30 +0000 (17:30 +0100)]
Merge branch 'master' into issue-70
aardizio [Mon, 15 Feb 2021 16:29:36 +0000 (17:29 +0100)]
Cluster pool is now working
aardizio [Mon, 15 Feb 2021 16:13:04 +0000 (17:13 +0100)]
Thread implementation working and tested with TDD expeting a failure and then adding code and expect success
aardizio [Mon, 15 Feb 2021 16:05:11 +0000 (17:05 +0100)]
Changelog add bug fixes
aardizio [Mon, 15 Feb 2021 16:00:30 +0000 (17:00 +0100)]
Better handling for maxInactiveTime on dynamic pools
Jérôme Benoit [Mon, 15 Feb 2021 15:55:38 +0000 (16:55 +0100)]
Build minified for production (#155)
* Build minified for production
And use dev build in CI
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* Rename scripts:
nothing -> default dev build
:prod -> production build
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* Trigger build analysis output on demand via an env variable
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* Always register source map support.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* Revert to one build output for coverage on sonar cloud.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* Revert "Revert to one build output for coverage on sonar cloud."
This reverts commit
f3d990ba9878e4e6f097844cacba9e8e4b4c9121.
* Try with sourcemap: false
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* Build with sourcemap: true
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* Go back to previous sourcemap setting.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* Change sonar sources
Co-authored-by: Alessandro Pio Ardizio <alessandroardizio94@gmail.com>
Alessandro Pio Ardizio [Mon, 15 Feb 2021 14:46:27 +0000 (15:46 +0100)]
Merge pull request #159 from pioardi/logo-and-readme
Logo and readme
aardizio [Mon, 15 Feb 2021 14:02:42 +0000 (15:02 +0100)]
Adjust feature order
aardizio [Mon, 15 Feb 2021 14:01:00 +0000 (15:01 +0100)]
Merge branch 'logo-and-readme' of https://github.com/pioardi/node-pool into logo-and-readme
aardizio [Mon, 15 Feb 2021 14:00:52 +0000 (15:00 +0100)]
Add check mark at each feature
Alessandro Pio Ardizio [Mon, 15 Feb 2021 13:59:36 +0000 (14:59 +0100)]
Update README.md
aardizio [Mon, 15 Feb 2021 13:58:55 +0000 (14:58 +0100)]
Adjust logo
Alessandro Pio Ardizio [Mon, 15 Feb 2021 13:55:24 +0000 (14:55 +0100)]
Update README.md
Alessandro Pio Ardizio [Mon, 15 Feb 2021 13:36:52 +0000 (14:36 +0100)]
Update README.md
Alessandro Pio Ardizio [Mon, 15 Feb 2021 11:54:05 +0000 (12:54 +0100)]
Update README.md
Alessandro Pio Ardizio [Mon, 15 Feb 2021 11:44:36 +0000 (12:44 +0100)]
Update README.md
aardizio [Mon, 15 Feb 2021 11:16:04 +0000 (12:16 +0100)]
Fix coverage link
aardizio [Mon, 15 Feb 2021 11:09:31 +0000 (12:09 +0100)]
Fix
aardizio [Mon, 15 Feb 2021 11:08:08 +0000 (12:08 +0100)]
Improve readme, added logo
Alessandro Pio Ardizio [Mon, 15 Feb 2021 09:11:27 +0000 (10:11 +0100)]
Merge pull request #157 from pioardi/dependabot/npm_and_yarn/types/node-14.14.28
Bump @types/node from 14.14.27 to 14.14.28
Alessandro Pio Ardizio [Mon, 15 Feb 2021 09:07:08 +0000 (10:07 +0100)]
Merge branch 'master' into dependabot/npm_and_yarn/types/node-14.14.28
Alessandro Pio Ardizio [Mon, 15 Feb 2021 09:06:54 +0000 (10:06 +0100)]
Merge pull request #158 from pioardi/dependabot/npm_and_yarn/eslint-plugin-jsdoc-32.0.0
Bump eslint-plugin-jsdoc from 31.6.1 to 32.0.0
Alessandro Pio Ardizio [Mon, 15 Feb 2021 08:58:32 +0000 (09:58 +0100)]
Update package.json
dependabot-preview[bot] [Mon, 15 Feb 2021 07:10:32 +0000 (07:10 +0000)]
Bump eslint-plugin-jsdoc from 31.6.1 to 32.0.0
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 31.6.1 to 32.0.0.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v31.6.1...v32.0.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 15 Feb 2021 07:09:45 +0000 (07:09 +0000)]
Bump @types/node from 14.14.27 to 14.14.28
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.27 to 14.14.28.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Shinigami [Sun, 14 Feb 2021 19:02:52 +0000 (20:02 +0100)]
Improve chooseWorker function in dynamic pools (#152)
Shinigami [Sun, 14 Feb 2021 17:18:34 +0000 (18:18 +0100)]
De-duplicate code for workers (#154)
Jérôme Benoit [Sun, 14 Feb 2021 13:12:15 +0000 (14:12 +0100)]
Benchmark: Ensure choice algos does not init with off-by-one (#151)
Co-authored-by: Shinigami92 <chrissi92@hotmail.de>
Jérôme Benoit [Sun, 14 Feb 2021 08:14:24 +0000 (09:14 +0100)]
Build system: add bundling analysis to dev build (#150)
Shinigami [Sun, 14 Feb 2021 07:12:25 +0000 (08:12 +0100)]
Revert choose worker implementation (#148)
Shinigami [Sat, 13 Feb 2021 23:05:23 +0000 (00:05 +0100)]
Clean worker from pool after it was destroyed (#146)
Co-authored-by: Jérôme Benoit <jerome.benoit@sap.com>
Shinigami [Sat, 13 Feb 2021 18:28:44 +0000 (19:28 +0100)]
Improve property namings (#145)
Shinigami [Sat, 13 Feb 2021 15:49:49 +0000 (16:49 +0100)]
Add eslint-plugin-spellcheck (#139)
Jérôme Benoit [Sat, 13 Feb 2021 15:31:01 +0000 (16:31 +0100)]
Cleanups (#144)
+ Run lint first at npm publication CI
+ Import from cluster the minimum in test
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Alessandro Pio Ardizio [Sat, 13 Feb 2021 14:58:16 +0000 (15:58 +0100)]
Coverage ci (#132)
Co-authored-by: Shinigami92 <chrissi92@hotmail.de>
Jérôme Benoit [Sat, 13 Feb 2021 13:16:47 +0000 (14:16 +0100)]
Use rollup-plugin-typescript2 for TS transpilation (#143)
Shinigami [Sat, 13 Feb 2021 13:06:26 +0000 (14:06 +0100)]
Add eslint-plugin-jsdoc (#142)
Shinigami [Sat, 13 Feb 2021 10:42:48 +0000 (11:42 +0100)]
Improve JSDoc comments (#130)
Co-authored-by: ST-DDT <ST-DDT@gmx.de>
Jérôme Benoit [Sat, 13 Feb 2021 10:40:47 +0000 (11:40 +0100)]
Simplify worker choosing (#138)
Jérôme Benoit [Sat, 13 Feb 2021 10:15:30 +0000 (11:15 +0100)]
Benchmark: remove unneeded then at promise handling (#136)
Jérôme Benoit [Sat, 13 Feb 2021 08:31:44 +0000 (09:31 +0100)]
Update eslint to 7.20.0 (#137)
Jérôme Benoit [Sat, 13 Feb 2021 06:56:00 +0000 (07:56 +0100)]
package.json: Sync version with package-lock.json (#135)
Jérôme Benoit [Fri, 12 Feb 2021 20:45:45 +0000 (21:45 +0100)]
Add protected removeWorker member function (#124)
Shinigami [Fri, 12 Feb 2021 20:35:08 +0000 (21:35 +0100)]
Only allow primitive JSON for transfer between worker and main worker (#128)
Shinigami [Fri, 12 Feb 2021 15:21:43 +0000 (16:21 +0100)]
Fix some format issues in MD files (#131)
Alessandro Pio Ardizio [Fri, 12 Feb 2021 13:44:18 +0000 (14:44 +0100)]
Update CONTRIBUTING.md
Alessandro Pio Ardizio [Fri, 12 Feb 2021 13:36:36 +0000 (14:36 +0100)]
Update PULL_REQUEST_TEMPLATE.md
Alessandro Pio Ardizio [Fri, 12 Feb 2021 13:33:37 +0000 (14:33 +0100)]
Update PULL_REQUEST_TEMPLATE.md
Update PR template
Alessandro Pio Ardizio [Fri, 12 Feb 2021 08:20:53 +0000 (09:20 +0100)]
Merge pull request #125 from pioardi/vscode-debug
vscode: Make the build:dev script a npm task.
Alessandro Pio Ardizio [Fri, 12 Feb 2021 08:07:11 +0000 (09:07 +0100)]
Merge branch 'master' into vscode-debug
Alessandro Pio Ardizio [Fri, 12 Feb 2021 07:52:25 +0000 (08:52 +0100)]
Merge pull request #126 from pioardi/dependabot/npm_and_yarn/types/node-14.14.26
Bump @types/node from 14.14.25 to 14.14.26
Alessandro Pio Ardizio [Fri, 12 Feb 2021 07:51:58 +0000 (08:51 +0100)]
Merge pull request #127 from pioardi/dependabot/npm_and_yarn/mocha-8.3.0
Bump mocha from 8.2.1 to 8.3.0
dependabot-preview[bot] [Fri, 12 Feb 2021 07:19:36 +0000 (07:19 +0000)]
Bump mocha from 8.2.1 to 8.3.0
Bumps [mocha](https://github.com/mochajs/mocha) from 8.2.1 to 8.3.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v8.2.1...v8.3.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Fri, 12 Feb 2021 07:19:34 +0000 (07:19 +0000)]
Bump @types/node from 14.14.25 to 14.14.26
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.25 to 14.14.26.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Shinigami [Fri, 12 Feb 2021 07:17:48 +0000 (08:17 +0100)]
Encapsulate logic of cluster and thread worker/pool (#116)
Co-authored-by: aardizio <alessandroardizio94@gmail.com>
Co-authored-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 11 Feb 2021 23:04:27 +0000 (00:04 +0100)]
vscode: Make the build:dev script a npm task.
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 11 Feb 2021 14:45:58 +0000 (15:45 +0100)]
Integrate rollup bundler (#120)
Shinigami [Thu, 11 Feb 2021 13:57:37 +0000 (14:57 +0100)]
Provide a cluster worker pool (#92)
Co-authored-by: aardizio <alessandroardizio94@gmail.com>
Co-authored-by: Jérôme Benoit <jerome.benoit@sap.com>
Alessandro Pio Ardizio [Thu, 11 Feb 2021 07:56:36 +0000 (08:56 +0100)]
Merge pull request #118 from pioardi/dependabot/npm_and_yarn/eslint-plugin-promise-4.3.1
Bump eslint-plugin-promise from 4.2.1 to 4.3.1
Alessandro Pio Ardizio [Thu, 11 Feb 2021 07:55:37 +0000 (08:55 +0100)]
Merge pull request #117 from pioardi/dependabot/npm_and_yarn/typescript-4.1.5
Bump typescript from 4.1.4 to 4.1.5
dependabot-preview[bot] [Thu, 11 Feb 2021 06:45:37 +0000 (06:45 +0000)]
Bump eslint-plugin-promise from 4.2.1 to 4.3.1
Bumps [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise) from 4.2.1 to 4.3.1.
- [Release notes](https://github.com/xjamundx/eslint-plugin-promise/releases)
- [Changelog](https://github.com/xjamundx/eslint-plugin-promise/blob/development/CHANGELOG.md)
- [Commits](https://github.com/xjamundx/eslint-plugin-promise/compare/v4.2.1...v4.3.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Thu, 11 Feb 2021 06:45:11 +0000 (06:45 +0000)]
Bump typescript from 4.1.4 to 4.1.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.4...v4.1.5)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Shinigami [Wed, 10 Feb 2021 17:50:56 +0000 (18:50 +0100)]
Clean up project (no. 2) (#115)
Shinigami [Wed, 10 Feb 2021 17:49:00 +0000 (18:49 +0100)]
Only package necessary files (#113)
Shinigami [Wed, 10 Feb 2021 16:56:09 +0000 (17:56 +0100)]
Provide manual benchmark workflow (#112)
Alessandro Pio Ardizio [Wed, 10 Feb 2021 16:53:09 +0000 (17:53 +0100)]
Create PULL_REQUEST_TEMPLATE.md (#114)
Alessandro Pio Ardizio [Wed, 10 Feb 2021 16:21:06 +0000 (17:21 +0100)]
Merge pull request #110 from pioardi/add-code-of-conduct-1
Create CODE_OF_CONDUCT.md
Alessandro Pio Ardizio [Wed, 10 Feb 2021 16:13:56 +0000 (17:13 +0100)]
Merge branch 'master' into add-code-of-conduct-1
Alessandro Pio Ardizio [Wed, 10 Feb 2021 13:39:49 +0000 (14:39 +0100)]
Update issue templates
Alessandro Pio Ardizio [Wed, 10 Feb 2021 13:35:13 +0000 (14:35 +0100)]
Create CODE_OF_CONDUCT.md
Jérôme Benoit [Wed, 10 Feb 2021 11:43:21 +0000 (12:43 +0100)]
Add benchmark script (#104)
Also improve benchmarking
dependabot-preview[bot] [Wed, 10 Feb 2021 07:22:10 +0000 (08:22 +0100)]
Bump typescript from 4.1.3 to 4.1.4 (#103)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.3...v4.1.4)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Jérôme Benoit [Tue, 9 Feb 2021 18:51:56 +0000 (19:51 +0100)]
Add node TS type definition (#101)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Shinigami [Tue, 9 Feb 2021 17:34:14 +0000 (18:34 +0100)]
Clean up project (#91)
Jérôme Benoit [Tue, 9 Feb 2021 17:30:12 +0000 (18:30 +0100)]
Add repo vscode extensions recommendation (#99)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 9 Feb 2021 16:43:36 +0000 (17:43 +0100)]
Eslint configuration refinement (#97)
Jérôme Benoit [Tue, 9 Feb 2021 12:10:16 +0000 (13:10 +0100)]
Override specific lint rule for JS (#95)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Shinigami [Tue, 9 Feb 2021 11:54:23 +0000 (12:54 +0100)]
Use prettierx and eslint native (#85)
Co-authored-by: Jérôme Benoit <jerome.benoit@sap.com>
Co-authored-by: Alessandro Pio Ardizio <alessandroardizio94@gmail.com>