<?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>304869</bug_id>
          
          <creation_ts>2026-01-02 15:35:57 -0800</creation_ts>
          <short_desc>[Grid] Lots of time spent in GridTrackSizingAlgorithm::accumulateIntrinsicSizesForTrack with subgrids that span lots of rows</short_desc>
          <delta_ts>2026-01-20 10:07:16 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=302529</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=232176</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sammy Gill">sgill26</reporter>
          <assigned_to name="Sammy Gill">sgill26</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>ntim</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2168955</commentid>
    <comment_count>0</comment_count>
      <attachid>477890</attachid>
    <who name="Sammy Gill">sgill26</who>
    <bug_when>2026-01-02 15:35:57 -0800</bug_when>
    <thetext>Created attachment 477890
Testcase

In the attached test case we end up spending a lot of time in this function</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2168956</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-01-02 15:36:09 -0800</bug_when>
    <thetext>&lt;rdar://problem/167456605&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2168958</commentid>
    <comment_count>2</comment_count>
    <who name="Sammy Gill">sgill26</who>
    <bug_when>2026-01-02 15:42:31 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/56024</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2169469</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-01-05 13:47:37 -0800</bug_when>
    <thetext>Committed 305121@main (425f9293f8d4): &lt;https://commits.webkit.org/305121@main&gt;

Reviewed commits have been landed. Closing PR #56024 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2173371</commentid>
    <comment_count>4</comment_count>
    <who name="Sammy Gill">sgill26</who>
    <bug_when>2026-01-20 10:07:16 -0800</bug_when>
    <thetext>*** Bug 232176 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>477890</attachid>
            <date>2026-01-02 15:35:57 -0800</date>
            <delta_ts>2026-01-02 15:35:57 -0800</delta_ts>
            <desc>Testcase</desc>
            <filename>subgrid-perf.html</filename>
            <type>text/html</type>
            <size>914</size>
            <attacher name="Sammy Gill">sgill26</attacher>
            
              <data encoding="base64">CjxodG1sPgogIDxoZWFkPgogIDxzdHlsZT4KICAgIC5ncmlkIHsKICAgICAgZGlzcGxheTogZ3Jp
ZDsKICAgICAgZ3JpZC10ZW1wbGF0ZS1jb2x1bW5zOiBhdXRvOwogICAgICBib3JkZXI6IDFweCBz
b2xpZCBncmVlbjsKICAgIH0KCiAgICAuc3ViZ3JpZCB7CiAgICAgIGRpc3BsYXk6IGdyaWQ7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