Re: Fast enumeration of objects

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

 



Jeff King <peff@xxxxxxxx> writes:

> ...
> So my conclusions are:
>
>   1. Yes, the pipe/parsing overhead of a separate processor really is
>      measurable. That's hidden in the wall-clock time if you have
>      multiple cores, but you may care more about CPU time. I still think
>      the flexibility is worth it.
>
>   2. Cutting out the pipe to cat-file is worth doing, as it saves a few
>      seconds. Cutting out "%(objecttype)" saves a lot, too, and is worth
>      doing. We should teach "list-all-objects -v" to use cat-file's
>      custom formatters (alternatively, we could just teach cat-file a
>      "--batch-all-objects" option rather than add a new command).
>
>   3. We should teach cat-file a "--buffer" option to use fwrite. Even if
>      we end up with "list-all-objects --format='%(objectsize)'" for this
>      task, it would help all the other uses of cat-file.

All sounds very sensible.
--
To unsubscribe from this list: send the line "unsubscribe git" in



[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]