Software Engineer on the Android Toolkit team.
This talk describes adventures in building a Kotlin Multiplatform Library for Benchmarking and Tracing.
The goal is to be able to produce trace sections that show up in Platform native tracing toolkits (Perfetto, Instruments), and micro-benchmark critical sections of code.
We will explore how to effectively integrate with platform specific toolkits & infrastructure, and Swift interop. We will also look at examples on how this library was used to measure and catch regressions when building Kotlin Multiplatform libraries in Jetpack.