Re: git annotate runs out of memory
- From
- Marco Costalba <mcostalba@gmail.com>
- Date
- Dec 11, 2007, 18:32 UTC
- Message-ID
- <e5bfff550712111032p60fedbedu304cab834ce86eb9@mail.gmail.com>
- In-Reply-To
- <4aca3dc20712110933i636342fbifb15171d3e3cafb3@mail.gmail.com>
On Dec 11, 2007 6:33 PM, Daniel Berlin <dberlin@dberlin.org> wrote:
Show 6 quoted lines
> > Annotate is treasured by gcc developers (this was a key sticking point > in svn conversion). > Having an annotate that is 2x slower and takes 15x memory would not > fly (regardless of how good the results are). >
Speed of annotation is mainly due to getting the file history more then calculating the actual annotation.
I don't know *how* file history is stored in the others scm, perhaps is easier to retrieve, i.e. without a full walk across the revisions...
In case you have qgit (especially the 2.0 version that is much faster in this feature) I would be very interested to have annotation times on this file. Indeed annotation times are shown splitted between file history retrieval, based on something along the lines of "git log -p -- <path>", and actual annotation calculation (fully internal at qgit).
I would be interested in cold start and warm cache start (close the annotation tab and start annotation again).
Thanks (a lot) Marco