~/talk

Gotta Go Fast (A Performance and Instruments Talk)

Talkat UIKonf 2018 · 2018-05-13..05-16· [web-performance]
links:none on file
slides:none on file

Shows how to detect dropped frames with a CADisplayLink and target a 16.7 ms frame budget, then uses Time Profiler and the Core Animation instrument to find root causes. Recommends background JPEG decoding via Core Graphics to eliminate image-decode stalls, and replacing NSDatas with a memcpy lowers an AR effect from 26% → 0.6% of frame work. Advises avoiding cornerRadius and unnecessary alpha/off‑screen rendering, caching IMP function pointers for ~2x faster calls, and preferring C for tight inner loops.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:47Why performance matters
  3. 3:34Main thread and frame drops
  4. 5:19Detecting dropped frames
  5. 5:39Time profiler basics
  6. 9:50Decoding JPEGs in background
  7. 12:35Common performance bottlenecks
  8. 14:00Core Animation instrument
  9. 15:46Avoid unnecessary alpha blending
  10. 17:10Prevent off-screen rendering
  11. 19:59Core Animation summary
  12. 21:01Bonus performance tips
  13. 25:20Final thoughts and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.