Profiling long tasks and frame times
With PerformanceObserver, take a long task of more than 50ms and draw it with a red bar under the frame time graph to find out what stops the screen.
- Category
- Optimization techniques
Technical terms · Long Tasks API (PerformanceObserver "longtask") · Frame time graph · Jank / hitch · performance.now