Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building Better Apps in Android using Performan...

Avatar for Tejshree Tejshree
March 10, 2018

Building Better Apps in Android using Performance Tooling

Focusing on the Proactive & Reactive Techniques to improve Apps performance in Android.
Topics discussed includes Android Profiler,APK analyzer,Android Vitals.

Avatar for Tejshree

Tejshree

March 10, 2018
Tweet

Other Decks in Technology

Transcript

  1. Users are Impatient • 61% - start < 4sec •

    49% - Respond < 2sec Intolerant of problems(Uninstalls) • 80% problematic app < 3 times • 53% crashes, freezes or errors • 36% heavy battery usage Blame the mobile app & the company • 55% App responsible • 37% Company’ brand Survey
  2. What is App’s Performance? • Use power sparingly. • Start

    up quickly. • Respond quickly to user interaction. • No choppy animations, & slow rendering • No App Freezing or Crashing
  3. Android Profiler Real time data for app's CPU, Memory, and

    Network activity. Sample-based method tracing helps us to • Time the code execution • Capture heap dumps • View memory allocations • Inspect network-transmitted files
  4. Techniques for Profiling Memory • Try forced memory leaks •

    Provoke memory leaks • Smaller the leak, the longer you need to run the app Trigger a memory leak in one of the following ways: • Rotate the device • Switch between your app & another app
  5. APK Debug & Analyzer • Insight into the composition of

    your APK after the build process • Reduce the time you spend debugging issues with DEX files and resources • Help reduce your APK size.
  6. Users are reaching for their mobile devices many times a

    day to use mobile apps. Make sure yours is one of them.