Thread (1 message) 1 message, 1 author, 2016-06-15

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:50:41

Jeff King [off-list ref] writes:
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).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help