9.7 · Frame budgets, ProMotion, hitches and hangs

Smooth is a number: frames delivered on time. Hitches and hangs are different problems with different tools, and ProMotion halves the time you have.

Mental model. Every frame has a deadline. Missing one is a hitch; missing many in a row, or blocking the main thread for a long time, is a hang.

Frame time

The budget, ProMotion and how to measure.

  1. What is a hitch versus a hang, how does ProMotion change the budget, and how do you measure and fix them? 9.7.1 · L5
    The display refreshes at a fixed rate and the system needs the next frame ready before each refresh. The budget is 1000 ms ÷ refresh rate: 16.7 ms at 60 Hz and…

More in Layout, rendering & animation