<div dir="ltr">> Sounds fantastic<br><br>I'm using 'prof2dot' on a ~3000 LOC project and it's working well. Visual quality metrics like this and Haskell Program Coverage makes using Haskell in the corporate world a little easier to pull off. Zero crash reports helps too. ;-)<br>
<br>-Greg F<br><br><br><br><div class="gmail_quote">On Tue, Aug 5, 2008 at 1:02 PM, Neil Mitchell <span dir="ltr"><<a href="mailto:ndmitchell@gmail.com">ndmitchell@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Gregory,<br>
<br>
Sounds fantastic. I'd love to see a single example of the resultant<br>
.dot file, so I can figure out just how useful this might be to me.<br>
<br>
Thanks<br>
<font color="#888888"><br>
Neil<br>
</font><div><div></div><div class="Wj3C7c"><br>
On Tue, Aug 5, 2008 at 8:50 PM, Gregory Wright <<a href="mailto:gwright@comcast.net">gwright@comcast.net</a>> wrote:<br>
><br>
> I am pleased to announce the release of prof2dot version 0.4.1,<br>
> a graphical profiling tool for use with GHC.<br>
><br>
> The program is a filter that takes the profiling output generated by running<br>
> a GHC-compiled program with the "+RTS -px -RTS" option and turns it into<br>
> a dot file. (The "dot" format is a textual representation of a directed or<br>
> undirected graph.)<br>
> The dot file can rendered in any format supported by Graphviz's<br>
> dot program, and the file itself can be post-processed or edited to adjust<br>
> the<br>
> layout.<br>
><br>
> The new release fixes a number of bugs and has some significant<br>
> improvements in its internal organization over the previous 0.3.1<br>
> ("Premature Optimizations 'r' Us") release.<br>
><br>
> Version 0.4.1 ("Triumph of Hope Over Experience") defaults to generating<br>
> a call graph colored by number of entries into each call center. There<br>
> is now an option to annotate the graph edges with the triple of<br>
> (cost center entries, ticks, allocations). Module names are also given<br>
> in each cost center.<br>
><br>
> The latest version has been tested on the profiling output of some<br>
> moderately<br>
> large programs, e.g., the profile produced by a "darcs get" of the entire<br>
> ghc repository:<br>
><br>
> $ darcs get <a href="http://darcs.haskell.org/ghc" target="_blank">http://darcs.haskell.org/ghc</a> +RTS -px -RTS<br>
><br>
> There is also better error reporting of parser errors and consistency<br>
> checking<br>
> of the internal graph data structure. If anyone comes across a parse<br>
> failure<br>
> or an assertion failure, please report it to the author.<br>
><br>
> The "dot" program from the graphviz tools is required to render the output<br>
> of prof2dot.<br>
> Very large graphs, or graphs with extensive annotations, can exceed the<br>
> capabilities of dot.<br>
><br>
> Prof2dot is available from Hackage in the "development" category.<br>
><br>
> -Greg<br>
> _______________________________________________<br>
> Glasgow-haskell-users mailing list<br>
> <a href="mailto:Glasgow-haskell-users@haskell.org">Glasgow-haskell-users@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/glasgow-haskell-users" target="_blank">http://www.haskell.org/mailman/listinfo/glasgow-haskell-users</a><br>
><br>
_______________________________________________<br>
Glasgow-haskell-users mailing list<br>
<a href="mailto:Glasgow-haskell-users@haskell.org">Glasgow-haskell-users@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/glasgow-haskell-users" target="_blank">http://www.haskell.org/mailman/listinfo/glasgow-haskell-users</a><br>
</div></div></blockquote></div><br></div>