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

Performance issue with the deepcopy and aggrid #284

Open
fmerciergh opened this issue Jun 27, 2024 · 1 comment
Open

Performance issue with the deepcopy and aggrid #284

fmerciergh opened this issue Jun 27, 2024 · 1 comment

Comments

@fmerciergh
Copy link

Hi,

I’m using aggrid with streamlit, and I’ve got a performance issue when tables contains a lot of rows (a few tens of thousands).

Streamlit make a deepcopy of all the content of each table at every run (lib/site-packages/streamlit/runtime/state/session_state.py), sometime it takes more than 10 secondes, making the app unusable.
Capture

I made some test by removing the deepcopy when the data is too big and it worked perfectly.

Is there an other option or do I really need to create my own version of streamlit ?

@fmerciergh
Copy link
Author

I'm using streamlit-aggrid version 0.3.3 because I need the manual update on tables 😋
with streamlit 1.34.0

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