Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Optimizing & Profiling UI Performance

Optimizing & Profiling UI Performance

Presented at 360|AnDev 2016

Brenda Cook

July 29, 2016
Tweet

More Decks by Brenda Cook

Other Decks in Programming

Transcript

  1. 1 second (1000ms) / 60 frames = 16.67ms per frame

    FPS is capped by device display (refresh rate Hz) due to VSync
  2. 3 Double Buffering 0 1 2 1 2 CPU GPU

    Display 1 1 Front Buffer CPU GPU Back Buffer 2 3 3 VSync VSync VSync VSync Frame Drop
  3. 4 3 Triple Buffering 0 1 2 3 1 2

    CPU GPU Display 1 1 Front Buffer CPU GPU Back Buffer CPU GPU 3rd Buffer 2 3 4 VSync VSync VSync VSync Frame Drop