<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add PerfAutoRun to automate browser based performance benchmarks(e.g. Speedometer and JetStream)"
   href="https://bugs.webkit.org/show_bug.cgi?id=144038#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add PerfAutoRun to automate browser based performance benchmarks(e.g. Speedometer and JetStream)"
   href="https://bugs.webkit.org/show_bug.cgi?id=144038">bug 144038</a>
              from <span class="vcard"><a class="email" href="mailto:cdumez&#64;apple.com" title="Chris Dumez &lt;cdumez&#64;apple.com&gt;"> <span class="fn">Chris Dumez</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=251306&amp;action=diff" name="attach_251306" title="Patch">attachment 251306</a> <a href="attachment.cgi?id=251306&amp;action=edit" title="Patch">[details]</a></span>
Patch

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

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Patches/Speedometer.patch:74
&gt; ++            console.log(dict);</span >

debug? Do we want to keep this?

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Patches/Speedometer.patch:85
&gt; ++            var http = new XMLHttpRequest();</span >

xhr is a better name.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Patches/Speedometer.patch:86
&gt; ++            var url = '/report';</span >

unnecessary variable

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Patches/Speedometer.patch:87
&gt; ++            http.open(&quot;POST&quot;, url, true);</span >

true can be omitted.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Patches/Speedometer.patch:94
&gt; ++                if(http.readyState == 4 &amp;&amp; http.status == 200) {</span >

XMLHttpRequest.DONE

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Patches/Speedometer.patch:95
&gt; ++                    closeRequest = new XMLHttpRequest();</span >

missing var

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/PerfAutoRun.py:2
&gt; +# coding : utf-8</span >

I don't think we usually have this in our scripts.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/PerfAutoRun.py:3
&gt; +import argparse</span >

A blank line before the imports would be nicer IMHO.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/PerfAutoRun.py:29
&gt; +            'OSX',</span >

For command line arguments, I think it would be nice to avoid capital letters.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/PerfAutoRun.py:33
&gt; +    # should we add chrome as an option? Well, chrome uses webkit in iOS.</span >

# FIXME: Should we...

(extra FIXME: and capital letter)

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/PerfAutoRun.py:39
&gt; +            'Safari',</span >

For command line arguments, I think it would be nice to avoid capital letters.</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>