Comment 9 for bug 512216

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 512216] Re: bzr-search slows down "bzr up"

On Mon, Aug 15, 2011 at 7:46 AM, Eli Zaretskii <email address hidden> wrote:
> Yes, I did try with 2.1 (and all versions after that, up to 2.3.3 that
> I'm currently using).  The "index" command got quite a lot faster, but
> it is still too slow to have it part of each "update".  I run a job once
> a week to update the index, and it takes anywhere between 2.5 min and 5
> min, depending on how much activity went on in Emacs development during
> the previous week.
>
> To be acceptable for running as part of "update", the indexing should
> take a few seconds at most.

Hmm, it should be that fast :) - so, if it runs once a week, it has to
index all the weeks worth of changes.

Do you know how many revisions its updating when it takes 5 minutes?
Thats 300 seconds, so if we said '3 seconds' as a limit, 100 revisions
would be at that scale if you were pulling all the time, 50 revisions
would say we need (at minimum) a 50% reduction in time-to-index and so
forth.