Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abnormal CPU and memory usage leads to low FPS #246

Open
erayerdin opened this issue Apr 28, 2024 · 0 comments
Open

Abnormal CPU and memory usage leads to low FPS #246

erayerdin opened this issue Apr 28, 2024 · 0 comments

Comments

@erayerdin
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant