Session
UI profiling in examples. Where is my bottleneck?
You developed a feature, tested it yourself - everything works well. You send it to the internal testing, your managers... And they say it is slow!
We ran into the exact same situation and dug into the tools that may be used to make your Android app work on 60 frames per second.
This presentation is intended for the people who haven't dived into the UI performance yet. You will see some examples of easy and fast ways to check if your app works well and if it is not, how to find the potential problem.
In the presentation, I will tell you about:
How android renders views and why does it matter to you (DisplayLists, Choreographer, VSync, Render Thread - things that will be covered)
How to understand that you have a problem (GPU profiling, SysTrace)
How to get metrics about the current rendering speed (fps) of your app ( dumpsys gfxinfo, Systrace, HierarchyViewer)
Some of our mistakes we made, how we found them and how we fixed them (overlaying Controllers (analog of Fragments), incorrect usage of RecyclerView with NestedScrollView
How to easily find GPU overdraw and fix it (using GPU overdraw in dev settings and export view layers in HierarchyViewer or Scalpel to show you the ways to improve)
How to be sure that the problem doesn’t regress (Android Vitals, dumpsys gfxinfo)

Artur Badretdinov
GDE, Director of Android Engineering @ Squire
Toronto, Canada
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top