Browser Performance & CLS Testing
Measures web page performance, Cumulative Layout Shift (CLS), and network waterfall metrics using Playwright and Chrome DevTools Protocol.
Browser Performance & CLS Testing equips Claude Code with ready-to-run Playwright and Chrome DevTools Protocol (CDP) scripts to diagnose frontend performance bottlenecks before and after making code changes. It analyzes load times, network waterfalls, script durations, and layout recalculations to identify blocking requests or unnecessary re-renders. Additionally, it offers precise Cumulative Layout Shift (CLS) detection and dark theme flicker analysis to ensure visual stability and smooth user experiences across viewport transitions.
Características Principales
01Tracks Chrome internal counters including JS heap memory and layout recalculations
02Detects dark mode theme hydration flickering at initial paint
03Quantifies Cumulative Layout Shift (CLS) with automated scroll and action sequences
04Measures page load metrics and network waterfalls via Chrome DevTools Protocol
05Identifies sequential vs. parallel network request bottlenecks
062 GitHub stars
Casos de Uso
01Benchmarking frontend performance and visual shifts before and after refactoring code
02Eliminating layout instability and theme flicker in Next.js or React applications
03Diagnosing slow page loads caused by sequential API fetches or render-blocking scripts