Check out Android Studio 2.0 (preview) Instant Run it is awesome!!!!
I have found some tips (Building and running app via Gradle and Android Studio is slower than via Eclipse) to speed up the compilation process of Android Studio (Gradle) but I still think it is way too slow. It takes about 15 seconds to compile the project and run on the device.
The gradle.properties is already set to:
The best to improve Gradle is configure this in your
org.gradle.daemon=true org.gradle.jvmargs=-Xmx3072m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 org.gradle.parallel=true org.gradle.configureondemand=true
With this configuration build time is often reduced from 2-3 minutes to 30 seconds or less. The most important part is the
Edit: Set 3 gigas of memory required by the new option included in Android Studio 2.2