<?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>56141</bug_id>
          
          <creation_ts>2011-03-10 13:40:43 -0800</creation_ts>
          <short_desc>REGRESSION(r74538): 140% slowdown on scrolling-boxes demo.</short_desc>
          <delta_ts>2011-03-10 19:56:02 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://people.mozilla.org/~roc/scrolling-boxes.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aestes</cc>
    
    <cc>ariya.hidayat</cc>
    
    <cc>eric</cc>
    
    <cc>hyatt</cc>
    
    <cc>jamesr</cc>
    
    <cc>koivisto</cc>
    
    <cc>mitz</cc>
    
    <cc>noam</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>365492</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-03-10 13:40:43 -0800</bug_when>
    <thetext>Using r80210, the following demo takes 8619ms whereas it only takes 2505ms on Safari 5

http://people.mozilla.org/~roc/scrolling-boxes.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365497</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-03-10 13:46:23 -0800</bug_when>
    <thetext>r73316: ok
r74228: ok
r75294: bad
r75891: bad
r76640: bad</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365689</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-03-10 17:21:50 -0800</bug_when>
    <thetext>&lt;rdar://problem/9119011&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365704</commentid>
    <comment_count>3</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2011-03-10 17:47:11 -0800</bug_when>
    <thetext>It seems like there have been multiple regressions. Due to one of these two changes:

http://trac.webkit.org/changeset/74538
http://trac.webkit.org/changeset/74539

I see a 140% slowdown (~2000ms to ~4800ms).

There is another slowdown somewhere between r74539 and ToT, which gets times ~8000ms. I&apos;ll see if I can track down that regression as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365710</commentid>
    <comment_count>4</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2011-03-10 17:51:07 -0800</bug_when>
    <thetext>The second regression is due to &lt;http://trac.webkit.org/changeset/77101&gt; I think.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365730</commentid>
    <comment_count>5</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2011-03-10 18:46:33 -0800</bug_when>
    <thetext>The first regression is caused by &lt;http://trac.webkit.org/changeset/74538&gt;, which turned on support for non-prefixed box-shadow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365732</commentid>
    <comment_count>6</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2011-03-10 18:53:35 -0800</bug_when>
    <thetext>I filed &lt;https://bugs.webkit.org/show_bug.cgi?id=56162&gt; to track the second slowdown.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365740</commentid>
    <comment_count>7</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2011-03-10 19:01:58 -0800</bug_when>
    <thetext>The demo uses non-prefixed box-shadow, so presumably if it had used -webkit-box-shadow instead, this demo would have been slower in Safari 5 as well. Since we just weren&apos;t applying the box-shadow before r74538, this doesn&apos;t seem like an actual regression.

I think &lt;https://bugs.webkit.org/show_bug.cgi?id=56162&gt; is still valid though, especially since r77101 claims to improve scroll performance.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365745</commentid>
    <comment_count>8</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2011-03-10 19:07:56 -0800</bug_when>
    <thetext>Yea, Safari 5 gets the same performance numbers as r74538 if I change the test to use -webkit-box-shadow instead of box-shadow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365746</commentid>
    <comment_count>9</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2011-03-10 19:09:58 -0800</bug_when>
    <thetext>I think that fact makes this bug invalid, but &lt;https://bugs.webkit.org/show_bug.cgi?id=56162&gt; still seems like a legitimate regression.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365778</commentid>
    <comment_count>10</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-03-10 19:56:02 -0800</bug_when>
    <thetext>Thanks for the analysis, Andy!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>