Skip to content

Tune android system resource scheduler for performance measurement  #16

@ailzhang

Description

@ailzhang

While we developed Android AOT demo for v1.0 release we noticed an interesting (or confusing) behavior in our demo app. It runs super fast upon startup, and then slows down possibly due to Android "smart" resource management marking it as a non resource-intensive application and somehow limit how much resource is allocated to our app. A "simple" proof of concept we found is that the app runs dramatically faster if we swipe up from bottom of the screen to force entering the overview mode.

To demonstrate the speed difference described above, we run the app on a Redmi K40 where the speed gap is more visible. Please see the gifs listed below, notice the fps stabilized at 20fps at startup (the first gif) and jumped to 50fps and stabilized at 30fps in the end (the second).

Any insights or ideas about how to fix the speed gap are highly appreciated!
cc: @k-ye @turbo0628 @bobcao3

--
Team Android (v1.0 limited edition), Taichi Graphics

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions