A performance trace includes an awful lot of data, and it's really great for being able to dig dive into that issue, but it's really overwhelming, particularly for new users, and it takes a long time to really understand how to use it properly. Well, we wanted to fix that, but at the same time not ruin the experience for all those hardcore developers, power users that do depend on this complexity. So we've tackled the problem with a number of changes in the panel that we believe solves that intimidation issue, and we're going to talk through them today. And it all starts when you first open the panel.
This is what you used to see, a big old empty space with not much information on it at all, and just telling you to do a full performance trace. We wanted a gentler introduction to performance analysis, something that didn't require taking a trace immediately, even before you know what you're looking at. We're calling it the live metrics screen, and it's the first improvement we're going to talk about today. Now, when you open the performance panel, this is what you see. It will immediately show you some details about the performance of the page that you're visiting. And it really is live. As you click, type, and interact with the page, and scroll down, and even click on other pages, the panel is continually updating with your performance metrics. This helps you identify exactly what performance bottlenecks you have, whether it's on page load or through particular interactions.
The live metrics screen is centered around the three core web vitals. These are three metrics that Google introduced five years ago to really measure, give a quick summary of how your page is performing. We have LCP, or large contentful paint, which is the loading metric, and shows how long it took from your click until the largest bit of content was shown on the page. CLS, or cumulative layout shift, says how much the content moved and jumped around, which is really quite annoying. Whenever you load a page, and you start reading, and an ad pops in, and you lose your place, and you're like, what's going on? And finally, interaction to next paint, which says how responsive your website is to interactions. When you click on something, do you immediately get some sort of visual feedback, or does it take a while and you're not even sure if the click's been registered?
Comments