gliyao
8/10/2013 - 3:29 AM

Make Your Views Fast by Evadne Wu

Make Your Views Fast by Evadne Wu

Make Your Views Fast by Evadne Wu

  • rendering pipeline

  • layer tree(your code) vs presentation tree => pass to render tree

  • blending vs compositing

view 疊太深 => draw into your own buffer <=> against animation

rendering time

CoreGraphics > UIView > CALayer

  • 3 Instagram secrects

Do things secretly and unseen.

Different kinds of work

Time X Disposable

Creation is costly

retain not copy.

tools

  • instruments
  1. core animation instrument (overdraw, misaligned, copied images)
  2. Allocations Instrument
  3. Threads Instrument