Flutter performance (CPU usage)

Hi everyone,

I’m seeing unexpectedly high CPU usage in Flutter even with very simple Rive animations.

For example, in an otherwise empty project, a trivial animation such as a small animated logo can use around 30% CPU on a MacBook with an M3 chip.

I’m using:

RiveWidget
riveFactory: Factory.rive

I see almost the same CPU usage when running the app as:

  • Flutter Web in Chrome

  • Flutter macOS desktop app

What is interesting is that adding a few more similarly simple animations on the same screen does not noticeably increase CPU usage. The CPU usage stays around the same level.

Even more surprisingly, creating several instances of the same animation and displaying them on screen can sometimes result in lower CPU usage than showing just a single instance.

My question is: how can I reduce CPU usage for a single simple animation, such as an animated logo?

For reference, I measure CPU usage like this:

  • Web: Chrome Task Manager, CPU usage for the specific tab

  • macOS: Activity Monitor, CPU usage for the selected process

Has anyone observed similar behavior or found a good way to optimize this?