From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#10580: 24.0.92; gdb initialization takes more than one minute at 100% CPU Date: Fri, 11 May 2012 12:47:53 +0300 Message-ID: <83vck3xd4m.fsf@gnu.org> References: <874nrsem67.fsf@gnu.org> <874nrswme9.fsf@gnu.org> <87zk9kv75l.fsf@gnu.org> <87mx5j6pqs.fsf@gnu.org> <877gwm3ajn.fsf@gnu.org> <83txzq1s4y.fsf@gnu.org> <837gwl1ckx.fsf@gnu.org> <87pqacrunj.fsf@gnu.org> <8762c3z0of.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1336729878 30135 80.91.229.3 (11 May 2012 09:51:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 May 2012 09:51:18 +0000 (UTC) Cc: cyd@gnu.org, schwab@linux-m68k.org, 10580@debbugs.gnu.org To: Dov Grobgeld Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 11 11:51:16 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SSmVH-0005ll-Go for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 May 2012 11:51:15 +0200 Original-Received: from localhost ([::1]:60436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSmVD-0000u6-Vc for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 May 2012 05:51:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSmV6-0000ti-No for bug-gnu-emacs@gnu.org; Fri, 11 May 2012 05:51:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSmV0-0007HC-GN for bug-gnu-emacs@gnu.org; Fri, 11 May 2012 05:51:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54127) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSmV0-0007H0-Dj for bug-gnu-emacs@gnu.org; Fri, 11 May 2012 05:50:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SSmV3-00015n-Qp for bug-gnu-emacs@gnu.org; Fri, 11 May 2012 05:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 May 2012 09:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10580 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10580-submit@debbugs.gnu.org id=B10580.13367298044133 (code B ref 10580); Fri, 11 May 2012 09:51:01 +0000 Original-Received: (at 10580) by debbugs.gnu.org; 11 May 2012 09:50:04 +0000 Original-Received: from localhost ([127.0.0.1]:48198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SSmU7-00014b-Mm for submit@debbugs.gnu.org; Fri, 11 May 2012 05:50:03 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:34123) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SSmU4-000142-B1 for 10580@debbugs.gnu.org; Fri, 11 May 2012 05:50:01 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M3U00F00R4LQL00@a-mtaout22.012.net.il> for 10580@debbugs.gnu.org; Fri, 11 May 2012 12:49:39 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M3U00ELXRAQNRJ0@a-mtaout22.012.net.il>; Fri, 11 May 2012 12:49:39 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59933 Archived-At: > Date: Fri, 11 May 2012 11:29:57 +0300 > From: Dov Grobgeld > Cc: Eli Zaretskii , schwab@linux-m68k.org, 10580@debbugs.gnu.org > > With patch1: ~155s > With patch2: ~112s > > On the other hand, I have patched gdb, seehttp:// > sourceware.org/bugzilla/show_bug.cgi?id=14081, to do uniq internally in > gdb, and then it takes only about 10s. Which is much faster, but still way too slow. I think it's quite clear at this point that what takes time is reading the stuff from GDB, not parsing it. Chong, am I right?