forked from lotabout/rargs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Default to using one thread per CPU 🚀
To increase performance with the default settings, default to using one thread per CPU. The user must explicitly opt out if they want single-threaded behavior. This indirectly solves a different issue: the only way to automatically peg the number of threads to the number of CPU's was to set `--worker 0 --threads 0` even though the `worker` argument had been deprecated. Fixes lotabout#18
- Loading branch information
Showing
2 changed files
with
11 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters