~/talk

Deep dive into Android Studio Profilers

Talkat Android Dev Summit 2018 · 2018-11-07..11-08· [android, developer-experience]
links:none on file
links:none on file
slides:none on file

Deep dive uses Android Studio Profilers on the Santa Tracker app to show concrete workflows: CPU recordings (sampled Java, trace Java, sample native, trace system calls) with flame/top-down/bottom-up views and a filter to highlight methods, exporting/importing .trace files, and frame jank detection at the 16 ms threshold (emulator shows more red frames than a device). Memory demo toggles Full allocation tracking vs Sampled/None, uses heap dumps and GC to find a retained Penguin Swim fragment caused by a nonstatic inner long‑running task and fixes it with proper cancellation, and shows manual instrumentation via trace beginSection/endSection.

AI-written summary · about

  1. 0:00Introduction
  2. 1:41Overview
  3. 2:19Demo
  4. 3:03CPU Profiler
  5. 3:47CPU Recordings
  6. 4:16Recording Details
  7. 4:41Zoom to Selection
  8. 5:25Call Stacks
  9. 6:22Customization
  10. 7:38Virtual Machine
  11. 7:57Zoom in
  12. 8:45Snowflake
  13. 11:02Flame
  14. 12:23Native Functions
  15. 13:21Tracing Functions
  16. 15:12CD Quiz
  17. 17:44System Cost
  18. 20:47Smooth UI
  19. 23:02Tracing Points
  20. 25:32Instrumentation
  21. 28:19Memory
  22. 32:12Depth
~/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.