Status Update
Comments
wu...@google.com <wu...@google.com>
ch...@google.com <ch...@google.com>
ch...@google.com <ch...@google.com> #2
Can you attach logcat and traces from iterations where the metric wasn't captured?
al...@google.com <al...@google.com> #3
al...@google.com <al...@google.com> #4
Thanks very much for the logs!
Are you sure you're using benchmark 1.2.3?
In startActivityAndWait
(see
On a newer version, the query results for this iteration look like they should work, I tried converting them to slices in the internal implementation of StartupTimingQuery:
listOf(
Slice("MetricsLogger:launchObserverNotifyIntentStarted",748393772361,29705),
Slice("launching: androidx.benchmark.integration.macrobenchmark.target",748404581583,881311671),
Slice("activityResume",748731008508,4916798),
Slice("Choreographer#doFrame",748764833776,519637337),
Slice("DrawFrame",748897201189,387112642),
Slice("Choreographer#doFrame",749285086939,89017),
Slice("Choreographer#doFrame",749305484396,730140),
Slice("DrawFrame",749305899852,121651546),
)
And received the following startup event:
SubMetrics(timeToInitialDisplayNs=879732248, timeToFullDisplayNs=null, timelineRangeNs=748404581583..749284313831)
So you should be good with new versions of macrobenchmark.
The other constraint we removed in that same fix was
04-01 11:54:55.097 6289 6311 I System.out: query result line "startActivityAndWait",748335793781,1096645119
04-01 11:54:55.097 6289 6311 I System.out: query result line "launching: <app_test_package>",748404581583,881311671
748335793781 + 1096645119
is greater than 748404581583
, so the launching:
event starts after the startActivityAndWait
slice from macrobenchmark. Not sure why that is without looking at a trace, but you could look to see if there's anything strange there (like startActivityAndWait
not waiting for the actual launch somehow, that would do it).
ch...@google.com <ch...@google.com> #5
wu...@google.com <wu...@google.com>
ap...@google.com <ap...@google.com> #6
Feel free to close this issue out. Thanks for all your help!
Description
The following lint check is baseline suppressed in your project. Please remove all instances of this suppression from
camera/camera-core/lint-baseline.xml
and address the associated issues before your next stable release.30 instance(s) of
SupportAnnotationUsage
The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/AndroidImageProxy.java
at line 101:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/CameraControl.java
at line 192:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/CameraSelector.java
at line 194:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/CameraState.java
at line 261:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/CameraState.java
at line 283:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/CameraState.java
at line 445:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/CameraXConfig.java
at line 74:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/CameraXConfig.java
at line 208:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/FocusMeteringAction.java
at line 159:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/ImageAnalysis.java
at line 677:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/ImageAnalysis.java
at line 725:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/ImageAnalysis.java
at line 752:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/ImageCapture.java
at line 1793:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/ImageCapture.java
at line 1810:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/ImageCapture.java
at line 1892:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/ImageCapture.java
at line 1963:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/ImageCapture.java
at line 2054:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/ImageCapture.java
at line 2077:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/ImageCapture.java
at line 2319:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/ImageCapture.java
at line 2508:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/ImageProxy.java
at line 89:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/Preview.java
at line 564:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/Preview.java
at line 654:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/impl/StateObservable.java
at line 185:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/SurfaceRequest.java
at line 479:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/SurfaceRequest.java
at line 504:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/SurfaceRequest.java
at line 658:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/UseCaseGroup.java
at line 69:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/VideoCapture.java
at line 1315:The API level is already known to be at least 21 here from outer annotations
Found in
src/main/java/androidx/camera/core/ViewPort.java
at line 204: