Skip to content

High idle CPU usage on Windows #182501

@bourdakos1

Description

@bourdakos1

Steps to reproduce

We are seeing some strange behavior especially on lower spec PCs where the flutter timer thread continues to wake up and fire for a long time after the app has been idle, sometimes it fires forever.

We are seeing 20-30% CPU usage while the app is idle, while we previously saw ~0%. The issue started somewhere between 1cfb17ff97635287d7ec689bc76e7fe4bb359a0a and a2d822d263d24a094d4bc37b5db920054a581232

Code sample

Code sample
[Paste your code here]

What target platforms are you seeing this bug on?

Windows

OS/Browser name and version | Device information

Asus intel Celeron processor_4GB Ram (Windows 10)

Does the problem occur on emulator/simulator as well as on physical devices?

Unknown

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[Paste your output here]

Metadata

Metadata

Assignees

Labels

from: performance templateIssues created via a performance issue templateplatform-windowsBuilding on or for Windows specificallyteam-windowsOwned by the Windows platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions