<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 15 (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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
p.Code, li.Code, div.Code
        {mso-style-name:Code;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:22.7pt;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        mso-fareast-language:EN-US;
        font-weight:bold;}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
.MsoPapDefault
        {mso-style-type:export-only;
        margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;}
@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="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Despite a recent <o:p></o:p></span></p>
<p class="Code"><span lang="EN-US">git fetch <a href="https://gitlab.haskell.org/ghc/ghc-performance-notes.git">
https://gitlab.haskell.org/ghc/ghc-performance-notes.git</a><o:p></o:p></span></p>
<p class="Code" style="text-indent:13.3pt"><span lang="EN-US">refs/notes/perf:refs/notes/ci/perf<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I’m getting lots of perf regressions in HEAD. For example<o:p></o:p></span></p>
<p class="Code"><span lang="EN-US">=====> T9203(normal) 1 of 1 [0, 0, 0]<o:p></o:p></span></p>
<p class="Code"><span lang="EN-US">]0;T9203(normal) 1 of 1 [0, 0, 0]cd "T9203.run" &&  "/home/simonpj/code/HEAD-3/inplace/bin/ghc-stage2" -o T9203 T9203.hs -dcore-lint -dstg-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups
 -fdiagnostics-color=never -fno-diagnostics-show-caret -Werror=compat -dno-debug-output  -O2<
<o:p></o:p></span></p>
<p class="Code"><span lang="EN-US">cd "T9203.run" && ./T9203  +RTS -V0 -tT9203.stats --machine-readable -RTS  <
<o:p></o:p></span></p>
<p class="Code"><span lang="EN-US">runtime/bytes allocated increased from x86_64-linux-deb9 baseline @ HEAD~28:<o:p></o:p></span></p>
<p class="Code"><span lang="EN-US">    Expected    T9203 (normal) runtime/bytes allocated: 56046952.0 +/-5%<o:p></o:p></span></p>
<p class="Code"><span lang="EN-US">    Lower bound T9203 (normal) runtime/bytes allocated:   53244604
<o:p></o:p></span></p>
<p class="Code"><span lang="EN-US">    Upper bound T9203 (normal) runtime/bytes allocated:   58849300
<o:p></o:p></span></p>
<p class="Code"><span lang="EN-US">    Actual      T9203 (normal) runtime/bytes allocated:  108464536
<o:p></o:p></span></p>
<p class="Code"><span lang="EN-US">    Deviation   T9203 (normal) runtime/bytes allocated:       93.5 %<o:p></o:p></span></p>
<p class="Code"><span lang="EN-US">*** unexpected stat test failure for T9203(normal)<o:p></o:p></span></p>
<p class="Code"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="Code"><span lang="EN-US">Performance Metrics (test environment: local):<o:p></o:p></span></p>
<p class="Code"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="Code"><span lang="EN-US">T9203(normal)             runtime/bytes allocated                     108464536.000<o:p></o:p></span></p>
<p class="Code"><span lang="EN-US">                          (baseline @ HEAD~28)                         56046952.000  [increased, 93.5%]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">What am I doing wrong?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Simon<o:p></o:p></span></p>
</div>
</body>
</html>