Bug 120495
| Summary: | [Grid Layout] Content-sized resolution should only happen on content-sized tracks | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bdakin, dino, hyatt, simon.fraser, svillar |
| Priority: | P2 | Keywords: | BlinkMergeCandidate |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ryosuke Niwa
Consider merging https://chromium.googlesource.com/chromium/blink/+/26c7fde92a23277ca9f38e605f41927812a9dc37
The current code would always try to run the content sized
algorithm regardless of whether this was needed. On top of
it, it would iterate over ALL grid items, even if only a
small set of the tracks were content-sized.
This change stores of which tracks are content-sized and
use the internal grid to only iterate over these tracks.
On a Z620, this speeds up
PerformanceTests/Layout/fixed-grid-lots-of-data.html from
about 550 runs / sec to 830 runs / sec.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sergio Villar Senin
This was fixed long time ago.