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.
This was fixed long time ago.