<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [JSC] implement async functions proposal"
   href="https://bugs.webkit.org/show_bug.cgi?id=156147#c25">Comment # 25</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [JSC] implement async functions proposal"
   href="https://bugs.webkit.org/show_bug.cgi?id=156147">bug 156147</a>
              from <span class="vcard"><a class="email" href="mailto:sbarati&#64;apple.com" title="Saam Barati &lt;sbarati&#64;apple.com&gt;"> <span class="fn">Saam Barati</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=156147#c24">comment #24</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=156147#c23">comment #23</a>)
&gt; &gt; (In reply to <a href="show_bug.cgi?id=156147#c19">comment #19</a>)
&gt; &gt; &gt; Created <span class=""><a href="attachment.cgi?id=275529&amp;action=diff" name="attach_275529" title="Patch">attachment 275529</a> <a href="attachment.cgi?id=275529&amp;action=edit" title="Patch">[details]</a></span>
&gt; &gt; &gt; Patch
&gt; &gt; &gt; 
&gt; &gt; &gt; don't tokenize async/await as keywords, hopefully not costing too much perf
&gt; &gt; 
&gt; &gt; Can you test parser performance on this? Specifically, octane's
&gt; &gt; jquery/closure benchmarks.
&gt; &gt; 
&gt; &gt; I'm working on making our parser faster as we've
&gt; &gt; regressed 10% since we've implemented arrow functions
&gt; &gt; and I don't want to introduce anything that slows the
&gt; &gt; parser down.
&gt; 
&gt; It was regressing CodeLoad by quite a lot. I've managed to get it down to
&gt; about a ~5% regression on average with some improvements for arrow function
&gt; and method parsing, and can probably squeeze a few more out of it in other
&gt; ways.</span >

Based on this information I think it's worth having a compile
time flag instead of a runtime flag. That way async functions
are disabled we don't slow down the parser. Unless the runtime
flag doesn't slow down the parser with async functions disabled.

That said, I think it's worth getting the performance regression as down
as possible because we will presumably remove the runtime/compile time flag
at some point.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>