When Instant Run
is enabled, the full build will take up my 100% of my cpu. The macbook is lagging and almost unusable.
Build times:
Command line:
Total time: 1 mins 35.025 secs
Android Studio:
Total time: 4 mins 23.928 secs
If instant run is disabled, I get the same times as on the command line.
When profiling the full build I notices that app:transformClassesWithDexForDebug
takes up to 3 minutes.
Is there a way to improve the performance on a clean build with instant run enabled?
Macbook 10.11.5 / Core i7
Android Studio 2.1.1
Gradle tools 2.1.0
gradle.properties
org.gradle.daemon=true
org.gradle.parallel=true
org.gradle.jvmargs=-Xmx5120M