> From: Vladimir Prus <ghost cs.msu.su>
> Date: Tue, 18 Apr 2006 20:10:34 +0400
>
> I've run into a performance problem with
"-stack-list-arguments 1" command.
> I issue the command in order to obtain stack arguments
for all frames, and
> I've 129 frames. Each frame has just a couple of
arguments. However, the
> command execution takes 608 ms.
That's an awful lot, I think. When I debug Emacs, there
are sometimes
many _thousands_ of frames on the call stack (during GC, for
example).
> If this command is issued repeatedly, the time is
roughly the same.
>
> 1. Any ideas why the command takes so long?
GDB has a facility to profile itself (see "maint set
profile").
Perhaps you could use that to find out where is the time
sink.
|