Skip to content
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 --processes parameter to automatically fork worker processes #2472

Conversation

cyberw
Copy link
Collaborator

@cyberw cyberw commented Nov 18, 2023

Use it to set the number of times to fork the locust process, to enable using multiple CPU cores. Use -1 to launch one process per CPU core in your system. Combine with --worker flag or let it automatically set --worker and --master flags for an all-in-one-solution.

Consider it experimental for now, but it looks promising.

…, to enable using multiple CPU cores. Use -1 to launch one process per CPU core in your system. Combine with --worker flag or let it automatically set --worker and --master flags for an all-in-one-solution.
@cyberw cyberw merged commit 340c9cb into master Nov 19, 2023
28 of 29 checks passed
@cyberw cyberw changed the title Add --processes parameter to automatically fork subprocesses Add --processes parameter to automatically fork worker processes Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant