Я давно интересуюсь способами, позволяющими ускорить сборку приложения. В статье я покажу результаты моих исследований и несколько способов разогнать Gradle-сборку, проверенных мною. Материал будет полезен как новичкам, так и опытным разработчикам, поэтому устраивайтесь поудобнее.
#gradle #build #performance
https://habr.com/ru/companies/alfa/articles/876382/
Хабр
Детские ошибки при сборке Gradle-приложений
Всем привет! Меня зовут Никита Горбунов, я технический лидер Android. Сейчас я работаю над мобильным банком Альфы, поддерживаю его инфраструктуру и CI/CD-систему. Я много работаю с Gradle, и мне это...
👍5🔥4😁4
Команда Gradle подробно пишет про работу над фичей Configuration Cache
#android #gradle #build #performance
https://blog.gradle.org/road-to-configuration-cache
#android #gradle #build #performance
https://blog.gradle.org/road-to-configuration-cache
blog.gradle.org
State of the Configuration Cache - On the Road to Gradle 9
Introduction
👍6
Автор рассказывает почему в Dagger/Hilt аннотация @Binds эффективнее, чем @Provides
#kotlin #di #dagger #hilt #performance
https://medium.com/@m.rzna/why-binds-is-faster-than-provides-annotation-in-dagger-hilt-7d0f89af6542
#kotlin #di #dagger #hilt #performance
https://medium.com/@m.rzna/why-binds-is-faster-than-provides-annotation-in-dagger-hilt-7d0f89af6542
Medium
Why @Binds is faster than @Provides annotation in Dagger/Hilt?
I’ve seen Android projects heavily using Dagger/Hilt for Dependency Injection purposes, along with Kapt or nowadays, KSP to improve the…
👍13👎1
Как мы ускоряли Android-сборку «селлера»
#android #build #performance
https://habr.com/ru/companies/ozontech/articles/894364/
Вся работа по улучшению сборок, за исключением Build Cache, выполнялась в рамках техдолга и растянулась во времени примерно на месяц. Если говорить о результатах, то в относительных значениях мы получили ускорение на всех типах сборок ~19% относительно первоначального варианта.
#android #build #performance
https://habr.com/ru/companies/ozontech/articles/894364/
Хабр
Как мы ускоряли Android-сборку «селлера»
Всем привет! Меня зовут Женя, я руководитель отдела разработки «Аккаунт» в мобильном приложении для продавцов платформы Ozon Seller. Поделюсь нашим опытом работы над улучшением скорости сборки...
🔥3👍2
Сравнение TopLevel и Companion констант с точки зрения генерируемого кода
#kotlin #contstant #performance
https://proandroiddev.com/top-level-constants-vs-companion-enclosed-constants-using-kotlin-in-android-cbb067732428
#kotlin #contstant #performance
https://proandroiddev.com/top-level-constants-vs-companion-enclosed-constants-using-kotlin-in-android-cbb067732428
Medium
Kotlin Constants in Android: Top-level vs. Companion-enclosed
Does the choice between the two affect performance, APK size, or memory usage? Let’s break it down by diving into the bytecode.
👍11
Android Studio может помочь с миграцией на 16 KB page sizes
#androidstudio #performance
https://android-developers.googleblog.com/2025/07/transition-to-16-kb-page-sizes-android-apps-games-android-studio.html
Starting November 1st, 2025, all new apps and app updates that use native C/C++ code targeting Android 15+ devices submitted to Google Play must support 16 KB page sizes. This is a crucial step towards ensuring your app delivers the best possible performance on the latest Android hardware. Apps without native C/C++ code or dependencies, that just use the Kotlin and Java programming languages, are already compatible, but if you're using native code, now is the time to act.
#androidstudio #performance
https://android-developers.googleblog.com/2025/07/transition-to-16-kb-page-sizes-android-apps-games-android-studio.html
Android Developers Blog
Transition to using 16 KB page sizes for Android apps and games using Android Studio
Learn about Android's upcoming move to 16KB page sizes for performance gains, with tools in Android Studio to help app developers transition.
❤11
В последних версиях AGP были реализованы улучшения в алгоритме сокращения (shrinking) ресурсов приложения
Включить можно в gradle.properties:
Начиная с AGP 9.0.0 это будет включено по умолчанию
#agp #gradle #performance #build
https://android-developers.googleblog.com/2025/09/improve-app-performance-with-optimized-resource-shrinking.html
Включить можно в gradle.properties:
android.r8.optimizedResourceShrinking=true
Начиная с AGP 9.0.0 это будет включено по умолчанию
#agp #gradle #performance #build
https://android-developers.googleblog.com/2025/09/improve-app-performance-with-optimized-resource-shrinking.html
Android Developers Blog
Improve app performance with optimized resource shrinking
AGP 8.12.0 introduces optimized resource shrinking, an R8 feature that integrates resource and code optimization to create smaller, faster apps.
👍11❤1
Видео обзор wake lock метрик в Android Vitals
#android #performance #vitals
https://www.youtube.com/watch?v=-6mEvkLOlno
#android #performance #vitals
https://www.youtube.com/watch?v=-6mEvkLOlno
👍3🤔2
Метрика excessive partial wake locks вышла из беты и доступна всем разработчикам в Android Vitals
Эта метрика поможет снизить потребление батареи. Имеет смысл обратить на нее внимание, т.к. это будет влиять, например, на появление приложения в рекомендациях с 01.03.2026.
#performance #vital #battery #android
https://android-developers.googleblog.com/2025/11/raising-bar-on-battery-performance.html
Эта метрика поможет снизить потребление батареи. Имеет смысл обратить на нее внимание, т.к. это будет влиять, например, на появление приложения в рекомендациях с 01.03.2026.
#performance #vital #battery #android
https://android-developers.googleblog.com/2025/11/raising-bar-on-battery-performance.html
Android Developers Blog
Raising the bar on battery performance: excessive partial wake locks metric is now out of beta
News and insights on the Android platform, developer tools, and events.
👍6❤2🔥2
Руководство по производительности приложений, включающее в себя 5 уровней
Level 1: Use Play Console provided field monitoring
Level 2: Follow the App Performance Score action items
Level 3: Leverage local performance test frameworks
Level 4: Use trace analysis tools like Perfetto
Level 5: Build your own performance tracking framework
#android #performance
https://android-developers.googleblog.com/2025/11/leveling-guide-for-your-performance.html
Level 1: Use Play Console provided field monitoring
Level 2: Follow the App Performance Score action items
Level 3: Leverage local performance test frameworks
Level 4: Use trace analysis tools like Perfetto
Level 5: Build your own performance tracking framework
#android #performance
https://android-developers.googleblog.com/2025/11/leveling-guide-for-your-performance.html
Android Developers Blog
Leveling Guide for your Performance Journey
News and insights on the Android platform, developer tools, and events.
👍8