public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* feedback on gprofng
@ 2023-03-27 14:38 mikedunlavey44
  2023-03-27 19:04 ` Ruud van der Pas
  0 siblings, 1 reply; 4+ messages in thread
From: mikedunlavey44 @ 2023-03-27 14:38 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 971 bytes --]

I suggest you have another output from gprofng:

 

(I assume the sampling is on wall-clock time, so it has visibility into
I/O.)

 

Let the user choose a small number N, like 10 or 20, and then select N
stacks at random (with source code line info) and display them, in a tree or
in raw form. The point is - any performance problem consists of activity
that isn't necessary, and if it accounts for fraction F of time, then it
will show up on NF samples. High precision of measurement is not necessary,
but precision of insight is. 

 

If there are multiple threads, let each sample be from all running threads
at the same time, so the user can see which threads are waiting for which
other threads at the point in time.

 

Let me know if this makes sense, or maybe you've already done it.

 

Thanks,

Mike Dunlavey

 

P.S. I've been advocating this for years on StackOverflow. People who've
tried it agree that it works. I've also got a YouTube video about it.

 


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

end of thread, other threads:[~2023-03-30 18:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-27 14:38 feedback on gprofng mikedunlavey44
2023-03-27 19:04 ` Ruud van der Pas
2023-03-30 12:23   ` mikedunlavey44
     [not found]     ` <05CC91CC-6095-4DD9-83E3-0A1DC2A5E4D9@oracle.com>
     [not found]       ` <004b01d9631b$4e9a4460$ebcecd20$@gmail.com>
2023-03-30 18:05         ` Ruud van der Pas

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).