Skip to content

Release mode app is slow and simple button touch is sluggish #125

Open
@GHCRajan

Description

@GHCRajan

Hello,

First of all, sincere appreciation for your efforts with this flutter-pi renderer.
Out of the various renderers I have tried on my AM4372 GP EVM (ARMv7, 1GHz, PVR SGX GPU, 1GB RAM, 7" Display), this one worked like a charm.

Able to build and run apps in both DEBUG & RELEASE modes (locally created as well as particle_background, gallery etc).
For the past few days, I could not make progress in improving the application performance.

Default button application takes more than 1.3 seconds between touch event and display update with counter.
Added trace messages to flutter-pi and observe the following.
{
[event #1605890907099] count: 1, evt0: kind: 2, phase: 2
[event #1605890907137] count: 1, evt0: kind: 2, phase: 1
[present in #1605890908313] count: 1
[present out #1605890908319]
[present in #1605890908334] count: 1
[present out #1605890908340]
}

Touch and GPU appears to be instantaneous (glmark2_es2_wayland score around 50).
Where as flutter engine appears to be taking more time. (CPU load > 40% for simple touch).
Have tried various options (release engine from your repo, locally built one, forcing processor at 1GHz from userland than on demand, faster uSD card etc) without much improvement. Engine is built and running in release more. (No DEBUG ribbon on the GUI, binary size around 7MB etc). No errors in generating app.so / bundle.

Looking forward for your expert suggestion to analyze the problematic area and get this running smoothly.
Let me know if more details are needed.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions