<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - We've regressed octane codeload by 8% since the revision before arrow functions"
   href="https://bugs.webkit.org/show_bug.cgi?id=156252#c15">Comment # 15</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - We've regressed octane codeload by 8% since the revision before arrow functions"
   href="https://bugs.webkit.org/show_bug.cgi?id=156252">bug 156252</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=156252#c14">comment #14</a>)
<span class="quote">&gt; There are some result of performance tests.
&gt; Important to receive this result was used modified code-load.js file, where
&gt; it possible were replace common function to arrow function in following way:
&gt; unction () replace by (a0,b0,c0,d0,e0,f0,g0,h0,j0,k0)=&gt;{
&gt; function (a) replace by (a,b1,c1,d1,e1,f1,g1,h1,j1,k1)=&gt;{
&gt; function (a,b) replace by (a,b,c2,d2,e2,f2,g2,h2,j2,k2)=&gt;{
&gt; --- Not sure if it is cheating</span >
I wouldn't call this cheating. It's important that we know that there are
programs that we can parse faster. This is a particular program that you've 
created. So it's a helpful test. It would also be useful to create a version
of code-load where the parameter count isn't artificially inflated because 
this will be more representative of real programs. 

Also, is your method sound? It appears that many tests are failing. 

<span class="quote">&gt; 
&gt; MacBook-Pro-Skachkov-2:Webkit2 Developer$ Tools/Scripts/run-jsc-benchmarks
&gt; before:/Users/Developer/Projects/Webkit2/WebKitBuild/before_patch/Release/
&gt; jsc
&gt; after:/Users/Developer/Projects/Webkit2/WebKitBuild/es6_functions/Release/
&gt; jsc --octane --benchmark=&quot;jquery|closure&quot; --outer 10
&gt; Warning: could not identify checkout location for before
&gt; Warning: could not identify checkout location for after
&gt; 92/92                                        
&gt; 
&gt; Benchmark report for Octane on MacBook-Pro-Skachkov-2 (MacBookPro8,1).
&gt; 
&gt; VMs tested:
&gt; &quot;before&quot; at
&gt; /Users/Developer/Projects/Webkit2/WebKitBuild/before_patch/Release/jsc
&gt; &quot;after&quot; at
&gt; /Users/Developer/Projects/Webkit2/WebKitBuild/es6_functions/Release/jsc
&gt; 
&gt; Collected 10 samples per benchmark/VM, with 10 VM invocations per benchmark.
&gt; Emitted a call to
&gt; gc() between sample measurements. Used 1 benchmark iteration per VM
&gt; invocation for warm-up. Used
&gt; the jsc-specific preciseTime() function to get microsecond-level timing.
&gt; Reporting benchmark
&gt; execution times with 95% confidence intervals in milliseconds.
&gt; 
&gt;                           before                    after                   
&gt; 
&gt; 
&gt; closure              1.04113+-0.01106    ^     0.99330+-0.01229       ^
&gt; definitely 1.0482x faster
&gt; jquery              12.17617+-0.15386         11.96693+-0.10068        
&gt; might be 1.0175x faster
&gt; 
&gt; &lt;geometric&gt;          3.56038+-0.03687    ^     3.44761+-0.03026       ^
&gt; definitely 1.0327x faster
&gt; 
&gt; MacBook-Pro-Skachkov-2:Webkit2 Developer$ Tools/Scripts/run-jsc-benchmarks
&gt; before:/Users/Developer/Projects/Webkit2/WebKitBuild/before_patch/Release/
&gt; jsc
&gt; after:/Users/Developer/Projects/Webkit2/WebKitBuild/es6_functions/Release/
&gt; jsc --octane --benchmark=&quot;jquery|closure&quot; --outer 10
&gt; Warning: could not identify checkout location for before
&gt; Warning: could not identify checkout location for after
&gt; 92/92
&gt; 
&gt; Benchmark report for Octane on MacBook-Pro-Skachkov-2 (MacBookPro8,1).
&gt; 
&gt; VMs tested:
&gt; &quot;before&quot; at
&gt; /Users/Developer/Projects/Webkit2/WebKitBuild/before_patch/Release/jsc
&gt; &quot;after&quot; at
&gt; /Users/Developer/Projects/Webkit2/WebKitBuild/es6_functions/Release/jsc
&gt; 
&gt; Collected 10 samples per benchmark/VM, with 10 VM invocations per benchmark.
&gt; Emitted a call to
&gt; gc() between sample measurements. Used 1 benchmark iteration per VM
&gt; invocation for warm-up. Used
&gt; the jsc-specific preciseTime() function to get microsecond-level timing.
&gt; Reporting benchmark
&gt; execution times with 95% confidence intervals in milliseconds.
&gt; 
&gt;                           before                    after                   
&gt; 
&gt; 
&gt; closure              1.05545+-0.00767    ^     0.98806+-0.01082       ^
&gt; definitely 1.0682x faster
&gt; jquery              12.21856+-0.13663         12.02093+-0.07467        
&gt; might be 1.0164x faster
&gt; 
&gt; &lt;geometric&gt;          3.59098+-0.02558    ^     3.44619+-0.01687       ^
&gt; definitely 1.0420x faster
&gt; 
&gt; MacBook-Pro-Skachkov-2:Webkit2 Developer$ Tools/Scripts/run-jsc-benchmarks
&gt; before:/Users/Developer/Projects/Webkit2/WebKitBuild/before_patch/Release/
&gt; jsc
&gt; after:/Users/Developer/Projects/Webkit2/WebKitBuild/es6_functions/Release/
&gt; jsc --octane --benchmark=&quot;jquery|closure&quot; --outer 10
&gt; Warning: could not identify checkout location for before
&gt; Warning: could not identify checkout location for after
&gt; 92/92                                        
&gt; 
&gt; Benchmark report for Octane on MacBook-Pro-Skachkov-2 (MacBookPro8,1).
&gt; 
&gt; VMs tested:
&gt; &quot;before&quot; at
&gt; /Users/Developer/Projects/Webkit2/WebKitBuild/before_patch/Release/jsc
&gt; &quot;after&quot; at
&gt; /Users/Developer/Projects/Webkit2/WebKitBuild/es6_functions/Release/jsc
&gt; 
&gt; Collected 10 samples per benchmark/VM, with 10 VM invocations per benchmark.
&gt; Emitted a call to
&gt; gc() between sample measurements. Used 1 benchmark iteration per VM
&gt; invocation for warm-up. Used
&gt; the jsc-specific preciseTime() function to get microsecond-level timing.
&gt; Reporting benchmark
&gt; execution times with 95% confidence intervals in milliseconds.
&gt; 
&gt;                           before                    after                   
&gt; 
&gt; 
&gt; closure              1.05095+-0.00968    ^     0.98810+-0.01133       ^
&gt; definitely 1.0636x faster
&gt; jquery              12.31999+-0.13188    ^    12.01412+-0.07400       ^
&gt; definitely 1.0255x faster
&gt; 
&gt; &lt;geometric&gt;          3.59817+-0.02872    ^     3.44529+-0.01942       ^
&gt; definitely 1.0444x faster
&gt; 
&gt; MacBook-Pro-Skachkov-2:Webkit2 Developer$ Tools/Scripts/run-jsc-benchmarks
&gt; before:/Users/Developer/Projects/Webkit2/WebKitBuild/before_patch/Release/
&gt; jsc
&gt; after:/Users/Developer/Projects/Webkit2/WebKitBuild/es6_functions/Release/
&gt; jsc --octane --benchmark=&quot;jquery|closure&quot; --outer 10
&gt; Warning: could not identify checkout location for before
&gt; Warning: could not identify checkout location for after
&gt; 92/92                                        
&gt; 
&gt; Benchmark report for Octane on MacBook-Pro-Skachkov-2 (MacBookPro8,1).
&gt; 
&gt; VMs tested:
&gt; &quot;before&quot; at
&gt; /Users/Developer/Projects/Webkit2/WebKitBuild/before_patch/Release/jsc
&gt; &quot;after&quot; at
&gt; /Users/Developer/Projects/Webkit2/WebKitBuild/es6_functions/Release/jsc
&gt; 
&gt; Collected 10 samples per benchmark/VM, with 10 VM invocations per benchmark.
&gt; Emitted a call to
&gt; gc() between sample measurements. Used 1 benchmark iteration per VM
&gt; invocation for warm-up. Used
&gt; the jsc-specific preciseTime() function to get microsecond-level timing.
&gt; Reporting benchmark
&gt; execution times with 95% confidence intervals in milliseconds.
&gt; 
&gt;                           before                    after                   
&gt; 
&gt; 
&gt; closure              1.05823+-0.01207    ^     0.99516+-0.01640       ^
&gt; definitely 1.0634x faster
&gt; jquery              12.26944+-0.11244         12.07709+-0.11698        
&gt; might be 1.0159x faster
&gt; 
&gt; &lt;geometric&gt;          3.60322+-0.03151    ^     3.46645+-0.02885       ^
&gt; definitely 1.0395x faster
&gt; 
&gt; MacBook-Pro-Skachkov-2:Webkit2 Developer$ Tools/Scripts/run-jsc-benchmarks
&gt; before:/Users/Developer/Projects/Webkit2/WebKitBuild/before_patch/Release/
&gt; jsc
&gt; after:/Users/Developer/Projects/Webkit2/WebKitBuild/es6_functions/Release/
&gt; jsc --octane --benchmark=&quot;jquery|closure&quot; --outer 10
&gt; Warning: could not identify checkout location for before
&gt; Warning: could not identify checkout location for after
&gt; 92/92                                        
&gt; 
&gt; Benchmark report for Octane on MacBook-Pro-Skachkov-2 (MacBookPro8,1).
&gt; 
&gt; VMs tested:
&gt; &quot;before&quot; at
&gt; /Users/Developer/Projects/Webkit2/WebKitBuild/before_patch/Release/jsc
&gt; &quot;after&quot; at
&gt; /Users/Developer/Projects/Webkit2/WebKitBuild/es6_functions/Release/jsc
&gt; 
&gt; Collected 10 samples per benchmark/VM, with 10 VM invocations per benchmark.
&gt; Emitted a call to
&gt; gc() between sample measurements. Used 1 benchmark iteration per VM
&gt; invocation for warm-up. Used
&gt; the jsc-specific preciseTime() function to get microsecond-level timing.
&gt; Reporting benchmark
&gt; execution times with 95% confidence intervals in milliseconds.
&gt; 
&gt;                           before                    after                   
&gt; 
&gt; 
&gt; closure              1.05397+-0.01681    ^     0.98210+-0.00726       ^
&gt; definitely 1.0732x faster
&gt; jquery              12.44263+-0.21901    ^    12.03256+-0.04026       ^
&gt; definitely 1.0341x faster
&gt; 
&gt; &lt;geometric&gt;          3.62080+-0.03777    ^     3.43754+-0.01005       ^
&gt; definitely 1.0533x faster</span ></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>