feat(scheduler): Improve OrderedNodesByTask parallelization#1548
feat(scheduler): Improve OrderedNodesByTask parallelization#1548davidLif wants to merge 4 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
📊 Performance Benchmark ResultsComparing PR (
|
Merging this branch will decrease overall coverage
Coverage by fileChanged files (no unit tests)
Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code. |
… go routine for each node. Rather, have a pool of workers split the work between them Signed-off-by: davidLif <[email protected]>
…ad of each time creating a new pool of goroutines Signed-off-by: davidLif <[email protected]>
f29ed9d to
99c6919
Compare
Signed-off-by: davidLif <[email protected]>
Signed-off-by: davidLif <[email protected]>
Merging this branch will decrease overall coverage
Coverage by fileChanged files (no unit tests)
Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code. |
Description
Improve OrderedNodesByTask parallelization - do not create a separate go routine for each node. Rather, have a pool of workers (based on the https://github.com/panjf2000/ants library) split the work between them
Related Issues
Fixes #
Checklist
Breaking Changes
Additional Notes