Interaction Replay Debugger
Analyzes web performance by capturing detailed event timing and identifying responsiveness bottlenecks during user interactions.
The Interaction Replay Debugger is a specialized performance analysis skill that leverages the Event Timing API and Long Animation Frame (LoAF) data to diagnose UI lag. It automates the process of measuring Interaction to Next Paint (INP) by instrumenting Chromium browsers to track every click and keystroke. By breaking down interactions into input delay, processing time, and presentation delay, it helps developers pinpoint exactly whether slowness is caused by main-thread congestion, heavy event handlers, or expensive rendering cycles.
Key Features
01Correlation between slow interactions and Long Animation Frames (LoAF)
021 GitHub stars
03Full Event Timing API breakdown including input delay and presentation delay
04Automated INP (Interaction to Next Paint) calculation and rating
05Script attribution to identify specific functions causing main-thread blocking
06Console error tracking mapped to specific user interactions
Use Cases
01Debugging slow click or typing responses on complex web applications
02Measuring and optimizing Core Web Vitals for production readiness
03Identifying specific JavaScript functions causing UI thread bottlenecks