Bug P2
Status Update
Comments
zq...@gmail.com <zq...@gmail.com> #2
Thank you for reporting this issue. For us to further investigate this issue, please provide the following additional information:
Please provide sample project or apk to reproduce the issue. Also mention the steps to be followed for reproducing the issue with the given sample project or apk.
Expected output
What is the expected output?
Current output
What is the current output?
ra...@google.com <ra...@google.com>
zq...@gmail.com <zq...@gmail.com> #3
How can you possibly need more information, i just told you the exact part of code causing the issue, and the code changes required to fix it!
Please read the description.
Expected output:
What is the expected output?
See attached "expected.webm" video in OP
Current output
What is the current output?
See attached "actual.webm" video in OP
Please read the description.
Expected output:
What is the expected output?
See attached "expected.webm" video in OP
Current output
What is the current output?
See attached "actual.webm" video in OP
Description
benchmark-macro-junit4:1.2.0
device: google pixel7, Android 13
I got these errors below after run:
adb shell am instrument -e class com.baogong.benchmark.BaselineGenerator -w com.baogong.benchmark/androidx.test.runner.AndroidJUnitRunner
com.baogong.benchmark.BaselineGenerator:
Error in generateBaseline(com.baogong.benchmark.BaselineGenerator):
java.lang.RuntimeException: The save profile broadcast event was not received. This most likely means that the `androidx.profileinstaller` library used by the target apk is old. Please use `1.3.0-alpha01` or newer. For more information refer to the release notes at
at androidx.benchmark.macro.CompilationMode$Partial.compileImpl$benchmark_macro_release(CompilationMode.kt:342)
at androidx.benchmark.macro.BaselineProfilesKt.collect(BaselineProfiles.kt:81)
at androidx.benchmark.macro.junit4.BaselineProfileRule.collect(BaselineProfileRule.kt:136)
at androidx.benchmark.macro.junit4.BaselineProfileRule.collect$default(BaselineProfileRule.kt:126)
at androidx.benchmark.macro.junit4.BaselineProfileRule.collect(BaselineProfileRule.kt:0)
at com.baogong.benchmark.BaselineGenerator.generateBaseline(BaselineGenerator.java:24)