Skip to content

VSYNC trace event ending prematurely #115161

@kenzieschmoll

Description

@kenzieschmoll

The VSYNC end event is coming in out of order. Here is an example with (event name - phase - timestamp):

flutter: VSYNC - B - 667560813352
flutter: VsyncCallback - B - 667560813467
flutter: VsyncFireCallback - B - 667560813485
flutter: VsyncFireCallback - E - 667560813504
flutter: VsyncCallback - E - 667560813507
flutter: VsyncProcessCallback - B - 667560813527
flutter: Animator::BeginFrame - B - 667560813530
flutter: BUILD - B - 667560813669
flutter: SampleBlockBuffer::ProcessCompletedBlocks - X - 667560821603
flutter: SampleBlockBuffer::ProcessCompletedBlocks - X - 667560828633
flutter: VSYNC - E - 667560830019 ************************************** Problem event
flutter: SampleBlockBuffer::ProcessCompletedBlocks - X - 667560834417
flutter: SampleBlockBuffer::ProcessCompletedBlocks - X - 667560844473
flutter: SampleBlockBuffer::ProcessCompletedBlocks - X - 667560853355
flutter: SampleBlockBuffer::ProcessCompletedBlocks - X - 667560865931
flutter: BUILD - E - 667560866947

These are Synchronous events so the VSYNC event should not be finishing until all its children do. Are we missing an await somewhere?

@jonahwilliams @dnfield

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: devtoolsDevTools related - suite of performance and debugging toolsengineflutter/engine related. See also e: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions