Skip to content

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

@olegus199

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

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