~/talk

High performance in Android

Talkat Voxxed Days Zurich 2017 · on Thursday, 2017-02-23· [android, web-performance]
slides:none on file

Lists concrete limits and tools: UI must hit 0.1s / 1s / 10s limits to avoid jank or ANRs; use Traceview and DDMS (allocation tracker, network tagging, heap viewer) plus Hierarchy Viewer and GPU rendering to find slow frames. Remove default window background, use merge/include/ViewStub to cut layout depth; prefer @IntDef over enums for smaller dex, avoid static Views and cancel async subscriptions to prevent memory leaks; batch/prefetch network calls, respect connectivity classes, and use exponential backoff to save battery.

AI-written summary · about

  1. 0:00Intro
  2. 1:02How did we start
  3. 2:12What is performance
  4. 2:24What does it mean
  5. 2:36Energy battery
  6. 2:55Programming pattern
  7. 3:38Security
  8. 4:33Debugging
  9. 4:56User engagement
  10. 6:54Responsiveness
  11. 7:56Error
  12. 8:21Long operations
  13. 8:57Background operations
  14. 9:28Splatter screen
  15. 10:16Services
  16. 10:43DBMS
  17. 13:08Networking
  18. 15:00MPSC
  19. 16:02Layout
  20. 17:17CoreView
  21. 18:22Layouts
  22. 19:21Merge Layout
  23. 21:07ComplexView
  24. 21:35Hierarchy viewer
  25. 22:31Emulator
  26. 23:49Memory
  27. 24:10Good or bad
  28. 24:46Which is more expensive
  29. 26:06Humans are readable
  30. 26:22Calculate surface
  31. 26:56Indepth annotation
  32. 27:38Start right from the beginning
  33. 28:20Always try to do this
  34. 28:35Static variables
  35. 29:34String buffer
  36. 30:01Huge database
  37. 31:07Static fields
  38. 32:42Memory leaks
  39. 33:50Weak references
  40. 35:07evan
  41. 35:19Spreading
  42. 35:42Tasks
  43. 36:28Path Loader
  44. 36:51Syntax Loader
  45. 37:23Intent Services
  46. 37:36Network
  47. 38:01Network types
  48. 40:03Around queue
  49. 40:21Catching responses
  50. 40:49Modified
  51. 41:06Exponential
  52. 42:01Feedback
~/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.