Skip to content

Abnormal CPU and memory usage leads to low FPS #246

@erayerdin

Description

@erayerdin

I'm not quite sure if it is related to this crate, but wanted to open it up since my troubleshooting does not lead anywhere else. I'm coming from this discussion in official Bevy Github Discussions.

The discussion itself is self-explanatory. Basically, drawing 2562 outlined rectangles leads to abnormal CPU and memory usage even when the program is run on GPU. The only idea I've got is maybe, for some reason, the rectangles outside the viewport are not culled although this docs say (mind it's unofficial):

Every frame, after "visibility propagation", Bevy will check what entities can be seen by what view (camera or light), and store the outcome in these components.

If, upon investigation, it is not related to this project, feel free to close.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions