[go: up one dir, main page]

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

add reflex perf mode #4388

Open
benedikt-bartscher opened this issue Nov 17, 2024 · 2 comments
Open

add reflex perf mode #4388

benedikt-bartscher opened this issue Nov 17, 2024 · 2 comments

Comments

@benedikt-bartscher
Copy link
Contributor

add rx.Config (perf_mode) or env variable (REFLEX_PERF_MODE). Value should be an enum with warn, raise and ignore. Default should be warn, to avoid breaking changes.

warn: Warn about possible performance implications
raise: raise Exception if performance issues are found
ignore: do nothing, disable checks completely

iirc reflex currently only checks for state sizes. I would love to add another check for always dirty substates (caused by uncached vars).

Copy link
linear bot commented Nov 17, 2024

@benedikt-bartscher
Copy link
Contributor Author

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

No branches or pull requests

1 participant