~/talk

Improve app performance with Android Studio Profilers

Talkat Google I/O 2018 · 2018-05-08..05-10· [android]
links:none on file
slides:none on file

Demos Android Studio Profilers (Network, Memory, CPU, Energy) in 3.1/3.2 and shows concrete fixes: network profiler reveals request/headers and thread that issued them; memory profiler gives live allocation timelines and finds many Strings allocated in onDraw; JNI global references appear in a special JNI heap; systrace integration lets developers profile threads and CPU scheduling; replacing String.format cuts a draw call from ~38 ms to ~13 ms; sessions import/export and debugger API tracing simplify capture. systrace in CPU profiler start method trace on startup energy profiler shows alarms and wake locks

AI-written summary · about

  1. 0:00Start
  2. 0:27Demo
  3. 0:47Energy Profiler
  4. 1:29Systrace
  5. 2:41Clock App
  6. 2:57Network Profiler
  7. 5:15Live a Location Tracking
  8. 6:49Global References
  9. 8:10Sessions Panel
  10. 9:47Recording a Method Trace on Startup
  11. 11:26The Flame Chart
  12. 15:21Colonel Section
  13. 17:03Draw Time
  14. 18:19Cpu Profiler
  15. 21:43Simple Perf
  16. 23:20Cpu and Network
~/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.