On Fri, Feb 8, 2013 at 8:31 AM, Nicolas Frisby <span dir="ltr"><<a href="mailto:nicolas.frisby@gmail.com" target="_blank">nicolas.frisby@gmail.com</a>></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'm still in a holding pattern in case there's also some other setting he's using.</div>
<div><div> </div><div>Then I'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 "BuildFlavour = perf" for the compiler and otherwise don'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 && make boot && make -k 2>&1 | tee log1<br>make clean && make boot <span style="background-color:rgb(247,247,247);font-size:13px">WithNofibHc=ghc-7.6.2 </span>&& make -k <span style="background-color:rgb(247,247,247);font-size:13px">WithNofibHc=ghc-7.6.2</span> 2>&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>