Last active
March 15, 2021 15:45
-
-
Save carstenhag/c191cae6988577750e8743b8c5fb2595 to your computer and use it in GitHub Desktop.
Profiling/Benchmarking scenarios to get started with the grade-profiler tool. See article at https://www.maibornwolff.de/en/blog/benchmarking-android-java-kotlin-builds-gradle-profiler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
incremental_resource_change { | |
tasks = ["assembleBrandRedEnvIntegrationDebug"] | |
warm-ups: 1 | |
iterations: 3 | |
apply-android-resource-change-to = ["app/src/main/res/values/strings.xml"] | |
} | |
incremental_layout_change { | |
tasks = ["assembleBrandRedEnvIntegrationDebug"] | |
warm-ups: 1 | |
iterations: 3 | |
apply-android-layout-change-to = ["app/src/main/res/layout/activity_charging.xml"] | |
} | |
incremental_code_change { | |
tasks = ["assembleBrandRedEnvIntegrationDebug"] | |
warm-ups: 1 | |
iterations: 3 | |
apply-abi-change-to = ["app/src/main/java/de/maibornwolff/sample/App.kt"] | |
apply-cpp-change-to = ["app/src/cpp/library.cpp"] | |
} | |
clean_build_default { | |
tasks = ["assembleBrandRedEnvIntegrationDebug"] | |
warm-ups: 1 | |
iterations: 3 | |
cleanup-tasks = ["clean"] | |
} | |
clean_build_4gb_ram { | |
tasks = ["assembleBrandRedEnvIntegrationDebug"] | |
warm-ups: 1 | |
iterations: 3 | |
cleanup-tasks = ["clean"] | |
jvm-args = ["-Xmx4g", "-XX:MaxMetaspaceSize=512m"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment