Thread (65 messages) 65 messages, 7 authors, 2018-10-16

Re: [PATCH 2/4] commit-graph: write a Bloom filter containing changed paths for each commit

From: Jeff King <hidden>
Date: 2018-10-09 21:06:24

On Tue, Oct 09, 2018 at 09:34:43PM +0200, SZEDER Gábor wrote:
Creating the Bloom filter is sloooow.  Running it on git.git takes
about 23s on my hardware, while

  git log --format='%H%n%P' --name-only --all >/dev/null

gathers all the information necessary for that in about 5.3s.
That command won't open the trees for merges at all. But your
implementation here looks like it does a diff against each parent of a
merge. Adding "-m" would be a more accurate comparison, I think.

Though I find that puzzling, because "-m --name-only" seems to take
about 20x longer, not 3x. So perhaps I'm missing something.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help