gradle-profiler icon indicating copy to clipboard operation
gradle-profiler copied to clipboard

Allow `studio-install-dir` be defined inside a scenario file (via android-studio-sync)

Open ubiratansoares opened this issue 3 years ago • 0 comments
trafficstars

Hey! Thank you so much for Gradle Profiler, I have been using it a lot and I love this tool ♥️

I've faced an API limitation recently : when benchmarking sync times for Android Studio I'd like to define the AS install location directly in the scenario file using android-studio-sync inner block, eg

ide-sync {
    title = "Evaluate Android Studio Sync"
    android-studio-sync {
        studio-jvm-args = ["-Xms512m", "-Xmx3072m"]
        studio-install-dir = "path/to/studio"
    }

    warm-ups = X
    iterations = Y
}

However, as per the current implementation I can do that only via a CLI argument (unless I'm missing something!).

So I was wondering if this is a valid feature request. Happy to contribute with a PR if yes 🙂

ubiratansoares avatar Apr 26 '22 10:04 ubiratansoares