Users expect apps to be both responsive and fast, not only during app startup, but throughout the entire app experience. Once you've inspected what can cause performance problems in your app, you can start to improve any potential issues.
Tools and libraries
Android provides multiple tools and libraries to continually improve the performance of your app in production, where it matters the most.
Implementing Baseline Profiles into your application or library is the most efficient way to improve performance. It can significantly optimize app startup time, reduce slow rendering, and improve performance for end users. To learn more, visit Baseline Profiles.
App Startup Library
The App Startup Library allows you to further optimize the app startup experience. Both library developers and app developers can use the App Startup Library to streamline startup sequences and optimize startup operations.
Optimize for low-RAM devices
Performance improvements begin from the ground-up. By optimizing for entry-level devices, you can improve efficiency across all device categories. Users are more likely to encounter issues such as app startup latency, application not responding (ANRs), or app crashes when using memory-constrained devices. Develop, test, and benchmark your app with this market segment in mind to create a performant foundation for your app to build upon.
Android (Go edition) is a configuration of the Android platform OS, which provides an optimized experience for low-RAM devices. To learn more about improving stability and performance for entry-level devices, see Optimize for Android (Go edition).
Solving common problems
If the available tools or libraries aren't sufficient to resolve your potential performance issues, we recommend checking common problems and how to solve them in any of these categories: