<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">I believe fibon/ was helpfully added by someone, but never integrated into the nofib build system.&nbsp; Just needs doing, I think<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Simon<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> ghc-devs-bounces@haskell.org [mailto:ghc-devs-bounces@haskell.org]
<b>On Behalf Of </b>Nicolas Frisby<br>
<b>Sent:</b> 05 February 2013 09:24<br>
<b>To:</b> Johan Tibell<br>
<b>Cc:</b> ghc-devs@haskell.org<br>
<b>Subject:</b> Re: nofib comparisons between 7.0.4, 7.4.2, 7.6.1, and 7.6.2<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class="MsoNormal">Is anyone familiar with the &quot;fibon&quot; directory within the nofib.git repository?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="http://darcs.haskell.org/nofib/fibon/">http://darcs.haskell.org/nofib/fibon/</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">Johan, this at least seems like an potential home for the additional programs you suggested adding. In particular, it has&nbsp;Repa, Dph, Shootout, and Hackage subdirectories.<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I'm doing a GHC HQ internship at the moment, and one of the&nbsp;just-needs-to-happen tasks on my (growing) todo list is to look into fibon.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">SPJ recalls that not all of the various building infrastructures were getting along. Anyone know the story? Thanks!<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">On Mon, Feb 4, 2013 at 10:33 PM, Johan Tibell &lt;<a href="mailto:johan.tibell@gmail.com" target="_blank">johan.tibell@gmail.com</a>&gt; wrote:<o:p></o:p></p>
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">I haven't had much time to do performance tzar work yet, but I did run nofib on the last few GHC releases to see the current trend. The benchmarks where run on my 64-bit Core i7-3770 @ 3.40GHz&nbsp;Linux machine. Here are the results:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">7.0.4 to 7.4.2:<o:p></o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#500050"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;;color:#222222">--------------------------------------------------------------------------------<br>
&nbsp; &nbsp; &nbsp; &nbsp; Program &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Size &nbsp; &nbsp;Allocs &nbsp; Runtime &nbsp; Elapsed &nbsp;TotalMem</span><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#500050"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;;color:#222222">--------------------------------------------------------------------------------</span><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;;color:#222222">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Min &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-1.6% &nbsp; &nbsp;-57.3% &nbsp; &nbsp;-39.1% &nbsp; &nbsp;-36.4% &nbsp; &nbsp;-25.0%</span><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;;color:#222222">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Max &nbsp; &nbsp; &nbsp; &nbsp; &#43;21.5% &nbsp; &#43;121.5% &nbsp; &nbsp;&#43;24.5% &nbsp; &nbsp;&#43;25.4% &nbsp; &#43;300.0%</span><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;;color:#222222">&nbsp;Geometric Mean &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#43;8.5% &nbsp; &nbsp; -0.7% &nbsp; &nbsp; -7.1% &nbsp; &nbsp; -5.2% &nbsp; &nbsp; &#43;2.0%</span><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">The big loser here in terms of runtime is &quot;kahan&quot;, which I added to test tight loops involving unboxed arrays and floating point arithmetic. I believe there was a regression in
 fromIntegral RULES during this release, which meant that some conversions between fixed-width types went via Integer, causing&nbsp;unnecessary&nbsp;allocation.</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">7.4.2 to 7.6.1:</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;;color:#222222">--------------------------------------------------------------------------------<br>
&nbsp; &nbsp; &nbsp; &nbsp; Program &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Size &nbsp; &nbsp;Allocs &nbsp; Runtime &nbsp; Elapsed &nbsp;TotalMem<br>
--------------------------------------------------------------------------------<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Min &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-5.1% &nbsp; &nbsp;-23.8% &nbsp; &nbsp;-11.8% &nbsp; &nbsp;-12.9% &nbsp; &nbsp;-50.0%<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Max &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#43;5.3% &nbsp; &#43;225.5% &nbsp; &nbsp; &#43;7.2% &nbsp; &nbsp; &#43;8.8% &nbsp; &#43;200.0%<br>
&nbsp;Geometric Mean &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-0.4% &nbsp; &nbsp; &#43;2.1% &nbsp; &nbsp; &#43;0.3% &nbsp; &nbsp; &#43;0.2% &nbsp; &nbsp; &#43;0.7%</span><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"><br>
<br>
The biggest loser here in terms of runtime is &quot;integrate&quot;. I haven't looked into why yet.</span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">7.6.1 to 7.6.2:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;;color:#222222">--------------------------------------------------------------------------------<br>
&nbsp; &nbsp; &nbsp; &nbsp; Program &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Size &nbsp; &nbsp;Allocs &nbsp; Runtime &nbsp; Elapsed &nbsp;TotalMem</span><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"><o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;;color:#222222">--------------------------------------------------------------------------------</span><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;;color:#222222">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Min &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-2.9% &nbsp; &nbsp; &#43;0.0% &nbsp; &nbsp; -4.8% &nbsp; &nbsp; -4.4% &nbsp; &nbsp; -1.9%</span><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;;color:#222222">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Max &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#43;0.0% &nbsp; &nbsp; &#43;1.0% &nbsp; &nbsp; &#43;4.5% &nbsp; &nbsp; &#43;6.4% &nbsp; &nbsp;&#43;20.8%</span><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;;color:#222222">&nbsp;Geometric Mean &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-1.7% &nbsp; &nbsp; &#43;0.0% &nbsp; &nbsp; &#43;0.1% &nbsp; &nbsp; &#43;0.3% &nbsp; &nbsp; &#43;0.2%</span><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">I have two takeaways:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">&nbsp;* It's worthwhile running nofib before releases as it does find some programs that regressed.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">&nbsp;* There are some other regressions out there (i.e. in code on Hackage) that aren't reflected here, suggesting that we need to add more programs to nofib.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">Cheers,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">Johan<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"><o:p>&nbsp;</o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</body>
</html>