public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Performance question
@ 2000-07-12  3:32 Paul_Heijman
  2000-07-12  6:00 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Paul_Heijman @ 2000-07-12  3:32 UTC (permalink / raw)
  To: insight

hi there,

when I'm debugging with Insight and if I want to look at a certain structure or
array, it seems like if GDB (or Insight) retrieves each array element from the
target SEPERATELY. It looks like GDB (or Insight) inserts a delay of approx. 3/4
second between each element it receives. This makes watching these kinds of
structs very slow. For instance, an array of 10 integers takes GDB almost 8
seconds.

Can someone confirm GDB puts in a explicit delay? And, if so, is there a way to
shorten this?

Thanx in advance,
Paul.

-


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Performance question
  2000-07-12  3:32 Performance question Paul_Heijman
@ 2000-07-12  6:00 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2000-07-12  6:00 UTC (permalink / raw)
  To: Paul_Heijman; +Cc: insight

Paul_Heijman@eu.omron.com wrote:
> 
> hi there,
> 
> when I'm debugging with Insight and if I want to look at a certain structure or
> array, it seems like if GDB (or Insight) retrieves each array element from the
> target SEPERATELY. It looks like GDB (or Insight) inserts a delay of approx. 3/4
> second between each element it receives. This makes watching these kinds of
> structs very slow. For instance, an array of 10 integers takes GDB almost 8
> seconds.
> 
> Can someone confirm GDB puts in a explicit delay? And, if so, is there a way to
> shorten this?

I've never noticed such a thing. You might try turning on a remote log
file and seeing what is happening (turn it on before "opening" the array
but AFTER you're attached and running). See "help set remotelogfile". If
you keep the console window open, are there any messages attached?

I cannot imagine that this has anything to do with Insight proper, since
one of the testcases I used included linked lists with >512 element
arrays, and I could still step through these on a native machine without
any noticeable degradation of speed. But, GUIs are very complex, and
anything is possible. :-O

(Can you remind me, what does "gdb -v" or "show version" show again?)
Keith

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-07-12  6:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-12  3:32 Performance question Paul_Heijman
2000-07-12  6:00 ` Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).