www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - GUI or more human readable -profile data?

reply simendsjo <simendsjo gmail.com> writes:
http://www.digitalmars.com/ctg/trace.html

Has someone made some GUI/pretty printing/dump to database or other tools  
to make the profile data a bit simpler to digest?
Feb 29 2012
parent reply Robert Clipsham <robert octarineparrot.com> writes:
On 29/02/2012 19:41, simendsjo wrote:
 http://www.digitalmars.com/ctg/trace.html

 Has someone made some GUI/pretty printing/dump to database or other
 tools to make the profile data a bit simpler to digest?
If you're on Windows you could try: http://h3.gd/code/xfProf/ Although I don't believe it uses the data from -profile. On linux/OS X you can use valgrind/kcachegrind, though it doesn't have demangling for D symbols (at least, last time I checked). -- Robert http://octarineparrot.com/
Feb 29 2012
parent reply simendsjo <simendsjo gmail.com> writes:
On Wed, 29 Feb 2012 22:28:29 +0100, Robert Clipsham  
<robert octarineparrot.com> wrote:

 On 29/02/2012 19:41, simendsjo wrote:
 http://www.digitalmars.com/ctg/trace.html

 Has someone made some GUI/pretty printing/dump to database or other
 tools to make the profile data a bit simpler to digest?
If you're on Windows you could try: http://h3.gd/code/xfProf/ Although I don't believe it uses the data from -profile. On linux/OS X you can use valgrind/kcachegrind, though it doesn't have demangling for D symbols (at least, last time I checked).
Nope, linux. But I bet the feature is used, so somewhere out there, there's some tools for making it simpler to make sense of :)
Feb 29 2012
next sibling parent Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
Boom: https://bitbucket.org/stqn/profiled

I've never used it though.
Feb 29 2012
prev sibling parent reply Robert Clipsham <robert octarineparrot.com> writes:
On 29/02/2012 21:30, simendsjo wrote:
 On Wed, 29 Feb 2012 22:28:29 +0100, Robert Clipsham
 <robert octarineparrot.com> wrote:

 On 29/02/2012 19:41, simendsjo wrote:
 http://www.digitalmars.com/ctg/trace.html

 Has someone made some GUI/pretty printing/dump to database or other
 tools to make the profile data a bit simpler to digest?
If you're on Windows you could try: http://h3.gd/code/xfProf/ Although I don't believe it uses the data from -profile. On linux/OS X you can use valgrind/kcachegrind, though it doesn't have demangling for D symbols (at least, last time I checked).
Nope, linux. But I bet the feature is used, so somewhere out there, there's some tools for making it simpler to make sense of :)
Just as a side note, -profile doesn't work with multi-threaded applications, so using some other profiler would probably be a better bet anyway. -- Robert http://octarineparrot.com/
Feb 29 2012
parent "Jonathan M Davis" <jmdavisProg gmx.com> writes:
On Thursday, March 01, 2012 00:17:55 Robert Clipsham wrote:
 Just as a side note, -profile doesn't work with multi-threaded
 applications, so using some other profiler would probably be a better
 bet anyway.
It doesn't work with 64-bit programs either. - Jonathan M Davis
Feb 29 2012