Hi Sadrul,
I recently started looking at perf impacts of the Canvas OOPR project. I’m seeing some regressions in jank_count. Khushal mentioned that you recently added the jank row in traces, but I am not seeing how this row corresponds to the uptick in jank_count. Both traces look to emit a jank event every other frame? I’m curious how this row works.
I was also hoping you could point me to some documentation for understanding perf investigation in chromium. Specifically somewhere I can see what each of these metrics/stories/trace rows represent.
Thanks!
Jonah Chin
Thanks for the resources Sadrul.
Here are the traces (for hw_accelerated_canvas_to_sw_canvas, exp_jank_count): BEFORE TRACE, AFTER TRACE.
They were taken from this pinpoint job.
+Nathan and Sushanth FYI.
Thanks,
Jonah
Hi Sadrul,
I have a few follow up questions for you. For reference, I’m looking at the linked AFTER trace at 15,831ms.
In FrameSequenceTracker, I’m seeing a frame that is noticeably longer than others (I see a few of these, which accounts for the increased jank in the pinpoint results).

The main thread does not look too busy. I followed the viz flow events to see what caused the frame to not be produced. Here is the GPU process:

It looks like the usual steps were taken. The VizCompositorThread receives the compositor frame, and eventually CrGpuMain hits NativeViewGLSurfaceEGL:RealSwapBuffers. Despite this, a new frame is not shown in the FrameSequenceTracker. Was a frame not produced here? Is there somewhere else I should be checking to see why the frame wasn’t produced?
Thanks for your help,
Jonah
Friendly ping - in case this got lost in the backlog.
Thanks,
Jonah
