Diagnose a slow browser interaction with performance tools
8 steps · about 2 h 38 min · Intermediate
- Record a controlled interaction (guide, Chrome for Developers, 24 min)
Capture a trace around one reproducible action instead of profiling an unfocused browsing session.
- Classify the delayed interaction (guide, web.dev, 26 min)
Separate response, animation, idle and load work so the trace is judged against the right user expectation.
- Rule network delay in or out (guide, Chrome for Developers, 22 min)
Inspect queueing, connection, server wait and download timing rather than blaming JavaScript for every pause.
- Recognize blocked main-thread periods (reference, MDN Web Docs, 12 min)
Use the long-task threshold as a signal to inspect work that prevents prompt input handling.
- Collect long-task attribution (reference, MDN Web Docs, 16 min)
Add field-oriented observation when a lab trace alone cannot reproduce the user's device conditions.
- Spot forced layout patterns (guide, web.dev, 22 min)
Connect repeated style reads and writes to expensive synchronous layout work.
- Visualize rendering work (guide, Chrome for Developers, 16 min)
Use paint flashing and frame statistics to test whether repaints or frame throughput match the trace.
- Compare the corrected trace (guide, web.dev, 20 min)
Break up the identified long task, repeat the same interaction and verify that responsiveness improves without a new regression.