Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Finding expensive styles without continuous paint mode

Chrome's continuous painting mode is very useful for determining what elements/styles on a page are slow to paint. This feature was quietly removed in chrome 46.

What is the best technique for finding expensive styles/elements now? Any articles or posts about alternative approaches would be very useful!

Thanks.

like image 235
JosiahDaniels Avatar asked Oct 20 '15 15:10

JosiahDaniels


1 Answers

See this article for a more detailed explanation.

The quick answer is that you can use the Timeline to identify long paint times, then use the Paint Profiler to see what paint commands are taking a long time. Once you have a long paint command identified, you can right-click on the command and Reveal in elements panel.

From the linked article: enter image description here

This covers most of the use cases that I used Continuous paint mode for.

like image 83
JosiahDaniels Avatar answered Nov 15 '22 09:11

JosiahDaniels