~/talk

Performance in a Kotlin World

Talkat droidcon SF 2019 · 2019-11-18..11-19· [kotlin, web-performance]
slides:none on file

Shows how to find real Android bottlenecks using Android Studio profilers — CPU profiler, memory, energy and network — and system tracing (cystrace/Perfetto) plus the Jetpack Benchmarking library for CI. Example: schedule screen with ~200 sessions spends seconds in eager LiveData+map/filter chains that allocate multiple lists and block rendering; startup traces reveal Firebase init and Dagger graph work on application onCreate. Fixes include deferring menu/tags, converting eager transforms to a lazy thunk, and adding targeted benchmarks to detect regressions. cystrace

AI-written summary · about

  1. 0:00Introduction to performance
  2. 4:03Why performance matters
  3. 10:04Profiling Android apps
  4. 16:45Kotlin performance myths
  5. 22:25RecyclerView flame charts
  6. 28:50Optimizing Kotlin code
  7. 32:01Benchmarking in CI
  8. 38:01Advanced tracing tools
  9. 42:59Summary and tools
~/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.