<div dir="ltr">&gt; Sounds fantastic<br><br>I&#39;m using &#39;prof2dot&#39; on a ~3000 LOC project and it&#39;s working well.&nbsp; Visual quality metrics like this and Haskell Program Coverage makes using Haskell in the corporate world a little easier to pull off.&nbsp; Zero crash reports helps too.&nbsp; ;-)<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">&lt;<a href="mailto:ndmitchell@gmail.com">ndmitchell@gmail.com</a>&gt;</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&#39;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 &lt;<a href="mailto:gwright@comcast.net">gwright@comcast.net</a>&gt; wrote:<br>
&gt;<br>
&gt; I am pleased to announce the release of prof2dot version 0.4.1,<br>
&gt; a graphical profiling tool for use with GHC.<br>
&gt;<br>
&gt; The program is a filter that takes the profiling output generated by running<br>
&gt; a GHC-compiled program with the &quot;+RTS -px -RTS&quot; option and turns it into<br>
&gt; a dot file. &nbsp;(The &quot;dot&quot; format is a textual representation of a directed or<br>
&gt; undirected graph.)<br>
&gt; The dot file can rendered in any format supported by Graphviz&#39;s<br>
&gt; dot program, and the file itself can be post-processed or edited to adjust<br>
&gt; the<br>
&gt; layout.<br>
&gt;<br>
&gt; The new release fixes a number of bugs and has some significant<br>
&gt; improvements in its internal organization over the previous 0.3.1<br>
&gt; (&quot;Premature Optimizations &#39;r&#39; Us&quot;) release.<br>
&gt;<br>
&gt; Version 0.4.1 (&quot;Triumph of Hope Over Experience&quot;) defaults to generating<br>
&gt; a call graph colored by number of entries into each call center. &nbsp;There<br>
&gt; is now an option to annotate the graph edges with the triple of<br>
&gt; (cost center entries, ticks, allocations). &nbsp;Module names are also given<br>
&gt; in each cost center.<br>
&gt;<br>
&gt; The latest version has been tested on the profiling output of some<br>
&gt; moderately<br>
&gt; large programs, e.g., the profile produced by a &quot;darcs get&quot; of the entire<br>
&gt; ghc repository:<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;$ darcs get <a href="http://darcs.haskell.org/ghc" target="_blank">http://darcs.haskell.org/ghc</a> +RTS -px -RTS<br>
&gt;<br>
&gt; There is also better error reporting of parser errors and consistency<br>
&gt; checking<br>
&gt; of the internal graph data structure. &nbsp;If anyone comes across a parse<br>
&gt; failure<br>
&gt; or an assertion failure, please report it to the author.<br>
&gt;<br>
&gt; The &quot;dot&quot; program from the graphviz tools is required to render the output<br>
&gt; of prof2dot.<br>
&gt; Very large graphs, or graphs with extensive annotations, can exceed the<br>
&gt; capabilities of dot.<br>
&gt;<br>
&gt; Prof2dot is available from Hackage in the &quot;development&quot; category.<br>
&gt;<br>
&gt; -Greg<br>
&gt; _______________________________________________<br>
&gt; Glasgow-haskell-users mailing list<br>
&gt; <a href="mailto:Glasgow-haskell-users@haskell.org">Glasgow-haskell-users@haskell.org</a><br>
&gt; <a href="http://www.haskell.org/mailman/listinfo/glasgow-haskell-users" target="_blank">http://www.haskell.org/mailman/listinfo/glasgow-haskell-users</a><br>
&gt;<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>