<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>157952</bug_id>
          
          <creation_ts>2016-05-20 12:25:24 -0700</creation_ts>
          <short_desc>We should have JSBench in PerformanceTests</short_desc>
          <delta_ts>2016-05-25 02:10:42 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Keith Miller">keith_miller</reporter>
          <assigned_to name="Keith Miller">keith_miller</assigned_to>
          <cc>cdumez</cc>
    
    <cc>commit-queue</cc>
    
    <cc>ossy</cc>
    
    <cc>rniwa</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1195193</commentid>
    <comment_count>0</comment_count>
    <who name="Keith Miller">keith_miller</who>
    <bug_when>2016-05-20 12:25:24 -0700</bug_when>
    <thetext>We should have JSBench in PerformanceTests</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1195197</commentid>
    <comment_count>1</comment_count>
      <attachid>279496</attachid>
    <who name="Keith Miller">keith_miller</who>
    <bug_when>2016-05-20 12:40:43 -0700</bug_when>
    <thetext>Created attachment 279496
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1195233</commentid>
    <comment_count>2</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-05-20 14:58:38 -0700</bug_when>
    <thetext>Attachment 279496 did not pass style-queue:


ERROR: PerformanceTests/JSBench/harness.py:5:  trailing whitespace  [pep8/W291] [5]
ERROR: PerformanceTests/JSBench/harness.py:8:  trailing whitespace  [pep8/W291] [5]
ERROR: PerformanceTests/JSBench/harness.py:14:  trailing whitespace  [pep8/W291] [5]
ERROR: PerformanceTests/JSBench/harness.py:40:  whitespace before &apos;}&apos;  [pep8/E202] [5]
ERROR: PerformanceTests/JSBench/harness.py:91:  expected 2 blank lines, found 1  [pep8/E302] [5]
ERROR: PerformanceTests/JSBench/harness.py:124:  whitespace before &apos;}&apos;  [pep8/E202] [5]
ERROR: PerformanceTests/JSBench/harness.py:144:  whitespace before &apos;)&apos;  [pep8/E202] [5]
ERROR: PerformanceTests/JSBench/harness.py:182:  trailing whitespace  [pep8/W291] [5]
ERROR: PerformanceTests/JSBench/harness.py:202:  whitespace before &apos;}&apos;  [pep8/E202] [5]
Total errors found: 9 in 59 files


If any of these errors are false positives, please file a bug against check-webkit-style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1195244</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2016-05-20 15:13:45 -0700</bug_when>
    <thetext>Wait, we already have this. Just run:
run-benchmark --plan jsbench --browser safari --platform osx</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1195249</commentid>
    <comment_count>4</comment_count>
    <who name="Keith Miller">keith_miller</who>
    <bug_when>2016-05-20 15:23:15 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Wait, we already have this. Just run:
&gt; run-benchmark --plan jsbench --browser safari --platform OS X

This for run-jsc-benchmarks, which AB tests two different builds for regressions directly. It&apos;s easier to have everything managed by the one script rather than have to compute results on our own.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1195313</commentid>
    <comment_count>5</comment_count>
      <attachid>279496</attachid>
    <who name="Saam Barati">saam</who>
    <bug_when>2016-05-20 18:47:12 -0700</bug_when>
    <thetext>Comment on attachment 279496
Patch

rs=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1195793</commentid>
    <comment_count>6</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2016-05-24 02:51:17 -0700</bug_when>
    <thetext>Hm, it seems that cq does not work well...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1195871</commentid>
    <comment_count>7</comment_count>
    <who name="Keith Miller">keith_miller</who>
    <bug_when>2016-05-24 09:32:45 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; Hm, it seems that cq does not work well...

Yeah, I guess I&apos;ll have to land this by hand :/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1195942</commentid>
    <comment_count>8</comment_count>
    <who name="Keith Miller">keith_miller</who>
    <bug_when>2016-05-24 11:59:47 -0700</bug_when>
    <thetext>Committed r201339: &lt;http://trac.webkit.org/changeset/201339&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1196232</commentid>
    <comment_count>9</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-05-25 00:03:10 -0700</bug_when>
    <thetext>(In reply to comment #8)
&gt; Committed r201339: &lt;http://trac.webkit.org/changeset/201339&gt;

These new tests fail on all performace bots, please fix or skip them. Otherwise why didn&apos;t you run them before committing?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1196235</commentid>
    <comment_count>10</comment_count>
    <who name="Keith Miller">keith_miller</who>
    <bug_when>2016-05-25 00:27:53 -0700</bug_when>
    <thetext>(In reply to comment #9)
&gt; (In reply to comment #8)
&gt; &gt; Committed r201339: &lt;http://trac.webkit.org/changeset/201339&gt;
&gt; 
&gt; These new tests fail on all performace bots, please fix or skip them.
&gt; Otherwise why didn&apos;t you run them before committing?

I didn&apos;t know the run-perf-tests script existed. I&apos;ll disable the tests for now, although I&apos;ll have to figure out how to do that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1196245</commentid>
    <comment_count>11</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-05-25 01:59:01 -0700</bug_when>
    <thetext>(In reply to comment #10)
&gt; (In reply to comment #9)
&gt; &gt; (In reply to comment #8)
&gt; &gt; &gt; Committed r201339: &lt;http://trac.webkit.org/changeset/201339&gt;
&gt; &gt; 
&gt; &gt; These new tests fail on all performace bots, please fix or skip them.
&gt; &gt; Otherwise why didn&apos;t you run them before committing?

Log:
ERROR: layer at (0,0) size 800x600

Maybe it is trivial to fix them, the general rule that a performance
tests shouldn&apos;t dump any extra output. Otherwise it will fail.
 
&gt; I didn&apos;t know the run-perf-tests script existed. I&apos;ll disable the tests for
&gt; now, although I&apos;ll have to figure out how to do that.

Use PerformanceTests/Skipped file to skip them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1196246</commentid>
    <comment_count>12</comment_count>
    <who name="Keith Miller">keith_miller</who>
    <bug_when>2016-05-25 02:06:53 -0700</bug_when>
    <thetext>(In reply to comment #11)
&gt; (In reply to comment #10)
&gt; &gt; (In reply to comment #9)
&gt; &gt; &gt; (In reply to comment #8)
&gt; &gt; &gt; &gt; Committed r201339: &lt;http://trac.webkit.org/changeset/201339&gt;
&gt; &gt; &gt; 
&gt; &gt; &gt; These new tests fail on all performace bots, please fix or skip them.
&gt; &gt; &gt; Otherwise why didn&apos;t you run them before committing?
&gt; 
&gt; Log:
&gt; ERROR: layer at (0,0) size 800x600
&gt; 
&gt; Maybe it is trivial to fix them, the general rule that a performance
&gt; tests shouldn&apos;t dump any extra output. Otherwise it will fail.

Interesting, I&apos;ll look into that. I&apos;m not sure if the run-jsc-benchmarks test harness uses that information or not however.

&gt;  
&gt; &gt; I didn&apos;t know the run-perf-tests script existed. I&apos;ll disable the tests for
&gt; &gt; now, although I&apos;ll have to figure out how to do that.
&gt; 
&gt; Use PerformanceTests/Skipped file to skip them.

Should be fixed in http://trac.webkit.org/changeset/201372, hopefully.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1196247</commentid>
    <comment_count>13</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2016-05-25 02:10:42 -0700</bug_when>
    <thetext>(In reply to comment #9)
&gt; (In reply to comment #8)
&gt; &gt; Committed r201339: &lt;http://trac.webkit.org/changeset/201339&gt;
&gt; 
&gt; These new tests fail on all performace bots, please fix or skip them.
&gt; Otherwise why didn&apos;t you run them before committing?

FYI, EFL / GTK ports can run this JSBench from run-jsc-benchmark script now :)
http://trac.webkit.org/changeset/201365</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>279496</attachid>
            <date>2016-05-20 12:40:43 -0700</date>
            <delta_ts>2016-05-23 17:57:10 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-157952-20160520124137.patch</filename>
            <type>text/plain</type>
            <size>0</size>
            <attacher name="Keith Miller">keith_miller</attacher>
            
              <data encoding="base64"></data>
<flag name="review"
          id="303543"
          type_id="1"
          status="+"
          setter="saam"
    />
    <flag name="commit-queue"
          id="303661"
          type_id="3"
          status="+"
          setter="keith_miller"
    />
          </attachment>
      

    </bug>

</bugzilla>