Skip to content
This repository was archived by the owner on Jul 18, 2026. It is now read-only.

High CPU usage in release mode #2

Description

@Jon-Salmon

When an app that uses this plugin is running in release mode, the CPU usage is very high. My app usually runs with <1% CPU usage when idle. Adding this plugin raises it to ~10% CPU usage when idle and in the background. Oddly, this is not so noticable in other modes (including profile).

I suspect the issue is with how the isolate is used in device_monitor.dart, and I suspect that most of the logic in there could be replaced by using a plugin like this https://pub.dev/packages/device_manager (or using a similar implementation). Flutter exposes some Windows window notifications to the windows plugin system.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions