The heavy pages get another three to six times faster
The speed work continued straight after the morning release, and the profiles kept naming real problems. The biggest was hiding in tables: to size a table the engine measured every cell once, then laid every cell out a second time at its final position. Tables inside tables therefore doubled the work at every level of nesting, and one box on an encyclopedia article was being laid out 4,096 times. The cell is now simply moved to its final position instead of being rebuilt, and that article's layout went from about a second to 82 milliseconds. Style matching got sharper too: utility-style class names with escaped characters, which modern design systems use heavily, were being tested against every element on the page instead of being looked up like normal classes - on a Q&A site question that alone removed almost two seconds. As always, every page was verified to render pixel-for-pixel identically to before.