-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#47954Closed
Copy link
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: performanceRelates to speed or footprint issues (see "perf:" labels)Relates to speed or footprint issues (see "perf:" labels)good first issueRelatively approachable for first-time contributorsRelatively approachable for first-time contributorsteam-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Description
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.
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: performanceRelates to speed or footprint issues (see "perf:" labels)Relates to speed or footprint issues (see "perf:" labels)good first issueRelatively approachable for first-time contributorsRelatively approachable for first-time contributorsteam-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
