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


Message #110 received at 10580 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Dov Grobgeld <dov.grobgeld <at> gmail.com>
Cc: tomo <at> cx4a.org, Chong Yidong <cyd <at> gnu.org>, schwab <at> linux-m68k.org,
	10580 <at> debbugs.gnu.org
Subject: Re: bug#10580: 24.0.92;
	gdb initialization takes more than one minute at 100% CPU
Date: Thu, 10 May 2012 16:25:59 -0400
> Here are the tests when using the the latest cvs gdb that yields a gdb
> output file of about 800k.

> Without gdb-get-source-file-list override: ~139s
> With gdb-get-source-file-list override: ~125s

> Thus it is clear that most of the time is taken just reading the string
> into emacs. But doing find-file on the same file is almost instantaneous.

Sounds like a perfect test case for the native elisp profiler (a
prototype of which is at
http://cx4a.org/hack/emacs-native-profiler.html, and hopefully it will
mature over the summer since it's funded as a GSoC).


        Stefan




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.