On Fri, Feb 8, 2013 at 8:31 AM, Nicolas Frisby <span dir="ltr">&lt;<a href="mailto:nicolas.frisby@gmail.com" target="_blank">nicolas.frisby@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div class="im"><div>I figured Johan is doing O2 for libraries and programs. I have done libraries at O2, programs at O1, which likely does explain the difference.</div></div><div class="gmail_extra"><div class="gmail_quote">

<div><div> </div><div>I&#39;m still in a holding pattern in case there&#39;s also some other setting he&#39;s using.</div>

<div><div> </div><div>Then I&#39;ll run both variations on the programs.</div><div> </div><div>Thanks much.</div></div></div></div></div></div></blockquote><div><br></div><div>I use &quot;BuildFlavour = perf&quot; for the compiler and otherwise don&#39;t specify any additional options (including to nofib), which I guess implies that the benchmarks are compiled with -O? Then I do</div>

<br>cd nofib<br>make clean &amp;&amp; make boot &amp;&amp; make -k 2&gt;&amp;1 | tee log1<br>make clean &amp;&amp; make boot <span style="background-color:rgb(247,247,247);font-size:13px">WithNofibHc=ghc-7.6.2 </span>&amp;&amp; make -k <span style="background-color:rgb(247,247,247);font-size:13px">WithNofibHc=ghc-7.6.2</span> 2&gt;&amp;1 | tee log2</div>

<div class="gmail_quote">nofib-analyse/nofib-analyse log1 log2</div><div class="gmail_quote"><br></div><div class="gmail_quote">I followed the instructions at</div><div class="gmail_quote"><br></div><div class="gmail_quote">

<a href="http://hackage.haskell.org/trac/ghc/wiki/Building/RunningNoFib">http://hackage.haskell.org/trac/ghc/wiki/Building/RunningNoFib</a></div><div class="gmail_quote"><br></div><div class="gmail_quote">If the defaults for nofib are wrong (e.g. if we want -O2 by default) we should tweak the settings so people get sensible results by default.</div>

<div class="gmail_quote"><br></div>