Performance for Everyone
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
Pinterest's Android performance team built a universal 'Visually Complete' measurement system by embedding perceived latency tracking into a base UI class (BaseSurface). By walking the view tree and checking rendering status of common media view interfaces (PerfImageView, PerfTextView, PerfVideoView), any surface built on BaseSurface automatically gets user perceived latency metrics — eliminating the previous two engineer-weeks cost per surface. The system now monitors over 60 surfaces simultaneously and has been extended to iOS and web.
Table of contents
Default FeatureHard to MeasureAll-In-One SolutionWalk the View TreeIn ProductionInteresting CasesConclusionAcknowledgementsSort: