Understanding performance with Core Web Vitals

Chrome for Developers · Beginner ·🌐 Frontend Engineering ·4y ago

Key Takeaways

The video discusses the Web Vitals initiative and Core Web Vitals metrics, including First Input Delay, Cumulative Layout Shift, and Largest Contentful Paint, and how tools like Lighthouse, Pagespeed Insights, and Chrome UX Report can help developers optimize user experience and web performance.

Full Transcript

[Music] and as the web gains new features and capabilities another theme we hear is the importance of helping developers get the best results they can out of the modern web platform now one way we're doing this is the web vinyls program which is the result of years of research to understand what makes a web experience great with core web vitals we closely examined many factors that lead to high quality user experiences and we identified three quantifiable measures that have a big impact now these are one how quickly a user can see a site's most important content two how quickly a user can start to interact with that site and three the stability of the site's layout over time and we've found that websites which optimize these measures are consistently more successful to tell us more i'd like to introduce hussein thanks ben so if you want to build a great website you need to understand how it performs from a real user's point of view that's what the web vitals initiative is all about giving developers and site owners the metrics tools and guidance they need to deliver a great experience for every user last year we announced that the core of vitals a set of three metrics that covers loading performance input responsiveness during load and the visual stability of content will begin to be surfaced across tools provided by google to help developers build great user experience so what's happened in the past year thanks to developers around the world working hard in improving their sites the ecosystem as a whole is steadily improving 20 more page visits in chrome now fully meet the recommended core vital thresholds compared to a year ago and the total percentage of page visits in chrome that meet these thresholds is now 60 which is a big deal much of these advancements are a direct result of the work being done by developer communities including the improvements that many content management systems website builders and e-commerce platforms have made this past spring we launched a new core vitals technology report to show how sites built on these platforms perform you can see that many are sharply up and to the right with some showing more than 200 improvement year on year and leaders like duda and jimdo surpassing 50 of origins with good core vital scores we've also worked with some popular javascript frameworks including next.js and angular to deliver the best user experience as possible without sacrificing developer experience we're calling this initiative aurora and thanks to the work we've done to land strong defaults and optimized performance in less than a year we've seen 91 percent and 111 increases in the number of mobile and xgs and angular origins respectively that have good core revital scores that's incredible progress in a short time span and we can't wait to see similar growth in other framework ecosystems in the near future like next we know that optimizing for core vitals can still be challenging for the everyday developer so we've got a couple of new updates to our performance tooling that make the process a lot easier first we started with a complete revamp of the pagespeed insights ui pagespeed insights is a great tool because it'll show you real user data from the chrome ux report and will also run a lighthouse report and show suggestions and opportunities to improve based on a synthetic load of the page in a lab environment the new ui makes it much clearer which data is field data coming from real user experiences and which data is lab data coming from the lighthouse report if you want to check a core vital score you should always look at real user field data for anyone who wants specific actionable suggestions for how to improve performance the lighthouse report is a great place to start next up we've worked on addressing a blind spot that our tooling hasn't been able to capture yet user flows some of our tools have been limited by only assessing your pages during load they wouldn't scroll down the page click around or do anything else that users typically do as they browse the web for example consider a typical checkout flow where someone needs to perform a number of different actions to order some coffee like navigating through several pages adding items to a cart and confirming their payment details in the past we could only measure the performance of each page separately but think about how much more we could learn about the overall user experience by measuring every action and navigation in between we're glad to announce that we've rolled out support for user flows in lighthouse which will only make it easier to diagnose performance issues within a user journey and get suggestions for how to improve lighthouse will be able to distinguish and provide separate reports for page navigations any user interactions that occur during a given time span and snapshots to represent a capture state of a page and it's not just a lighthouse where we're introducing support to analyzing user flows we launched a completely new recorder panel in devtools that will also let you record an entire user journey on your website and easily view all the actions taken by the user directly in the panel such as navigations key presses link clicks and so on you can download the user flow and export it as a puppeteer script for testing replay it and even click and easily measure the performance trace in the performance panel not only will this make the process of understanding and debugging interactions easier it will also help you better identify performance opportunities throughout the user journey the recorder panel is currently in the preview stage and the team is working on it actively so stay tuned for more features all of our tooling has been instrumental to how the core volumetrics have helped developers succeed in improving the user experiences of millions of sites around the world and all these brand new changes will go a long way to help you understand precisely where and how you can keep getting better now what's next for the core vital metrics themselves well there's more to great user experiences than just three areas and we're working hard to fill the gaps that the current set of metrics don't address just yet we're excited to introduce two new metrics we've been experimenting with that we think will improve how user experience is measured on the web and we'd love to get your feedback on the first is a metric to measure overall input responsiveness today we measure the responsiveness of the first user input but ideally we want to extend that to capture every user input from the moment they land on your site to the moment they leave we've also made improvements to the apis that capture event timing so we can better monitor the full event life cycle and better handle complex user inputs that trigger more than one event the second metric measures scrolling and animation's smoothness i'm sure if all had experiences or a page will stutter or freeze during scrolling or animations we want to better understand how often this happens and how severe it is we're still working on both of these metrics and we'd love to hear your feedback these articles explain our current thinking in detail so give them a read and think about how using them can help improve the user experience of your site feel free to send us an email if you have any thoughts or suggestions we're excited about all the advancements that have been made to help developers succeed in building fast delightful experiences for their users in the metrics themselves from the community and directly in many tools and platforms if you haven't already go to pagespeed insights to see how your site scores on the core of vitalmetrics we also have a number of other great tools that you can also use to continuously monitor and optimize your site's performance so be sure to check them out to see which one works best for you now i'll pass it back to ben before we share some exciting updates about ux design thanks usain i'm really excited to see how core web vitals evolves in the coming years [Music] you

Original Description

Learn how the Web Vitals initiative gives developers the metrics, tools, and guidance they need to deliver a great experience for every user. Resources: Measure Input Responsiveness → https://goo.gle/WebDevResponsiveness Measure Scrolling and Animation Smoothness → https://goo.gle/WebDevSmoothness Audit User Flows in Lighthouse → https://goo.gle/WebDevLighthouse PageSpeed Insights → https://goo.gle/WebDevPagespeed Audit User Flows in DevTools → https://goo.gle/devtools-recorder/ Watch more: Watch all Chrome Developer Summit videos → https://goo.gle/cds21-allsessions Subscribe to Google Chrome Developers → https://goo.gle/ChromeDevs #ChromeDevSummit
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Chrome for Developers · Chrome for Developers · 0 of 60

← Previous Next →
1 Polymer Performance Patterns (The Polymer Summit 2015)
Polymer Performance Patterns (The Polymer Summit 2015)
Chrome for Developers
2 Polymer Power Tools (The Polymer Summit 2015)
Polymer Power Tools (The Polymer Summit 2015)
Chrome for Developers
3 Chrome Dev Summit 2014 – Chrome Case Studies
Chrome Dev Summit 2014 – Chrome Case Studies
Chrome for Developers
4 Web Directions Code 2015 round up
Web Directions Code 2015 round up
Chrome for Developers
5 Maintainable Code - HTTP203
Maintainable Code - HTTP203
Chrome for Developers
6 iron-ajax… wat?! -- Polycasts #26
iron-ajax… wat?! -- Polycasts #26
Chrome for Developers
7 The Guardian - Supercharged
The Guardian - Supercharged
Chrome for Developers
8 ES2015 (next version of JavaScript), Totally Tooling Tips (S2 Ep1)
ES2015 (next version of JavaScript), Totally Tooling Tips (S2 Ep1)
Chrome for Developers
9 #AskPolymer: Rob answers all the questions ever -- Polycasts #27
#AskPolymer: Rob answers all the questions ever -- Polycasts #27
Chrome for Developers
10 The Future of JavaScript - HTTP203
The Future of JavaScript - HTTP203
Chrome for Developers
11 Data Binding 101 -- Polycasts #28
Data Binding 101 -- Polycasts #28
Chrome for Developers
12 The Guardian part 2 - Supercharged
The Guardian part 2 - Supercharged
Chrome for Developers
13 The Future of Web Audio: with Chris Wilson and Chris Lowis
The Future of Web Audio: with Chris Wilson and Chris Lowis
Chrome for Developers
14 Chrome 46: New motion-path animations, client hints and service worker improvements
Chrome 46: New motion-path animations, client hints and service worker improvements
Chrome for Developers
15 Sublime Snippets, Totally Tooling Tips (S2 Ep2)
Sublime Snippets, Totally Tooling Tips (S2 Ep2)
Chrome for Developers
16 #AskPolymer: How do you make the show? -- Polycasts #29
#AskPolymer: How do you make the show? -- Polycasts #29
Chrome for Developers
17 Critical Path CSS, Totally Tooling Tips (S2 Mini Tip #1)
Critical Path CSS, Totally Tooling Tips (S2 Mini Tip #1)
Chrome for Developers
18 Binding to Objects -- Polycasts #30
Binding to Objects -- Polycasts #30
Chrome for Developers
19 Player FM - Supercharged
Player FM - Supercharged
Chrome for Developers
20 Where’s the Designer? #AskPolymer -- Polycasts #31
Where’s the Designer? #AskPolymer -- Polycasts #31
Chrome for Developers
21 Jake Beats Wikipedia - HTTP203
Jake Beats Wikipedia - HTTP203
Chrome for Developers
22 Supercharged Observers! -- Polycasts #32
Supercharged Observers! -- Polycasts #32
Chrome for Developers
23 Jai's Web blog - Supercharged
Jai's Web blog - Supercharged
Chrome for Developers
24 Windows Command-line Tooling, Totally Tooling Tips (S2, Ep4)
Windows Command-line Tooling, Totally Tooling Tips (S2, Ep4)
Chrome for Developers
25 What about internationalization? #AskPolymer -- Polycasts #33
What about internationalization? #AskPolymer -- Polycasts #33
Chrome for Developers
26 Developing for Billions (Chrome Dev Summit 2015)
Developing for Billions (Chrome Dev Summit 2015)
Chrome for Developers
27 Google+ Performance Improvement Comparison
Google+ Performance Improvement Comparison
Chrome for Developers
28 Deploying HTTPS: The Green Lock and Beyond (Chrome Dev Summit 2015)
Deploying HTTPS: The Green Lock and Beyond (Chrome Dev Summit 2015)
Chrome for Developers
29 Progressive Web Apps (Chrome Dev Summit 2015)
Progressive Web Apps (Chrome Dev Summit 2015)
Chrome for Developers
30 Instant Loading with Service Workers (Chrome Dev Summit 2015)
Instant Loading with Service Workers (Chrome Dev Summit 2015)
Chrome for Developers
31 Increase Engagement with Web Push Notifications (Chrome Dev Summit 2015)
Increase Engagement with Web Push Notifications (Chrome Dev Summit 2015)
Chrome for Developers
32 Engaging with the Real World: Web Bluetooth and Physical Web (Chrome Dev Summit 2015)
Engaging with the Real World: Web Bluetooth and Physical Web (Chrome Dev Summit 2015)
Chrome for Developers
33 Asking for Permission: respectful, opinionated UI (Chrome Dev Summit 2015)
Asking for Permission: respectful, opinionated UI (Chrome Dev Summit 2015)
Chrome for Developers
34 Polymer - State of the Union (Chrome Dev Summit 2015)
Polymer - State of the Union (Chrome Dev Summit 2015)
Chrome for Developers
35 Building Progressive Web Apps with Polymer (Chrome Dev Summit 2015)
Building Progressive Web Apps with Polymer (Chrome Dev Summit 2015)
Chrome for Developers
36 Introduction to RAIL (Chrome Dev Summit 2015)
Introduction to RAIL (Chrome Dev Summit 2015)
Chrome for Developers
37 DevTools in 2015: Authoring to the max (Chrome Dev Summit 2015)
DevTools in 2015: Authoring to the max (Chrome Dev Summit 2015)
Chrome for Developers
38 RAIL in the real world (Chrome Dev Summit 2015)
RAIL in the real world (Chrome Dev Summit 2015)
Chrome for Developers
39 #ChromeDevSummit talks are up - W00T! -- Polycast #34
#ChromeDevSummit talks are up - W00T! -- Polycast #34
Chrome for Developers
40 V8 Performance from the Driver's Seat (Chrome Dev Summit 2015)
V8 Performance from the Driver's Seat (Chrome Dev Summit 2015)
Chrome for Developers
41 Quantify and improve real-world RAIL (Chrome Dev Summit 2015)
Quantify and improve real-world RAIL (Chrome Dev Summit 2015)
Chrome for Developers
42 Owning your performance: RAIL (Chrome Dev Summit 2015)
Owning your performance: RAIL (Chrome Dev Summit 2015)
Chrome for Developers
43 HTTP/2 101 (Chrome Dev Summit 2015)
HTTP/2 101 (Chrome Dev Summit 2015)
Chrome for Developers
44 Leadership Panel (Chrome Dev Summit 2015)
Leadership Panel (Chrome Dev Summit 2015)
Chrome for Developers
45 Build Processes, Totally Tooling Tips (S2, Ep 5)
Build Processes, Totally Tooling Tips (S2, Ep 5)
Chrome for Developers
46 Accessibility (Chrome Dev Summit 2015)
Accessibility (Chrome Dev Summit 2015)
Chrome for Developers
47 Binding to Arrays -- Polycasts #35
Binding to Arrays -- Polycasts #35
Chrome for Developers
48 HTTP2 - HTTP203
HTTP2 - HTTP203
Chrome for Developers
49 Chrome 47: Splash Screens, requestIdleCallback and better desktop notifications (New in Chrome)
Chrome 47: Splash Screens, requestIdleCallback and better desktop notifications (New in Chrome)
Chrome for Developers
50 Call For Submissions - Supercharged
Call For Submissions - Supercharged
Chrome for Developers
51 Cross Device Testing, Totally Tooling Tips (S2 Ep6)
Cross Device Testing, Totally Tooling Tips (S2 Ep6)
Chrome for Developers
52 Testing AJAX with Web Component Tester -- Polycasts #37
Testing AJAX with Web Component Tester -- Polycasts #37
Chrome for Developers
53 Slack: Extended Xmas Special - Supercharged
Slack: Extended Xmas Special - Supercharged
Chrome for Developers
54 Browser testing with Travis & Sauce Labs -- Polycasts #38
Browser testing with Travis & Sauce Labs -- Polycasts #38
Chrome for Developers
55 Optimize for production with Vulcanize -- Polycasts #39
Optimize for production with Vulcanize -- Polycasts #39
Chrome for Developers
56 Highlights from Chrome Dev Summit 2015
Highlights from Chrome Dev Summit 2015
Chrome for Developers
57 Chrome 48: Custom buttons in notifications, DevTools Security panel, and Presentation mode
Chrome 48: Custom buttons in notifications, DevTools Security panel, and Presentation mode
Chrome for Developers
58 Crisper: Protecting your Polymer app with CSP -- Polycasts #40
Crisper: Protecting your Polymer app with CSP -- Polycasts #40
Chrome for Developers
59 How do I use Sass with Polymer? #AskPolymer -- Polycasts #41
How do I use Sass with Polymer? #AskPolymer -- Polycasts #41
Chrome for Developers
60 Colors – DevTools Tonight #0 (Pilot)
Colors – DevTools Tonight #0 (Pilot)
Chrome for Developers

The Web Vitals initiative provides developers with metrics, tools, and guidance to deliver a great user experience. Core Web Vitals metrics, such as First Input Delay, Cumulative Layout Shift, and Largest Contentful Paint, can be used to optimize user experience and web performance. Tools like Lighthouse, Pagespeed Insights, and Chrome UX Report can help developers monitor and optimize site performance.

Key Takeaways
  1. Measure Input Responsiveness using the provided resource
  2. Measure Scrolling and Animation Smoothness using the provided resource
  3. Use Lighthouse to diagnose performance issues within a user journey
  4. Record and view user journeys using the new recorder panel in DevTools
  5. Monitor site performance with Pagespeed Insights
  6. Optimize site performance using Core Web Vitals metrics
💡 The Web Vitals initiative provides a set of metrics and tools to help developers optimize user experience and web performance, and continuous monitoring and optimization can lead to improved user experience and business success.

Related Reads

📰
Why Vanilla JS? In the article below, I am sharing my story of building SaaS product in vanilla js and explaining why I decided to go with this approach. https://guseyn.com/html/posts/why-vanilla-js.html
Learn why choosing Vanilla JS can be a great approach for building SaaS products and how it can simplify development
Dev.to · Guseyn Ismayylov
📰
How to Create a Cursor Tail Using HTML, CSS, and JavaScript
Learn to create a colorful cursor tail using HTML, CSS, and JavaScript for a unique user interface effect
Medium · JavaScript
📰
I built a landing page with Three.js, vanilla JS, and zero frameworks — here's what I learned
Learn how to build a landing page with Three.js and vanilla JS without relying on frameworks, and discover the key takeaways from this project
Dev.to · Ayush Shekhar
📰
Part 1: Why I Rarely Use useEffect Anymore (and what I use instead)
Learn why useEffect is not always the best choice in React and discover alternative solutions
Dev.to · Alejandro
Up next
How To Build A Twitter Clone - React Next JS - Appwrite Crash Course
Adrian Twarog
Watch →