~/talk

Performance in a Kotlin world

Talkat droidcon NYC 2019 · 2019-08-26..08-27· [android]
slides:none on file

Uses Android Studio Profiler (CPU, memory, network, energy), Jetpack Benchmarking, and Systrace to find real bottlenecks: a schedule screen renders twice and runs heavy list transformations but the hotspot is timestamp truncation and header string creation, not list-copy allocations. Fixes include caching transformed data, lazy header thunks (adds allocations but reduces main-thread work), and options like async layout inflation or prepopulating RecyclerView pools. Benchmarks run release builds repeatedly to get stable numbers; Systrace pinpoints skipped frames and per‑CPU scheduling during flings.

AI-written summary · about

  1. 0:00Introduction to performance
  2. 3:40Measuring performance goals
  3. 4:23Android Studio profilers overview
  4. 6:46CPU profiler deep dive
  5. 12:23Kotlin performance problems
  6. 16:36Flame chart analysis
  7. 20:07Optimizing Kotlin code
  8. 24:16Fully optimized code pitfalls
  9. 24:37Benchmarking basics
  10. 27:26Android Studio benchmark module
  11. 30:13Systrace profiling demo
  12. 33:20Systrace advanced features
  13. 34:03Summary and Q&A
~/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.