27 апреля (понедельник) пройдет вебинар Android Advanced Topic #6 — Optimization от Android Academy Minsk.
ФОРМАТ — Вебинар. Трансляция доступна по ссылке.
Вебинар будет проходить на Youtube канале, подпишитесь, чтобы получить уведомление.
Регистрация на вебинар по ссылке.
There are two basic rules for writing efficient code:
- Don't do work that you don't need to do.
- Don't allocate memory if you can avoid it.
One of the trickiest problems you'll face when micro-optimizing an Android app is that your app is certain to be running on multiple types of hardware. Different versions of the VM running on different processors running at different speeds. It's not even generally the case that you can simply say "device X is a factor F faster/slower than device Y", and scale your results from one device to others. In particular, measurement on the emulator tells you very little about performance on any device. There are also huge differences between devices with and without a JIT: the best code for a device with a JIT is not always the best code for a device without.
To ensure your app performs well across a wide variety of devices, ensure your code is efficient at all levels and aggressively optimize your performance.
Together with you, we will learn:
Part 1: How to profile
- Diagnosing the problem
- Logger - best profiling tool
- CPU profiling
- GPU
- Memory
- Network profiling
- Battery profiler
- APK analyzer
- Kotlin bytecode
- Other
Part 2: Best practices
- UI
- Images
- APK Size
- Network optimizations
- Memory
- Data serialization formats
- Annotation Processor
- Battery optimizations
- Code optimizations
Спасибо нашим партнерам Fitbit и EPAM.