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

Intelligently default --jobs and --split #13

Open
sorear opened this issue Jun 26, 2016 · 2 comments
Open

Intelligently default --jobs and --split #13

sorear opened this issue Jun 26, 2016 · 2 comments

Comments

@sorear
Copy link
Owner

sorear commented Jun 26, 2016

--jobs should be the logical CPU count unless overridden (hopefully there's a crate for this).

--split should be enabled automatically if --jobs > 1 or --repeat. We may need --no-split --repeat, although that's a pathological case only really useful for profiling.

@digama0
Copy link
Contributor

digama0 commented Jun 27, 2016

There's a crate for this: https://crates.io/crates/num_cpus

@sorear
Copy link
Owner Author

sorear commented Jun 27, 2016

Thought so. Thanks for finding that!

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

No branches or pull requests

2 participants