Uber Jul 25, 2019

Introducing Nanoscope: An Extremely Accurate Method Tracing Tool for Android Development

Article Summary

Uber's Android team hit a wall: their profiling tools were either too slow or too inaccurate to debug real performance issues.

When Uber's Mobile Engineering team set out to speed up their app by 50%+, they found Android Studio's method tracing slowed execution by orders of magnitude, while sampling missed critical details. So they built their own solution and open-sourced it.

Key Takeaways

Critical Insight

Uber built a method tracing tool that's accurate enough for production debugging while adding just 20 nanoseconds per method call.

The technical implementation details reveal why walking the stack for sampling is fundamentally less efficient than you'd think.

Recent from Uber

Related Articles