Glance Jul 20, 2023

Enhancing App Performance: A Practical Approach at Glance

Article Summary

Glance powers lockscreens for millions across India, Indonesia, Latin America, and Japan. Zero tolerance for lag when you're the first thing users see.

Jai Goyal from Glance's Android team breaks down their performance optimization playbook. They've built a systematic approach combining passive monitoring, profiling, benchmarking, and power analysis to keep their lockscreen experience buttery smooth across diverse OEM integrations.

Key Takeaways

Critical Insight

Glance maintains zero lag tolerance on lockscreens by layering passive monitoring, JankStats tracking, macrobenchmarks, and power profiling into their development workflow.

The article reveals why their team prioritizes macrobenchmarks over microbenchmarks, and includes the exact Gradle configuration they use for production benchmark builds.

Recent from Glance

Related Articles