GNU bug report logs - #10580
24.0.92; gdb initialization takes more than one minute at 100% CPU

Previous Next

Package: emacs;

Reported by: Dov Grobgeld <dov.grobgeld <at> gmail.com>

Date: Sun, 22 Jan 2012 17:55:03 UTC

Severity: important

Tags: patch

Found in version 24.0.92

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dov Grobgeld <dov.grobgeld <at> gmail.com>
Cc: cyd <at> gnu.org, schwab <at> linux-m68k.org, 10580 <at> debbugs.gnu.org
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
> Date: Fri, 11 May 2012 11:29:57 +0300
> From: Dov Grobgeld <dov.grobgeld <at> gmail.com>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, schwab <at> linux-m68k.org, 10580 <at> 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?




This bug report was last modified 12 years and 74 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.