~/talk

Debugging Application Performance

Talkat droidcon San Francisco 2018 · 2018-11-19..11-20· [web-performance, android]

Systrace shows exact CPU and thread timelines so developers spot concrete regressions: extra activities add 235 ms or 166 ms to startup, service transactions cost 8–11 ms, Apache loading on Android P adds about 17 ms, large background images can cost ~50 ms, a drawer inflate eats ~42 ms, and blocking IO bursts reach 25 ms; trace points (Trace.begin/End), Catapult/traceviewer, on-device Systrace and Android Studio CPU profiler are the recommended tools to find RXJava/Retrofit lock contention and which files or libraries to optimize.

AI-written summary · about

  1. 0:00Introduction to performance debugging
  2. 1:52What is Cyrace and why use it
  3. 3:37How to read a Cyrace trace
  4. 5:43Investigating app startup performance
  5. 7:52Analyzing the critical path
  6. 9:38Service transactions and delays
  7. 10:42Apache library removal impact
  8. 11:48View inflation times and trade-offs
  9. 13:10Drawer view inflation considerations
  10. 14:13Large images and startup delays
  11. 16:21Understanding thread states
  12. 18:45Blocking IO and bottlenecks
  13. 20:54Monitor contention in traces
  14. 21:58Background threads and IO contention
  15. 23:24Summary of Cyrace strategies
  16. 23:46How to capture traces for your app
  17. 27:15Processing and sharing traces
  18. 27:57Android Studio CPU profiler
  19. 28:43Q&A on network requests and traces
~/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.