OkCredit Dec 20, 2022

Screen Response Time: A Critical Metric for User Experience

Article Summary

OkCredit reduced frozen frames by 40% by obsessing over a metric most Android teams ignore: screen response time.

The OkCredit Android team shares their deep dive into measuring and optimizing how fast screens load after a user taps. While web has First Input Delay and Interaction to Next Paint, Android vitals barely scratch the surface on responsiveness metrics.

Key Takeaways

Critical Insight

By treating screen response time as a core metric and systematically optimizing each phase (inflation, measure, layout, draw), OkCredit achieved a 40% reduction in frozen frames.

They built custom instrumentation libraries and even explored X2C to eliminate XML parsing entirely—plus a clever MVI trick that parallelizes ViewModel initialization.

Recent from OkCredit

Related Articles