Re: [PATCH v4 03/16] index-helper: new daemon for caching index and related stuff

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 15, 2016 at 12:02 AM, David Turner <dturner@xxxxxxxxxxxxxxxx> wrote:
>> > On webkit.git with index format v2, duplicating 8 times to 1.4m
>> > entries and 200MB in size:
>> >
>> > (vanilla)      0.986986364 s: read_index_from .git/index
>> > (index-helper) 0.267850279 s: read_index_from .git/index
>> >
>> > Interestingly with index v4, we get less out of index-helper. It
>> > makes
>> > sense as v4 requires more processing after loading the index:
>> >
>> > (vanilla)      0.722496666 s: read_index_from .git/index
>> > (index-helper) 0.302741500 s: read_index_from .git/index
>> >
>> > (these benchmarks are from an earlier version of this patch, but
>> > should
>> > still be valid).
>>
>> Just something to keep in mind; we'd need to see updated numbers
>> when the series matures.
>
> I don't actually know how Duy did the index duplication for this
> benchmark.  Duy?

Start with webkit.git (which was one of the biggest worktree i found),
then put the entire directory structure in a subdirectory e.g.

git ls-files --stage | sed 's/\t/\tsubdir1\//' | git update-index
--add --index-info --stdin

repeat until you get to a reasonable size.
-- 
Duy
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]