Chrome DevTools Just Got Better: Use Live Metrics & AI to Tame Web Performance
For those who have ever wondered about the performance of a webpage, I attended Google I/O and have shared the details in this post. Firstly, I have often been put off using chrome developer tools for performance because of the intimidating set up whereby chrome developer tool records the loading of a webpage and then provides what is called a performance trace, as shown in screenshot.
Nerds may
love this, but this induces many including myself into having a thousand-yard stare. Analysis
required a degree in computer science that is absent here and for most.
Alternative to chrome
developer tools: webpagetest.org
Instead, I
personally used https://www.webpagetest.org/
for situations where analysis was needed on these types of projects and avoided
using lighthouse and indeed interacting with chrome developer tools to a large
degree.
The
webpagetest tool provided screenshots and video captured as the page loads, page
performance and core web vitals information for the page. All this using a
configuration of preferred browser, location, & device options. Brilliant.
Changes to chrome
developer tools performance tab
Google, the
developers of chrome, have listened to feedback and have, in their Google I/O
Extended, provided details of updates new in chrome developer tools. Now, the
default screen of the performance tab is substituted for a Live Metrics panel.
This panel shows the core web vitals information, as before, and when switching
from page to page, it updates. A traffic light system denotes whether you are
in the safety of green or the danger of red for the core web vitals metrics
LCP, CLS and INP.
But wait, there is more.
The core web vitals metrics
can be broken down into Local Metrics and Field Metrics. The latter form the
chrome UX report shows how your page viewers experience your page – thanks to
the anonymous data opt-in via Google chrome. The former can be tweaked by
emulating different types of machines used to view the webpage. So, you can
emulate how most users experience the page and are a function of your machine
and the devices it emulates.
AI assistance in chrome
developer tools performance tab and elements tab
As with all
technology updates these days there is an artificial intelligence
context and this is no exception: Gemini provides AI assistance in chrome
developer tools as part of chrome 137 and up. This is wherein the key advantage
lies in using chrome developer tools. A developer can converse with an agent
(Gemini 2.5 Pro) and test changes to a page derived from AI chats where elements
are modified manually or by AI. Indeed, Barry Pollard at Google I/O Extended
was able to curve the styling of elements of a webpage via Gemini. There is
currently no need for a Gemini subscription for AI assistance in chrome
developer tools.
All in all,
a fascinating development from Google at the recent Google I/O event and another tool in all the best web entusiast's stack.