Fixed
Status Update
Comments
cc...@google.com <cc...@google.com>
du...@google.com <du...@google.com>
du...@google.com <du...@google.com> #2
The workaround I found so far is to use project.afterEvaluate {} to access the build types, as they are created only after Baseline Profile Gradle Plugin creates them:
Kotlin
android {
buildTypes {
release { ... }
project.afterEvaluate {
getByName("benchmarkRelease") { }
getByName("nonMinifiedRelease") { }
}
}
}
Groovy
android {
buildTypes {
release { ... }
project.afterEvaluate {
benchmarkRelease { }
nonMinifiedRelease { }
}
}
}
This way there are no redundant build variants created.
Description
- Are the clocks locked?
- Are we using sustained perf?
- Device name, OS version
etc.
Can also see googlebenchmark json output for reference (search for "context"):