Calculate a Page's First Paint Time with Puppeteer

Tyler Clark
InstructorTyler Clark

Share this video with your friends

Send Tweet

In this lesson we are going to use the firstPaintTime metric from chrome's load times, as well as the navigation start from the W3C window metrics, to calculate how long it takes a page to paint. We will set up a quick function and test it out on google.com