~/talk

Zero* Cost Observability: A Deep Dive into the Jetpack Multiplatform Tracing Library

Talkat AndroidMakers by droidcon 2026 · on Thursday, 2026-04-09· at 13:30· [observability, kotlin]
slides:none on file

Library claims 10x faster than legacy ATrace (1.2 ms down to ~0.12 ms on Pixel 6A), emits Perfetto-format protos and supports swapping in custom back ends, and is KMP-ready for JVM + Android. Implementation uses zero allocations in the hot path via Wire mutable types and proto3, offloads serialization with coroutine intrinsics to reuse Dispatchers IO, and provides context propagation for coroutines plus a propagation token for callbacks. Benchmarks drive changes (atomics replaced, specialized collections, object pooling) and the end-to-end system demonstrably works in traces shown.

AI-written summary · about

  1. 0:00Tracing on Android
  2. 0:45Prior tracing API limits
  3. 5:18New tracing 2.0 library
  4. 8:03Tracing API basics
  5. 9:26Metadata in trace events
  6. 10:08Overlapping and nested events
  7. 11:12Call stack in traces
  8. 11:54Async context propagation
  9. 16:04Zero-cost tracing abstractions
  10. 26:54Performance benchmarks
  11. 29:43Resources and closing
~/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.