Skip to content

high cpu usage on posts page at infinite-loading-pull-to-refresh example #2

@hrotkogabor

Description

@hrotkogabor

I found a problem in the 002-infinite-loading-pull-to-refresh example:
When I click the "Show Posts" button, and get to the Posts page for the first time, the frames will be rendered continuously, we can check it with the performance overlay. With an emulator, I get 100% cpu load at that time.
When I scroll down to load more elements, the problem will go away.
When I go to the top, and use pull and refresh, the problem comes again.
I tried to analyze the problem with profiling, but could not find the problem.
I use flutter 1.20.3 and dart 2.9.2.

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