Chrome 125 ships with new Performance APIs that provide deeper insights into Core Web Vitals, enabling developers to debug and optimize web performance more effectively.
New Performance APIs
Long Animation Frames API
The Long Animation Frames API replaces the Long Tasks API with more comprehensive data:
const observer = new PerformanceObserver((list) => {
for (const entry of list.getEntries()) {
console.log({
duration: entry.duration,
renderTime: entry.renderTime,
styleAndLayoutTime: entry.styleAndLayoutTime,
scripts: entry.scripts.map(s => ({
name: s.name,
type: s.type,
duration: s.duration,
invoker: s.invoker,
})),
});
}
});
observer.observe({ type: 'long-animation-frame', buffered: true });
Navigation Activation API
Provides insights into how navigations are triggered:
- Distinguishes between link clicks, form submissions, and address bar entries
- Tracks BFCache restorations separately
- Enables more accurate CWV attribution
Updated PerformanceResourceTiming
Enhanced resource timing data:
- Response header size information
- Cross-origin redirect tracking
- Priority hints in resource timing entries
- More granular timing phases
Impact on CWV Debugging
These APIs enable:
- LCP Debugging: Identify exactly which resource is the LCP element and why it's slow
- INP Attribution: Pinpoint which event handler is causing poor INP
- CLS Source Identification: Know exactly which element shifted and why
SEO Implications
Better debugging tools mean:
- Faster identification of performance issues
- More accurate optimization efforts
- Better correlation between fixes and ranking changes
- Enhanced ability to demonstrate ROI of performance work
Browser Support
| API | Chrome | Firefox | Safari |
|---|---|---|---|
| Long Animation Frames | 125+ | Pending | Pending |
| Navigation Activation | 125+ | Pending | Pending |
| Enhanced ResourceTiming | 125+ | 128+ | 17.5+ |
Developer Resources
- Chrome Developers blog post
- Web.dev updated CWV debugging guides
- New Lighthouse 12 integration
- Updated web-vitals JavaScript library v5