ANN: prof2dot, version 0.4.1

Gregory Wright gwright at comcast.net
Tue Aug 5 16:27:41 EDT 2008


Hi Neil,

Here's the (compressed) dot file from using darcs to get the whole
ghc repo.  It was generated by

	# prof2dot darcs.prof > darcs.dot

-------------- next part --------------
A non-text attachment was scrubbed...
Name: darcs.dot.bz2
Type: application/bzip2
Size: 12205 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20080805/5a523370/darcs.dot-0001.bin
-------------- next part --------------



The structure of the file is lines defining the edges followed by lines
defining the nodes, optionally followed by subgraph definitions that  
group the
nodes into modules.  If there is a format that would make post- 
processing
easier, I can change it.

-Greg


On Aug 5, 2008, at 4:02 PM, Neil Mitchell wrote:

> Hi Gregory,
>
> Sounds fantastic. I'd love to see a single example of the resultant
> .dot file, so I can figure out just how useful this might be to me.
>
> Thanks
>
> Neil
>
> On Tue, Aug 5, 2008 at 8:50 PM, Gregory Wright <gwright at comcast.net>  
> wrote:
>>
>> I am pleased to announce the release of prof2dot version 0.4.1,
>> a graphical profiling tool for use with GHC.
>>
>> The program is a filter that takes the profiling output generated  
>> by running
>> a GHC-compiled program with the "+RTS -px -RTS" option and turns it  
>> into
>> a dot file.  (The "dot" format is a textual representation of a  
>> directed or
>> undirected graph.)
>> The dot file can rendered in any format supported by Graphviz's
>> dot program, and the file itself can be post-processed or edited to  
>> adjust
>> the
>> layout.
>>
<snip>

>> Prof2dot is available from Hackage in the "development" category.
>>
>> -Greg
>> _______________________________________________
>>


More information about the Glasgow-haskell-users mailing list