<div dir="ltr">On Thu, Apr 25, 2013 at 9:56 AM, Johan Tibell <span dir="ltr"><<a href="mailto:johan.tibell@gmail.com" target="_blank">johan.tibell@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br><div><ul><li>Benchmark some large program that isn't carefully tuned by using strictness in just the right places (like our core libraries tend to be), to make sure this change doesn't hurt performance there. I nomiate GHC as the candidate program for this test.</li>
</ul></div></div></blockquote><div><br></div><div style>Here are the nofib compile times of unmodified GHC vs GHC compiled with -funbox-strict-fields:</div><div><br></div><div><font face="courier new, monospace"> -1 s.d. ----- -3.3%</font></div>
<div><font face="courier new, monospace"> +1 s.d. ----- +2.5%</font></div><div><font face="courier new, monospace"> Average ----- -0.4%</font></div><div><br>
</div><div>(I compiled GHC by adding the flag to GhcStage2HcOpts and GhcLibHcOpts.) <br></div><div><br></div><div style>I can't tell if this is noise or not. At least the compile times seem to have gone down every so slightly.</div>
<div style><br></div><div style>With these three tests out of the way, are people happy with me turning on the flag by default for the 7.8 release?</div><div style><br></div></div></div></div>