~/talk

Perfetto Your App for Perfect Performance

Talkat droidcon Berlin 2024 · 2024-07-03..07-05· [android, web-performance]
links:none on file
slides:none on file

Perfetto is a browser-based systemwide tracer that records CPU, threads, wake locks and UI events and shows jank when a frame exceeds 16.6 ms; traces come from ADB, Android Studio or a quick‑settings button and require adding a profilable flag to production builds for deeper data. The workflow is: record, inspect thread states and bounded transactions, add custom trace markers via Trace APIs or AndroidX Tracing KTX, instrument coroutines with a custom dispatcher, hook Looper.setMessageLogging and OkHttp or RxJava schedulers, then re-record to verify fixes.

AI-written summary · about

  1. 0:00Perfetto intro
  2. 1:07Perfetto vs Android Studio
  3. 2:31Recording on real devices
  4. 3:35Perfetto interface
  5. 6:48Custom trace markers
  6. 9:38Advanced instrumentation
  7. 12:51Summary
~/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.