Skip to content

500% increase CPU usage when app goes to background #9040

Closed

Description

@olegus199

Bevy version

0.10.1

[Optional] Relevant system information

iMac 27 late 2012, core i7, NVIDIA GeForce GTX 675MX 1GB, 24GB RAM, macOS Catalina 10.15.7

What you did

I noticed that Bevy consumes massive amount of CPU when going to background when I focus on the another window (VS code, for instance)
This is normal load of 59% of CPU. Bevy window is focused
Screenshot 2023-07-04 at 14 20 10
This is abnormal load of 284.8% of CPU. VS code is focused, Bevy on the background
Screenshot 2023-07-04 at 14 22 22

Activity

  1. added
    C-BugAn unexpected or incorrect behavior
    S-Needs-TriageThis issue needs to be labelled
    on Jul 4, 2023
  2. mockersf commented on Jul 4, 2023

    @mockersf
    Member

    duplicate of #8080 and #5856

  3. added
    A-WindowingPlatform-agnostic interface layer to run your app in
    O-MacOSSpecific to the MacOS (Apple) desktop operating system
    and removed
    S-Needs-TriageThis issue needs to be labelled
    on Jul 4, 2023
  4. added a commit that references this issue on Aug 3, 2023
    bbf1c23
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

    A-WindowingPlatform-agnostic interface layer to run your app inC-BugAn unexpected or incorrect behaviorO-MacOSSpecific to the MacOS (Apple) desktop operating system

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions