Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve App Performance and Startup Speed with Baseline Profiles and R8 #235

Closed
dymarow opened this issue Feb 1, 2025 · 1 comment
Closed

Comments

@dymarow
Copy link

dymarow commented Feb 1, 2025

Integrating Baseline Profiles and R8 into the app could lead to noticeable performance gains. Here’s why:

  • Baseline Profiles help pre-compile critical code paths, improving runtime performance.
  • R8 provides advanced code shrinking and optimization, reducing APK size and making the app faster and more efficient.

Other apps, such as Reddit, have seen remarkable improvements in performance and startup times after implementing these tools. I believe M3UAndroid could benefit greatly from similar optimizations, especially for users who rely on quick and smooth access to their IPTV streams.

Changes Proposed:
This pull request includes:

  1. A basic setup for Baseline Profiles to optimize critical user flows.
  2. Configuration for R8 to enable code shrinking and optimization.

Let me know if you'd like me to provide additional details or code snippets for the PR!

@oxyroid
Copy link
Owner

oxyroid commented Feb 1, 2025

M3UAndroid has already enabled the baseline-profile and r8.

@oxyroid oxyroid closed this as completed Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants