Android परफॉर्मन्स ऑप्टिमाइजेशनमध्ये UI thread प्रतिक्रियाशील ठेवणे, कार्यक्षम memory वापर (leaks टाळणे), गुळगुळीत rendering, कार्यक्षम lists, आणि bottlenecks शोधण्यासाठी profiling समाविष्ट आहे. परफॉर्मन्स सरासरी user experience ला थेट प्रभावित करते आणि Android डिव्हाइसच्या विविध श्रेणीत महत्वाचे आहे.
UI (main) thread प्रतिक्रियाशील ठेवा
✓ NEVER block the main thread → do network/DB/heavy work OFF it (coroutines + Dispatchers.IO)
→ blocking causes jank or ANR ("App Not Responding") — a top issue
✓ Keep work in onCreate / onBind / on the main thread minimal and fast
