Re: [PATCH v2 3/3] grep: disable threading in all but worktree case
Am 07.12.2011 09:11, schrieb Thomas Rast:
Show 18 quoted lines
> René Scharfe wrote:
>> Am 02.12.2011 17:15, schrieb René Scharfe:
>>> How about adding a parameter to control the number of threads
>>> (--threads?) instead that defaults to eight (or five) for the worktree
>>> and one for the rest? That would also make benchmarking easier.
>>
>> Like this:
>>
>> -- >8 --
>> Subject: grep: add parameter --threads
>>
>> Allow the number of threads to be specified by the user. This makes
>> benchmarking the performance impact of different numbers of threads
>> much easier.
>
> Sounds good, though in the end we would also want to have a config
> variable for the poor OS X users who have to tune their threads
> *down*... :-)
We could set different defaults for different platforms..
René