<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [ES6] Arrow function syntax. Emit loading&amp;putting this/super only if they are used in arrow function"
   href="https://bugs.webkit.org/show_bug.cgi?id=153981#c20">Comment # 20</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [ES6] Arrow function syntax. Emit loading&amp;putting this/super only if they are used in arrow function"
   href="https://bugs.webkit.org/show_bug.cgi?id=153981">bug 153981</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=153981#c17">comment #17</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=153981#c3">comment #3</a>)
&gt; &gt; Comment on <span class="bz_obsolete"><a href="attachment.cgi?id=271327&amp;action=diff" name="attach_271327" title="Patch">attachment 271327</a> <a href="attachment.cgi?id=271327&amp;action=edit" title="Patch">[details]</a></span>
&gt; &gt; Patch
&gt; &gt; 
&gt; &gt; View in context:
&gt; &gt; <a href="https://bugs.webkit.org/attachment.cgi?id=271327&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=271327&amp;action=review</a>
&gt; &gt; 
&gt; &gt; LGTM, just a few design suggestions and renaming suggestions.
&gt; &gt; Have you run perf numbers?
&gt; &gt; 
&gt; 
&gt; I think it quite good figures for arrow function:
&gt;                                                       before_patch          
&gt; after_patch
&gt;    arrowfunction-call-in-class-constructor          300.1710+-13.5061    ^  
&gt; 191.4837+-4.5846        ^ definitely 1.5676x faster
&gt;    arrowfunction-call-in-class-method                91.2163+-7.7129     ^  
&gt; 29.3135+-10.2887       ^ definitely 3.1118x faster
&gt;    arrowfunction-call-in-function                    96.5411+-31.9533    ^  
&gt; 19.6813+-1.5141        ^ definitely 4.9052x faster
&gt;    arrowfunction-call                                33.9300+-3.3111     ^  
&gt; 27.0056+-0.9594        ^ definitely 1.2564x faster</span >

Nice.

It would be worthwhile to open a bug to rewrite the deltablue benchmark
(or some other benchmark that tests function calling) to use
arrow functions everywhere. That way we can compare that performance
to the performance of just using ordinary functions. And we can track
performance in arrow functions w/ that benchmark.</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>