[Android] Determine if Android Performance Hint Manager is useful. #155097
Labels
P3
Issues that are less important to the Flutter project
team-engine
Owned by Engine team
triaged-engine
Triaged by Engine team
The android performance hint manager class (https://developer.android.com/ndk/reference/group/a-performance-hint ) allows us to configure various properties of our expected per-frame workloads to help the OS more accurlatly allocate resources (not sure what this means, assuming fast/slow core and/or throttling).
The way this API works is that we can, for each thread, create a sesssion and at the beginning set the target work duration - and at the end set the actual work duration.
in psuedocode:
However, we do not have accurate estimates of the target work duration because this work depends on completely arbitrary workloads created by SDK users. As a result we'd only ever be able to provide the actual work duration. But the OS already knows the actual work duration.
The text was updated successfully, but these errors were encountered: