Thread (70 messages) flat view 70 messages, 15 authors, 2016-06-15

Re: Git is not scalable with too many refs/*

From: Julian Phillips <hidden>
Date: 2016-06-15 22:52:07

Possibly related (same subject, not in this thread)

On Tue, 27 Sep 2011 10:20:29 +0200, Sverre Rabbelier wrote:
Heya,

On Tue, Sep 27, 2011 at 01:26, Julian Phillips
[off-list ref] wrote:
quoted
Back when I made that change, I failed to notice that get_ref_dir 
was
recursive for subdirectories ... sorry ...

Hopefully this should speed things up.  My test repo went from ~17m 
user
time, to ~2.5s.
Packing still make things much faster of course.
Can we perhaps also have some tests to prevent this from happening 
again?
Um ... any suggestion what to test?

It has to be hot-cache, otherwise time taken to read the refs from disk 
will mean that it is always slow.  On my Mac it seems to _always_ be 
slow reading the refs from disk, so even the "fast" case still takes 
~17m.

Also, what counts as ok, and what as broken?

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