Skip to content

[engine] Stopwatch Visualizer checks refresh rate every frame. #137797

@jonahwilliams

Description

@jonahwilliams

on Android this method calls into Java to query the current frame rate, which is extremely slow and can end up causing the performance overlay to dominate the LayerTree::Paint/Preroll CPu profiles.

Instead of doing this, we should query and cache at some more limited frequency (once a second?) or use some notification based system so we're only told when it changes.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: performanceRelates to speed or footprint issues (see "perf:" labels)good first issueRelatively approachable for first-time contributorsteam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions