Skip to content

Strange Performance Issue, Possibly Related To Skia? #340

Open
@ghost

Description

Hi,
I am running the flutter engine in release (aot) mode with the wayland embedder backend on a proprietary armv7hf yocto platform and am experiencing a strange performance issue with the flutter create sample app where even though it's running in aot mode it's very unresponsive on startup but becomes perfectly responsive after the button has been pressed a large number of times (40-100). The only thing I've found in the flutter docs that might fit this behavior is skia compilation shader jank. I also ran the app on the debug mode flutter engine on the device to get tracing through the dart vm observatory and it seems to fit the description of skia shader compilation jank. Below I have attached a screen capture of the timeline.

dart-trace

For context, since flutter-elinux currently doesn't support armv7 I am performing aot cross-compilation manually via the manual cross-build instructions provided in the wiki with some adjustments to account for the platform. I have not yet managed to get flutter devtools running on the device. I would like to know if you have any ideas what might be causing this issue and how I could start going about making a fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    engineTopics of Flutter Engine and its artifactsperformanceTopics for performance issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions