TLDR Web Dev · ARTICLES & TUTORIALS
REPORTING CORE WEB VITALS WITH THE PERFORMANCE API
Summary from the TLDR Web Dev newsletter
The Performance API is a set of standards for measuring and evaluating performance metrics with JavaScript. This article demonstrates how to use the Performance API to generate performance metrics directly in the DOM to create your own reporting. Chromium-based browsers have the best support for all Core Web Vitals (CWV) properties. Firefox offers partial support.