From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19834 invoked by alias); 14 Oct 2011 10:31:28 -0000 Received: (qmail 19823 invoked by uid 22791); 14 Oct 2011 10:31:27 -0000 X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout23.012.net.il (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 14 Oct 2011 10:31:08 +0000 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LT100J00X25G000@a-mtaout23.012.net.il> for gdb@sourceware.org; Fri, 14 Oct 2011 12:31:07 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.17.178]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LT100J4NX7TAO50@a-mtaout23.012.net.il>; Fri, 14 Oct 2011 12:31:06 +0200 (IST) Date: Fri, 14 Oct 2011 10:31:00 -0000 From: Eli Zaretskii Subject: Re: GIT and CVS In-reply-to: <20111013222440.GA15789@host1.jankratochvil.net> To: Jan Kratochvil Cc: ams@gnu.org, pmuldoon@redhat.com, joseph@codesourcery.com, gdb@sourceware.org Reply-to: Eli Zaretskii Message-id: <83d3dzlv9u.fsf@gnu.org> References: <20111013215020.GA13438@host1.jankratochvil.net> <83obxk1r4s.fsf@gnu.org> <20111013222440.GA15789@host1.jankratochvil.net> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-10/txt/msg00114.txt.bz2 > Date: Fri, 14 Oct 2011 00:24:41 +0200 > From: Jan Kratochvil > 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.