-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add parallelism when performing multiple tasks at the same that can benefit from it #48
Conversation
…nge command steps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few minor questions
Co-authored-by: valefar-on-discord <[email protected]>
There seems to be a lingering issue with this PR and the unit tests in #49 . Let me fix it before finishing the review. |
…tion-mnemonic command
The c35380e commit should fix #49. There seems to be another unit test issue in https://github.com/eth-educators/ethstaker-deposit-cli/actions/runs/9273010996/job/25512131191?pr=48 which need more fixes. |
It seems like all remaining issues are fixed. You can have another look @valefar-on-discord . |
This PR adds parallelism using the ProcessPoolExecutor when and where we can benefit from executing multiple tasks on potentially multiple cores. This speeds up keys generation, keystores generation, voluntary exits generation and a bunch of verification especially when multiples are requested. It will default to using number of processors on the machine for the number of workers.
Fixes #40
Introduces #47