This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GIT and CVS


> Date: Fri, 14 Oct 2011 00:24:41 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: ams@gnu.org, pmuldoon@redhat.com, joseph@codesourcery.com,
>         gdb@sourceware.org
> 
> On Fri, 14 Oct 2011 00:08:35 +0200, Eli Zaretskii wrote:
> > ??? When did you last use "git annotate"? and on what project?
> 
> Depending on what I do sometimes ~10x a day during complicated GDB backports.
> 
> 
> > That command is notoriously slow in git.  E.g., it takes a whopping 4.5
> > minutes to run on a particularly large and history-rich file in the Emacs
> > repository.
> 
> The most expensive source file in GDB looks to be dwarf2read.c: 0m8.930s

On fencepost.gnu.org, I get 18 to 20 seconds on that file.

I guess this also depends on the number of revision that the project
has.  GDB has 36544 (if my git command was correct ;-); Emacs has
106K.  And the file I was talking about, xdisp.c, has 1592 revisions
in its history, not 573 as dwarf2read.c.

So this problem is probably still in GDB's future.  But it is real
nonetheless.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]