Optimizing the UI flow
summary
Describes implementing a UI watchdog to detect main-thread stalls: two implementation patterns (timer-based and RunLoop-based), how to collect watchdog results and concrete findings from the ICQ project, and how to analyze the collected stacks and profile accounting for synchronization costs. Covers common system APIs and popular libraries that interfere with watchdogs, workarounds, and the final watchdog configuration used in ICQ.
AI-written summary · about
chapters (6)
- 0:00UI optimization introduction
- 10:00Tools for latency detection
- 13:37Background and system module issues
- 18:39UX solutions
- 21:11Watchdog usage
- 25:07Summary and future plans
related talks
55mAutomated Testing in an iOS Project: The ICQ Case
27mCritical UIs: When User Tasks Test the Code
44mEfficient testing UI Android apps by example
45mUnit testing patterns for Concurrent code
50mAn Exploration of Debugging Techniques and Tools
21mWanna get rid of UI Jank?
24mHow to solve intermittent issues, aka Random Failures
29mHow to Shorten UI Test Run Times
