~/talk

Performance in a Kotlin world

Talkat Chicago Roboto 2020 · 2020-09-28..09-29· [kotlin, web-performance]
slides:none on file

Shows concrete diagnostics and fixes: uses the Android Studio CPU profiler (trace vs sample, flame charts, threads, energy/memory/network panes) to find a bootstrap JSON parse that is bootstrap JSON blocking onCreate and Kotlin eager list operators that allocate heavily; shifts work to background, precomputes timezone/truncate work, and implements a lightweight thunk to avoid allocations to cut main‑thread time. Also demonstrates the Jetpack Benchmarking setup (non‑debug builds, measureRepeated, k‑means clustering) and reports wins like reducing ~30ms first paint toward ~1–2ms.

AI-written summary · about

  1. 0:00Start
  2. 10:27Bug: Slow startup
  3. 22:12Bug: Schedule slow
  4. 35:00Fully optimized code is often
  5. 38:31Enough slide tips
~/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.