git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 0/5] Using index-pack in place of verify-pack

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 28, 2011, 19:50 UTC
Message-ID
<7v39n8hrbp.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20110228165827.GB24915@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 20 quoted lines
> I'm not at all interested in this topic, but in the time it took the two
> of you to write your emails, I did this:
>
>   $ cd linux-2.6
>
>   $ time git verify-pack \
>       .git/objects/pack/pack-36c50f6082df404c26a699f2702946e0cce6208f.idx
>   real    2m37.338s
>   user    2m35.874s
>   sys     0m1.348s
>
>   $ time git index-pack --verify \
>       .git/objects/pack/pack-36c50f6082df404c26a699f2702946e0cce6208f.pack
>   real    1m37.208s
>   user    1m36.106s
>   sys     0m1.048s
>
>
> OK, with the CPU time it probably took longer than your emails. But I
> ate some ice cream while it computed. :)

I guess my box is showing its age. It is 2m34s vs 3m25s for the kernel repository packed with depth=50 (the default).

A pack created with insanely deep depth of course shows larger difference (2m31s vs 4m38s for the same repository repacked with depth=8192).

Previous: Shawn O. Pearce
Message 15 of 15 in “Using index-pack in place of verify-pack”
  1. 0/5 Using index-pack in place of verify-packJunio C Hamano, Feb 28, 2011
  2. 1/5 index-pack: group the delta-base array entries also by typeJunio C Hamano, Feb 28, 2011
  3. 2/5 write_idx_file: introduce a struct to hold idx customization optionsJunio C Hamano, Feb 28, 2011
  4. 3/5 index-pack: --verifyJunio C Hamano, Feb 28, 2011
  5. Shawn O. PearceFeb 28, 2011
  6. Junio C HamanoFeb 28, 2011
  7. 4/5 write_idx_file: need_large_offset() helper functionJunio C Hamano, Feb 28, 2011
  8. 5/5 index-pack --verify: read anomalous offsets from v2 idx fileJunio C Hamano, Feb 28, 2011
  9. Sverre RabbelierFeb 28, 2011
  10. Junio C HamanoFeb 28, 2011
  11. Sverre RabbelierFeb 28, 2011
  12. Jeff KingFeb 28, 2011
  13. Sverre RabbelierFeb 28, 2011
  14. Shawn O. PearceFeb 28, 2011
  15. Junio C HamanoFeb 28, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.