Adds system performance monitoring in UI, warning during high load #255
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds some simple monitoring UI for end-users + alert when >80% memory/CPU. NOTE: Currently this is only behind the
isDev
flag, so it will not be in the built app; only in dev mode.This should make it easier to identify why Reflex starts to feel laggy, so you can see that when you have 5 screen sizes displayed all at full-height, you'll be able to see how your system's usage also increases into the yellow/red. Sometimes you may want to keep using it, even if laggy, so that you can see some specific thing across many screen sizes, so we won't prevent you from doing it, but we will offer a lifeboat if you want to turn back.