<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Replace % by bitwise &amp;"
   href="https://bugs.webkit.org/show_bug.cgi?id=160799#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Replace % by bitwise &amp;"
   href="https://bugs.webkit.org/show_bug.cgi?id=160799">bug 160799</a>
              from <span class="vcard"><a class="email" href="mailto:rajeevmisraforapple&#64;gmail.com" title="Rajeev Misra &lt;rajeevmisraforapple&#64;gmail.com&gt;"> <span class="fn">Rajeev Misra</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=285899&amp;action=diff" name="attach_285899" title="Patch">attachment 285899</a> <a href="attachment.cgi?id=285899&amp;action=edit" title="Patch">[details]</a></span>
Patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=285899&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=285899&amp;action=review</a>

<span class="quote">&gt; Source/WTF/ChangeLog:9
&gt; +        If we make size of HashTable as power</span >

I tried to run TestWTF with &quot;/usr/bin/time&quot; to measure usr/sys/real times, but variation for 
different test runs made me conclude that it is not the reliable way to measure performance.  
This variation is probably because tests in TestWTF depends on scheduling order of different 
threads which might be different in each run. 

Is there any official tool/tests/process to measure performance in webkit?

I am not sure if there will be a immediate measurable performance improvement with 
this single change. 

This change was done with the thought that &quot;If same result can be achieved with lesser 
cpu cycle, we should use that approach&quot;.  I am guessing division by &quot;power of 2 number&quot; 
done thru &amp; uses lesser cpu cycle than division by some arbitrary number.

I think these smaller improvements could slowly adds up to give us better performance 
over time.</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>