<?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>120452</bug_id>
          
          <creation_ts>2013-08-28 20:41:46 -0700</creation_ts>
          <short_desc>Inline ComputeFloatOffsetAdapter::updateOffsetIfNeeded and rangesIntersect</short_desc>
          <delta_ts>2013-08-28 20:44:52 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>120237</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BlinkMergeCandidate</keywords>
          <priority>P2</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>barraclough</cc>
    
    <cc>dino</cc>
    
    <cc>hyatt</cc>
    
    <cc>kling</cc>
    
    <cc>koivisto</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>922335</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-08-28 20:41:46 -0700</bug_when>
    <thetext>Merge https://chromium.googlesource.com/chromium/blink/+/4a84548b66b982f833d669097e83ce23d76bc1d2

Both functions are only called from ComputeFloatOffsetAdapter::collectIfNeeded, so shouldn&apos;t add much to binary size, in fact when I checked it seemed to actually result in a (slightly) smaller binary.

Gives roughly 400ms gain on my z620 for bookish from tough_layout_cases, and roughly 7.5% gain on floats_50_100 from blink_perf on linux.


No Patch:
Binary Size: 138797688

*RESULT times: page_load_time= [3006,2902,2860,2791,2826,2946,2888,2797,2805,3250,2918,2845,2800,2825,2814,2922,3275,2817,3172] ms
Avg times: 2918.894737ms
Sd  times: 152.052584ms

Pages: [floats_50_100.html]
*RESULT floats_50_100: floats_50_100= [249.058999936,248.852000106,249.21899999,249.039000017,249.643999967] ms
Avg floats_50_100: 249.162600ms
Sd  floats_50_100: 0.298919ms


With Patch:
Binary Size: 138797176

*RESULT times: page_load_time= [2660,2417,2517,2488,2427,2479,2486,2480,2462,2476,2531,2465,2486,2476,2535,2504,2462,2586,2489] ms
Avg times: 2496.105263ms
Sd  times: 54.863360ms

Pages: [floats_50_100.html]
*RESULT floats_50_100: floats_50_100= [231.318000006,229.234999977,229.611000046,229.673999944,229.234000086] ms
Avg floats_50_100: 229.814400ms
Sd  floats_50_100: 0.865226ms</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>922336</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-08-28 20:44:52 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 120237 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>