Assigned
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Saw this as well on Mokey running recent tot master build.
First benchmark only shows jit happening
Benchmark in the middle of the suite shows it
I verified during the run that the platform still considers the app compiled:
> adb shell dumpsys package dexopt | grep -A1 androidx.compose.ui.benchmark.test
[androidx.compose.ui.benchmark.test]
path: /data/app/~~E9h-5MtFh1GXjXCq3kQo8g==/androidx.compose.ui.benchmark.test-jOZKJEy6zBL_SpFBJqlisA==/base.apk
arm64: [status=speed] [reason=cmdline] [primary-abi]
[location is /data/app/~~E9h-5MtFh1GXjXCq3kQo8g==/androidx.compose.ui.benchmark.test-jOZKJEy6zBL_SpFBJqlisA==/oat/arm64/base.odex]
Disabling method tracing works around this issue, but we don't seem to see it
My guess is that when turning off method tracing, something fails to be cleaned up, and we don't get to keep using the odex/art files from the speed compilation.
Description
Sample trace (with additional tracing added):https://ui.perfetto.dev/#!/?s=74491e3973b46298acdc3fa388daff5a6923a713772b142acd15239d
1.7 seconds of this is
device.pressHome()