High CPU usage on Windows?

198 views
Skip to first unread message

emsaints

unread,
Jun 20, 2019, 11:19:40 PM6/20/19
to Desktop Embedding for Flutter
The FDE example app (https://github.com/google/flutter-desktop-embedding/tree/master/example) runs very well on macOS, taking only 3% CPU on idle.

However, on Windows 10 on a brand new machine, it's idling at just below 30% and keeps the fans running. Is this expected behavior?

Thanks and keep up the great work.

Francisco Magdaleno Arceo

unread,
Jun 24, 2019, 1:15:18 PM6/24/19
to Desktop Embedding for Flutter
Thanks for reporting. It is expected behavior for now, being tracked in https://github.com/flutter/flutter/issues/30730

emsaints

unread,
Jul 11, 2019, 3:16:06 AM7/11/19
to Desktop Embedding for Flutter
Thanks for the reply, Francisco.

I notice that the ticket has been closed some days ago. However, after pulling the latest commit on the FDE example project, it's still running at 25% and getting very hot.

Do we need to manually apply the patch that's mentioned in the ticket?

Stuart Morgan

unread,
Jul 11, 2019, 9:39:08 AM7/11/19
to emsaints, Desktop Embedding for Flutter
On Thu, Jul 11, 2019 at 12:16 AM emsaints <emil....@gmail.com> wrote:
However, after pulling the latest commit on the FDE example project, it's still running at 25% and getting very hot.

Please file a new bug; high CPU usage on idle is no longer expected behavior with the new message loop implementation, so this will need more investigation.

-Stuart 

emsaints

unread,
Jul 11, 2019, 1:42:32 PM7/11/19
to Desktop Embedding for Flutter
Thanks for the reply, Stuart.

Filed https://github.com/flutter/flutter/issues/35995.

emsaints

unread,
Sep 23, 2019, 6:30:43 PM9/23/19
to Desktop Embedding for Flutter
Happy to report that the high CPU issue on Windows now seems to be fixed. I'm now getting very low CPU on idle, identical to the level on macOS.

One minor thing I noticed is that a flutter package that I'm using now has stuttery animation, but it's smooth in macOS. This might be an issue with the package however.
Reply all
Reply to author
Forward
0 new messages