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

enable caching #11

Open
bertsky opened this issue Feb 24, 2021 · 1 comment
Open

enable caching #11

bertsky opened this issue Feb 24, 2021 · 1 comment

Comments

@bertsky
Copy link
Collaborator

bertsky commented Feb 24, 2021

I wonder if browsing can be speeded up by enabling @st.cache for inspector.visualize_image. I have tried with various options (allow_output_mutation=True, persist=True, even various hash_funcs= trying to avoid hashing certain types). But whatever I do, the server becomes extremely slow as soon as caching is activated.

@bertsky
Copy link
Collaborator Author

bertsky commented Feb 26, 2021

Along the same lines, adding multithreading to the Streamlit server could be worthwhile to improve performance. This seems to be quite an undertaking at the moment though, cf. comments here and here.

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