<?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>112125</bug_id>
          
          <creation_ts>2013-03-12 03:10:53 -0700</creation_ts>
          <short_desc>REGRESSION(r145305) Performance: 1.3% mac-release-10.6-webkit-latest/intl2/times/t change after rev 145300</short_desc>
          <delta_ts>2013-03-15 00:34:23 -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>WebCore Misc.</component>
          <version>528+ (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>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nils Barth">nbarth</reporter>
          <assigned_to name="Robert Hogan">robert</assigned_to>
          <cc>eric</cc>
    
    <cc>esprehn+autocc</cc>
    
    <cc>jchaffraix</cc>
    
    <cc>ojan.autocc</cc>
    
    <cc>robert</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>853268</commentid>
    <comment_count>0</comment_count>
    <who name="Nils Barth">nbarth</who>
    <bug_when>2013-03-12 03:10:53 -0700</bug_when>
    <thetext>There looks like there&apos;s a performance regression caused by r145305 fixing
Bug 108357 REGRESSION(r140907): Incorrect baseline for cells with media content during load

Concretely:
1.3% change in mac-release-10.6-webkit-latest/intl2/times/t after revision 187133 (WebKit revision 145300)
Graph:
http://chromium-perf.appspot.com/?details=true&amp;tab=mac-release-10.6-webkit-latest&amp;testSuite=intl2&amp;rev=187433&amp;graph=times&amp;trace=t&amp;history=150&amp;master=ChromiumWebkit

(Pretty clear regression, narrow range, this revision changes layout, hence likely cause.)

I understand that this revision fixes a layout bug and is thus necessary in some form, but it looks like it has performance impact, perhaps due to additional computation and layout being necessary in some cases.

Could you take a look at it and see that any regressions are necessary and expected?
(Perhaps there&apos;s another way of doing it with less impact.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>853271</commentid>
    <comment_count>1</comment_count>
    <who name="Nils Barth">nbarth</who>
    <bug_when>2013-03-12 03:12:39 -0700</bug_when>
    <thetext>Link added below:

(In reply to comment #0)
&gt; There looks like there&apos;s a performance regression caused by r145305 fixing
&gt; Bug 108357 REGRESSION(r140907): Incorrect baseline for cells with media content during load

r145305:
http://trac.webkit.org/changeset/145305
Bug 108357 REGRESSION(r140907): Incorrect baseline for cells with media content during load</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>853514</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2013-03-12 08:56:19 -0700</bug_when>
    <thetext>How do I access the source of the test that observed the regression?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>853567</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2013-03-12 09:52:18 -0700</bug_when>
    <thetext>When I access the results page I can&apos;t seem to get anything other than a bunch of tabs. I don&apos;t get a graph or any other information. I&apos;m using Chrome on Linux.

Any suggestions on what I need to do to view the regression?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>853985</commentid>
    <comment_count>4</comment_count>
    <who name="Nils Barth">nbarth</who>
    <bug_when>2013-03-12 18:52:28 -0700</bug_when>
    <thetext>Added Julien to CC list, in response to discussion at Chromium Issue 173154:
https://code.google.com/p/chromium/issues/detail?id=173154</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>854017</commentid>
    <comment_count>5</comment_count>
    <who name="Nils Barth">nbarth</who>
    <bug_when>2013-03-12 19:41:50 -0700</bug_when>
    <thetext>Opened bug at Chromium:
Issue 189102: Performance regression 1.3% in table layout baseline fix
http://crbug.com/189102</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>854074</commentid>
    <comment_count>6</comment_count>
    <who name="Nils Barth">nbarth</who>
    <bug_when>2013-03-12 23:08:24 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; How do I access the source of the test that observed the regression?

Command line looks to be:
/b/build/slave/Mac10_6_Perf/build/src/out/Release/performance_ui_tests --gtest_filter=PageCycler*.Intl2File:PageCycler*.*_Intl2File

So (on Mac 10.6) should be able to reproduce by running:
out/Release/performance_ui_tests --gtest_filter=PageCycler*.Intl2File:PageCycler*.*_Intl2File</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>854075</commentid>
    <comment_count>7</comment_count>
    <who name="Nils Barth">nbarth</who>
    <bug_when>2013-03-12 23:10:54 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; When I access the results page I can&apos;t seem to get anything other than a bunch of tabs. I don&apos;t get a graph or any other information. I&apos;m using Chrome on Linux.
&gt; 
&gt; Any suggestions on what I need to do to view the regression?

The graph takes a little while to load, and there&apos;s no feedback that it&apos;s loading.

I&apos;m using Chrome on Linux as well, and this takes about 7 seconds to load:
http://chromium-perf.appspot.com/?tab=mac-release-10.6-webkit-latest&amp;graph=times&amp;trace=t&amp;rev=187433&amp;history=150&amp;master=ChromiumWebkit&amp;testSuite=page_cycler_intl2&amp;details=true

Could you try viewing again?
The regression is about 80% of the way across; if you mouseover you&apos;ll see the Chromium and WebKit revision numbers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>854076</commentid>
    <comment_count>8</comment_count>
    <who name="Nils Barth">nbarth</who>
    <bug_when>2013-03-12 23:12:49 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; (In reply to comment #2)
&gt; &gt; How do I access the source of the test that observed the regression?
&gt; 
&gt; Command line looks to be:
&gt; /b/build/slave/Mac10_6_Perf/build/src/out/Release/performance_ui_tests --gtest_filter=PageCycler*.Intl2File:PageCycler*.*_Intl2File

BTW, this is determined by:
* clicking through to build bot waterfall (from graph page),
* search for test suite (on waterfall page)
* click on stdio
* eyeballing the stdio for a likely command line</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>854115</commentid>
    <comment_count>9</comment_count>
      <attachid>192880</attachid>
    <who name="Robert Hogan">robert</who>
    <bug_when>2013-03-13 01:25:42 -0700</bug_when>
    <thetext>Created attachment 192880
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>854126</commentid>
    <comment_count>10</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2013-03-13 01:46:07 -0700</bug_when>
    <thetext>I&apos;m pretty sure this will solve the regression and feel a bit dumb for letting it through in the first place. My attempt to detect cases where the delayed load of an image would push the baseline of the row down incorrectly unless it is allowed to move up into the headroom above did not consider the case where we&apos;re laying out the row for the first time so the row doesn&apos;t have a baseline yet. In that situation it was laying out the cell a second time unnecessarily.

The page cycler test suite is a set of popular websites as far as I can tell, so there&apos;s no specific use-case to test. If Julien is OK with the patch I guess we just watch the Performance bots after it lands.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>855271</commentid>
    <comment_count>11</comment_count>
      <attachid>192880</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-03-14 10:04:01 -0700</bug_when>
    <thetext>Comment on attachment 192880
Patch

Clearing flags on attachment: 192880

Committed r145822: &lt;http://trac.webkit.org/changeset/145822&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>855273</commentid>
    <comment_count>12</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-03-14 10:04:07 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>855775</commentid>
    <comment_count>13</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2013-03-15 00:34:23 -0700</bug_when>
    <thetext>Fingers crossed, that appears to have done the trick:

http://chromium-perf.appspot.com/?tab=mac-release-10.6-webkit-latest&amp;graph=times&amp;trace=t&amp;rev=188265&amp;history=150&amp;master=ChromiumWebkit&amp;testSuite=page_cycler_intl2&amp;details=true</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>192880</attachid>
            <date>2013-03-13 01:25:42 -0700</date>
            <delta_ts>2013-03-14 10:04:00 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-112125-20130313082113.patch</filename>
            <type>text/plain</type>
            <size>2196</size>
            <attacher name="Robert Hogan">robert</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTQ1MzA1CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggODk1OTA3YmU2ZDEyNzMw
ZTMzOGZlN2E5MGQ4MDI1ZDU4MDY3OTY1Ny4uYmFlOWNlNDZjOGQxZmZhMTJjOGU0ZWQ1MzYwNWQ0
NDkyM2VlOTNlMCAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE2IEBACisyMDEzLTAzLTEzICBSb2Jl
cnQgSG9nYW4gIDxyb2JlcnRAd2Via2l0Lm9yZz4KKworICAgICAgICBSRUdSRVNTSU9OKHIxNDUz
MDUpIFBlcmZvcm1hbmNlOiAxLjMlIG1hYy1yZWxlYXNlLTEwLjYtd2Via2l0LWxhdGVzdC9pbnRs
Mi90aW1lcy90IGNoYW5nZSBhZnRlciByZXYgMTQ1MzAwCisgICAgICAgIGh0dHBzOi8vYnVncy53
ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xMTIxMjU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