[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACVxJT9NKrA3gMoRQz2FOFgQdGf6=SptRzjPoeLNesUpN6X7Aw@mail.gmail.com>
Date: Wed, 15 Apr 2015 12:51:06 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: Michal Marek <mmarek@...e.cz>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] tags: much faster, parallel "make tags"
On Wed, Apr 15, 2015 at 12:38 PM, Michal Marek <mmarek@...e.cz> wrote:
> On 2015-04-14 19:20, Alexey Dobriyan wrote:
>> ctags is single-threaded program. Split list of files to be tagged into
>> equal parts, 1 part for each CPU and then merge the results.
>>
>> Speedup on one 2-way box I have is ~143 s => ~99 s (-31%).
>> On another 4-way box: ~120 s => ~65 s (-46%!).
>
> I want this! :-)
>
>
>> + # seems like Useless Use of cat(1) but not really
>> + NR_LINES=$(cat .make-tags.src | wc -l)
>
> wc -l <.make-tags.src
Indeed.
I'll change script to use getconf, since it appears to be standardized.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists