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.
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 ?
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](https://github.com/PablocFonseca/streamlit-aggrid/assets/45095238/204a19f7-03a3-4df9-bc23-e41ef40db74c)
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 ?