Fixed
Status Update
Comments
cc...@google.com <cc...@google.com> #2
This is affecting CameraView as well.
ra...@google.com <ra...@google.com> #3
Bugjuggler: wait until next quarter
lo...@gmail.com <lo...@gmail.com> #4
Hi. I've received your bug and will wait until 2020-01-01 00:00 -0800 PST and then assign the bug to ericng@google.com.
ra...@google.com <ra...@google.com>
ra...@google.com <ra...@google.com> #5
Hello,
A fix has been applied for most cases in Alpha08 (Dec 18th release), however we are keeping this open for a more robust fix to come. Thanks.
A fix has been applied for most cases in Alpha08 (Dec 18th release), however we are keeping this open for a more robust fix to come. Thanks.
na...@google.com <na...@google.com> #7
Bugjuggler:
Description
Component used: Version used: Latest (1.3.0-alpha04) Devices/Android versions reproduced on: all devices
TL;DR
Macrobenchmark tests fails with
IllegalArgumentException: At least one result is necessary
when usingFrameTimingMetric
together with tooling that adds trace sections to the root of the main thread section stacks. See attached screenshot for an example of what that might look like.Details
FrameTimingQuery
(Unfortunately, this assumption is broken when 3rd party code inserts additional sections to the top of the main thread section stack.
For example, the papa library adds a top trace section to every running main thread section ( source ), leveraging the logged name provided through
Looper.getMainLooper().setMessageLogging()
(see screenshot for what that looks like).Side note 1: I'm aware that
Looper.getMainLooper().setMessageLogging()
wasn't exactly designed for this purpose, but having toString() details for all messages that run on the main thread is incredibly useful to help understand perfetto traces. Ideally there would be a dedicated API to help understand what runs on main.Side note2: if anyone using papa runs into this issue, you can disable the additional tracing with a boolean resource override for
R.bool.papa_trace_main_thread
. Unfortunately that will make your perfetto traces a lot less easy to investigate.