<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#c6">Comment # 6</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/README.md:110
&gt; +    * use ```shell git diff --relative HEAD &gt;&gt; your.patch``` to create your patch</span >

what is &quot;shell&quot; ?

Shouldn't it be &gt; your.patch ? so that it actually creates the file?

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/README.md:112
&gt; +* Create a plan for the benchmark(refer to **&quot;How to create a plan&quot;** for more details)</span >

Missing space before parenthesis.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/README.md:113
&gt; +* Do following instruction **ONLY IF NEEDED**, in most case, you do not have to.</span >

Follow these instructions...
in most cases,

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

Same comment as before.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Utilities/BenchmarkRunner.py:6
&gt; +import json</span >

Please sort the imports alphabetically.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Utilities/BenchmarkRunner.py:16
&gt; +from Utils import timeout</span >

Can be merged with the previous from Utils import.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Utilities/BenchmarkRunner.py:77
&gt; +                # wait for http server to launch and platform handler to clean</span >

Missing capital letter.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Utilities/BenchmarkRunner.py:78
&gt; +                # the environment</span >

Missing '.' at the end.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Utilities/BenchmarkRunner.py:94
&gt; +                    logger.error('No result. Something goes wrong')</span >

&quot;went wrong&quot; ?

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

Same comment as before.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Utilities/GenericHandleFactory.py:6
&gt; +import logging</span >

alphabetical sorting.

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

Same comment as before.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Utilities/HTTPHandle/HTTPHandle.py:9
&gt; +    def serve(self, webRoot, serveCnt):</span >

What does &quot;serveCnt&quot; stand for? Please avoid abbreviations.

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

Same comment as before.

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

Same comment as before.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Utilities/HTTPHandle/HTTPServer/NaiveHTTPServer.py:7
&gt; +import posixpath</span >

alphabetical sorting.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Utilities/HTTPHandle/HTTPServer/NaiveHTTPServer.py:69
&gt; +        self.running = True</span >

isRunning, we like using prefixes for boolean variables.

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

Same comment as before.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Utilities/HTTPHandle/HTTPServer/TwistedHTTPServer.py:28
&gt; +    backdoor = BackdoorPage()</span >

Not sure backdoor is a great name. It sounds scary :)

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

Same comment as before.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Utilities/HTTPHandle/SimpleHTTPHandle.py:24
&gt; +        # FIXME: this may not be reliable</span >

Missing '.' at the end.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Utilities/HTTPHandle/SimpleHTTPHandle.py:25
&gt; +        logger.info('finding the ip address of current machine')</span >

&quot;Finding&quot;, &quot;IP&quot;

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Utilities/HTTPHandle/SimpleHTTPHandle.py:32
&gt; +            logger.error('cannot get the ip address of current machine')</span >

Missing capital letter.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Utilities/HTTPHandle/SimpleHTTPHandle.py:50
&gt; +        logger.info('start to fetching the port number of the http server')</span >

Missing capital letter.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Utilities/HTTPHandle/SimpleHTTPHandle.py:88
&gt; +                                'Http Server is serving at port: %d',</span >

HTTP

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

Same comment as before.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Utilities/PlatformHandle/OSXSafariHandle.py:35
&gt; +        args = [browserBuildPath + '/Safari.app/Contents/MacOS/Safari']</span >

os.path.join()

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Utilities/PlatformHandle/OSXSafariHandle.py:50
&gt; +        safaris = NSRunningApplication.runningApplicationsWithBundleIdentifier_(</span >

&quot;safariInstances&quot;? or simply &quot;instances&quot;?

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

Same comment as before.

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

Same comment as before.

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

Same comment as before.

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

Same comment as before.

<span class="quote">&gt; Tools/Scripts/PerfAutoRun/Utilities/Utils.py:25
&gt; +def getPathFromProjRoot(relativePathToProjRoot):</span >

Avoid abbreviations, Proj -&gt; Project</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>