<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Mesa 10.6.3 linker is slow"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91857#c25">Comment # 25</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Mesa 10.6.3 linker is slow"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91857">bug 91857</a>
              from <span class="vcard"><a class="email" href="mailto:kenneth@whitecape.org" title="Kenneth Graunke <kenneth@whitecape.org>"> <span class="fn">Kenneth Graunke</span></a>
</span></b>
        <pre>(In reply to Jordan Justen from <a href="show_bug.cgi?id=91857#c12">comment #12</a>) 
<span class="quote">> Mesa 10.6.4 release build: 44 seconds
> Mesa ~master debug build: 267 seconds</span >

Jordan, FWIW, linking in debug builds will be obscenely slow because we call
nir_validate_shader() after every optimization/lowering pass.  In release
builds, that is a no-op...so measuring debug builds isn't terribly meaningful.

I landed a few fixes in master that should help out a little...the front-end
time is a lot more reasonable now.  FS register allocation is still horridly
slow, however.  This is because of our stupid spilling loop.  It takes 132
iterations through the RA loop before it succeeds.

We can totally fix that, we just haven't made it a priority yet...most shaders
don't trip up this pathological case.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>