<?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>151670</bug_id>
          
          <creation_ts>2015-11-30 12:45:34 -0800</creation_ts>
          <short_desc>Fix the graphics benchmark complexity bounds adjustment</short_desc>
          <delta_ts>2015-11-30 15:06:46 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Animations</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="Said Abou-Hallawa">sabouhallawa</reporter>
          <assigned_to name="Said Abou-Hallawa">sabouhallawa</assigned_to>
          <cc>cdumez</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dino</cc>
    
    <cc>rniwa</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1144885</commentid>
    <comment_count>0</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2015-11-30 12:45:34 -0800</bug_when>
    <thetext>The test complexity bounds (min-max values) are used to prevent the test FPS from fluctuating. We always make sure the current complexity of the test is within these bounds. These bounds are the min-max values of the test complexity starting from the beginning of the first overshoot till the end of the following undershoot of the FPS.

We need also to make sure that the bounds are large enough to allow some flexibility. This is helpful when the difference between the lower and upper bounds is very small. I think it is enough to make sure the lower bound is at least 90% of the upper bound. The bounds are negative in the case of graphics benchmark since the relationship between the test complexity and FPS is reverse proportional. So we need to apply the adjustment to the &quot;absolute&quot; minimum bound which is (min if min &lt; 0) or (max if max &lt; 0).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1144887</commentid>
    <comment_count>1</comment_count>
      <attachid>266261</attachid>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2015-11-30 12:49:03 -0800</bug_when>
    <thetext>Created attachment 266261
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1144968</commentid>
    <comment_count>2</comment_count>
      <attachid>266261</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-11-30 15:06:43 -0800</bug_when>
    <thetext>Comment on attachment 266261
Patch

Clearing flags on attachment: 266261

Committed r192835: &lt;http://trac.webkit.org/changeset/192835&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1144969</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-11-30 15:06:46 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>266261</attachid>
            <date>2015-11-30 12:49:03 -0800</date>
            <delta_ts>2015-11-30 15:06:43 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-151670-20151130124842.patch</filename>
            <type>text/plain</type>
            <size>1656</size>
            <attacher name="Said Abou-Hallawa">sabouhallawa</attacher>
            
              <data encoding="base64">SW5kZXg6IFBlcmZvcm1hbmNlVGVzdHMvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFBlcmZvcm1h
bmNlVGVzdHMvQ2hhbmdlTG9nCShyZXZpc2lvbiAxOTI4MTUpCisrKyBQZXJmb3JtYW5jZVRlc3R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XN0cy9yZXNvdXJjZXMvbWF0aC5qcwkod29ya2lu
ZyBjb3B5KQpAQCAtMzkxLDkgKzM5MSwxMCBAQCBQSURDb250cm9sbGVyLnByb3RvdHlwZSA9CiAg
ICAgICAgICAgICBicmVhazsKICAgICAgICAgCiAgICAgICAgIGNhc2UgUElEQ29udHJvbGxlci5z
dGFnZXMuU0FUVVJBVEU6CisgICAgICAgICAgICBjb25zdCBsaW1pdFBlcmNlbnRhZ2UgPSAwLjkw
OworICAgICAgICAgICAgdmFyIG1pbiA9IHRoaXMuX21pbiA+IDAgPyBNYXRoLm1pbih0aGlzLl9t
aW4sIHRoaXMuX21heCAqIGxpbWl0UGVyY2VudGFnZSkgOiB0aGlzLl9taW47CisgICAgICAgICAg
ICB2YXIgbWF4ID0gdGhpcy5fbWF4IDwgMCA/IE1hdGgubWF4KHRoaXMuX21heCwgdGhpcy5fbWlu
ICogbGltaXRQZXJjZW50YWdlKSA6IHRoaXMuX21heDsKICAgICAgICAgICAgIHZhciBvdXQgPSB0
aGlzLl9vdXQgKyB1OwotICAgICAgICAgICAgdmFyIG1pbiA9IE1hdGgubWluKHRoaXMuX21pbiwg
dGhpcy5fbWF4ICogMC43MCk7Ci0gICAgICAgICAgICB2YXIgbWF4ID0gdGhpcy5fbWF4OwogCiAg
ICAgICAgICAgICAvLyBDbGlwIHRoZSBjb250cm9sbGVyIG91dHB1dCB0byB0aGUgbWluLW1heCB2
YWx1ZXMKICAgICAgICAgICAgIG91dCA9IE1hdGgubWF4KE1hdGgubWluKG1heCwgb3V0KSwgbWlu
KTsK
</data>

          </attachment>
      

    </bug>

</bugzilla>