Status Update
Comments
ap...@gmail.com <ap...@gmail.com> #2
ch...@google.com <ch...@google.com> #3
It is generally quite tricky to run all of them locally and do diffs in between. Unless there are some partciular ones where you already know they might be failing :) So detecting later in CI is WAI.
However the command to run them is:
- lock your cpu clocks
./gradlew lockClocks
- run the benchmarks
./gradlew :compose:integration-tests:benchmark:connectedCheck
^- this will run them all which I would not recommend as it takes lot of time
./gradlew :compose:integration-tests:benchmark:connectedCheck -Pandroid.testInstrumentationRunnerArguments.class=<fully-qualified-class>
^- this will run only a specific class with benchmarks in it
And to get the result, typically just Android Studio -> logcat -> filter "Benchmark" keyword
an...@google.com <an...@google.com> #4
I would also recommend trying to repro the regression before and after the change. As we are not doing when filing the bugs, hoping we got it right :)
an...@google.com <an...@google.com>
an...@google.com <an...@google.com> #5
The regression for some tests is 30x. Please consider reverting.
Description
Version of Gradle Plugin: 4.2.0-alpha05
Version of Gradle: 6.5
Version of Java: 1.8
OS: Linux
Version of Compose: 0.1.0-dev14
The minified APK size increased to ~1.1 MB in dev13 it was ~600 KB before.
Steps to Reproduce:
1. clone git repo: git clone git@gitlab.com:compose1/compose-minimal-hello-world.git
2. compile the release APK (Key already included)
3. See that the APK size is about 600 KB
4. change compose_version to 0.1.0-dev14 in build.gradle file
5. compile the release APK
6. APK size is about 1.1 MB